Home
last modified time | relevance | path

Searched defs:kn (Results 1 – 10 of 10) sorted by relevance

/fs/kernfs/
Ddir.c27 static bool kernfs_active(struct kernfs_node *kn) in kernfs_active()
33 static bool kernfs_lockdep(struct kernfs_node *kn) in kernfs_lockdep()
42 static int kernfs_name_locked(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name_locked()
121 struct kernfs_node *kn, *common; in kernfs_path_from_node_locked() local
171 int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name()
217 void pr_cont_kernfs_name(struct kernfs_node *kn) in pr_cont_kernfs_name()
235 void pr_cont_kernfs_path(struct kernfs_node *kn) in pr_cont_kernfs_path()
267 struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn) in kernfs_get_parent()
304 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare()
336 static int kernfs_link_sibling(struct kernfs_node *kn) in kernfs_link_sibling()
[all …]
Dinode.c34 static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn) in kernfs_iattrs()
66 static int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in __kernfs_setattr()
102 int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in kernfs_setattr()
115 struct kernfs_node *kn = dentry->d_fsdata; in kernfs_iop_setattr() local
157 struct kernfs_node *kn = dentry->d_fsdata; in kernfs_iop_listxattr() local
184 static void kernfs_refresh_inode(struct kernfs_node *kn, struct inode *inode) in kernfs_refresh_inode()
206 struct kernfs_node *kn = dentry->d_fsdata; in kernfs_iop_getattr() local
217 static void kernfs_init_inode(struct kernfs_node *kn, struct inode *inode) in kernfs_init_inode()
264 struct inode *kernfs_get_inode(struct super_block *sb, struct kernfs_node *kn) in kernfs_get_inode()
284 struct kernfs_node *kn = inode->i_private; in kernfs_evict_inode() local
[all …]
Dfile.c64 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops()
544 static int kernfs_get_open_node(struct kernfs_node *kn, in kernfs_get_open_node()
595 static void kernfs_put_open_node(struct kernfs_node *kn, in kernfs_put_open_node()
620 struct kernfs_node *kn = file->f_path.dentry->d_fsdata; in kernfs_fop_open() local
738 struct kernfs_node *kn = filp->f_path.dentry->d_fsdata; in kernfs_fop_release() local
749 void kernfs_unmap_bin_file(struct kernfs_node *kn) in kernfs_unmap_bin_file()
792 struct kernfs_node *kn = filp->f_path.dentry->d_fsdata; in kernfs_fop_poll() local
813 struct kernfs_node *kn; in kernfs_notify_workfn() local
887 void kernfs_notify(struct kernfs_node *kn) in kernfs_notify()
937 struct kernfs_node *kn; in __kernfs_create_file() local
Dsymlink.c29 struct kernfs_node *kn; in kernfs_create_link() local
52 struct kernfs_node *base, *kn; in kernfs_get_target_path() local
103 struct kernfs_node *kn = dentry->d_fsdata; in kernfs_getlink() local
Dkernfs-internal.h40 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root()
Dmount.c111 struct dentry *kernfs_node_dentry(struct kernfs_node *kn, in kernfs_node_dentry()
/fs/sysfs/
Ddir.c43 struct kernfs_node *parent, *kn; in sysfs_create_dir_ns() local
77 struct kernfs_node *kn = kobj->sd; in sysfs_remove_dir() local
116 struct kernfs_node *kn = kobj->sd; in sysfs_move_dir_ns() local
132 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point() local
Dsymlink.c25 struct kernfs_node *kn, *target = NULL; in sysfs_do_create_link_sd() local
61 int sysfs_create_link_sd(struct kernfs_node *kn, struct kobject *target, in sysfs_create_link_sd()
168 struct kernfs_node *parent, *kn = NULL; in sysfs_rename_link_ns() local
Dfile.c28 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops()
177 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify() local
254 struct kernfs_node *kn; in sysfs_add_file_mode_ns() local
392 struct kernfs_node *kn; in sysfs_chmod_file() local
437 struct kernfs_node *kn; in sysfs_remove_file_self() local
Dgroup.c110 struct kernfs_node *kn; in internal_create_group() local
230 struct kernfs_node *kn; in sysfs_remove_group() local