Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kernfs.h Create Date:2022-07-28 05:44:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kernfs_create_file_ns

Proto: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)

Type:struct kernfs_node

Parameter:

TypeParameterName
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  Return __kernfs_create_file(parent, name, mode, uid, gid, size, ops, priv, ns, key)