函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kernfs.h Create Date:2022-07-27 06:45:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:kernfs_create_file_ns

函数原型:static inline struct kernfs_node *kernfs_create_file_ns(struct kernfs_node *parent, const char *name, umode_t mode, kuid_t uid, kgid_t gid, loff_t size, const struct kernfs_ops *ops, void *priv, const void *ns)

返回类型:struct kernfs_node

参数:

类型参数名称
struct kernfs_node *parent
const char *name
umode_tmode
kuid_tuid
kgid_tgid
loff_tsize
const struct kernfs_ops *ops
void *priv
const void *ns
565  struct lock_class_key * key = NULL
568  key = (struct lock_class_key * ) & lockdep_key
570  返回:__kernfs_create_file(parent, name, mode, uid, gid, size, ops, priv, ns, key)
调用者
名称描述
kernfs_create_file