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

Proto:static inline struct kernfs_node *kernfs_create_file(struct kernfs_node *parent, const char *name, umode_t mode, loff_t size, const struct kernfs_ops *ops, void *priv)

Type:struct kernfs_node

Parameter:

TypeParameterName
struct kernfs_node *parent
const char *name
umode_tmode
loff_tsize
const struct kernfs_ops *ops
void *priv
578  Return kernfs_create_file_ns(parent, name, mode, GLOBAL_ROOT_UID, GLOBAL_ROOT_GID, size, ops, priv, NULL)