函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_get_inode

函数原型:static struct inode *bpf_get_inode(struct super_block *sb, const struct inode *dir, umode_t mode)

返回类型:struct inode

参数:

类型参数名称
struct super_block *sb
const struct inode *dir
umode_tmode
88  : & == S_IFDIR
89  : & == S_IFREG
90  : & == S_IFLNK
91  退出
92  默认
93  返回:错误号
96  inode等于取新的索引节点
97  如果非inode则返回:错误号
100  Stat data, not accessed from path walking 等于get_next_ino()
101  i_atime等于rrent_time - Return FS time*@inode: inode.* Return the current time truncated to the time granularity supported by* the fs.* Note that inode and inode->sb cannot be NULL.* Otherwise, the function warns and returns time without truncation.
102  i_mtime等于i_atime
103  i_ctime等于i_atime
105  de_init_owner - Init uid,gid,mode for new inode according to posix standards*@inode: New inode*@dir: Directory inode*@mode: mode of the new inode
107  返回:inode
调用者
名称描述
bpf_mkdir
bpf_mkobj_ops
bpf_symlink