函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\cgroup.c Create Date:2022-07-27 14:46:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sysctl_cpy_dir

函数原型:static ssize_t sysctl_cpy_dir(const struct ctl_dir *dir, char **bufp, size_t *lenp)

返回类型:ssize_t

参数:

类型参数名称
const struct ctl_dir *dir
char **bufp
size_t *lenp
1145  tmp_ret等于0
1147  如果parent
1148  tmp_ret等于sysctl_cpy_dir(parent, bufp, lenp)
1149  如果tmp_ret小于0则返回:tmp_ret
1153  ret等于strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
1154  如果ret小于0则返回:ret
1156  bufp加等于ret
1157  lenp减等于ret
1158  ret加等于tmp_ret
1161  如果非ret则返回:ret
1164  tmp_ret等于strscpy - Copy a C-string into a sized buffer*@dest: Where to copy the string to*@src: Where to copy the string from*@count: Size of destination buffer* Copy the string, or as much of it as fits, into the dest buffer. The
1165  如果tmp_ret小于0则返回:tmp_ret
1167  bufp加等于tmp_ret
1168  lenp减等于tmp_ret
1170  返回:rettmp_ret
调用者
名称描述
sysctl_cpy_dir
____bpf_sysctl_get_name