Home
last modified time | relevance | path

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

/fs/kernfs/
Ddir.c35 static bool kernfs_active(struct kernfs_node *kn) in kernfs_active()
41 static bool kernfs_lockdep(struct kernfs_node *kn) in kernfs_lockdep()
50 static int kernfs_name_locked(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name_locked()
134 struct kernfs_node *kn, *common; in kernfs_path_from_node_locked() local
191 int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name()
237 void pr_cont_kernfs_name(struct kernfs_node *kn) in pr_cont_kernfs_name()
255 void pr_cont_kernfs_path(struct kernfs_node *kn) in pr_cont_kernfs_path()
287 struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn) in kernfs_get_parent()
324 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare()
356 static int kernfs_link_sibling(struct kernfs_node *kn) in kernfs_link_sibling()
[all …]
Dinode.c33 static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, int alloc) in __kernfs_iattrs()
62 static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn) in kernfs_iattrs()
67 static struct kernfs_iattrs *kernfs_iattrs_noalloc(struct kernfs_node *kn) in kernfs_iattrs_noalloc()
72 int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in __kernfs_setattr()
103 int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in kernfs_setattr()
116 struct kernfs_node *kn = inode->i_private; in kernfs_iop_setattr() local
141 struct kernfs_node *kn = kernfs_dentry_node(dentry); in kernfs_iop_listxattr() local
168 static void kernfs_refresh_inode(struct kernfs_node *kn, struct inode *inode) in kernfs_refresh_inode()
188 struct kernfs_node *kn = inode->i_private; in kernfs_iop_getattr() local
198 static void kernfs_init_inode(struct kernfs_node *kn, struct inode *inode) in kernfs_init_inode()
[all …]
Dfile.c63 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops()
542 static int kernfs_get_open_node(struct kernfs_node *kn, in kernfs_get_open_node()
593 static void kernfs_put_open_node(struct kernfs_node *kn, in kernfs_put_open_node()
618 struct kernfs_node *kn = inode->i_private; in kernfs_fop_open() local
745 static void kernfs_release_file(struct kernfs_node *kn, in kernfs_release_file()
770 struct kernfs_node *kn = inode->i_private; in kernfs_fop_release() local
787 void kernfs_drain_open_files(struct kernfs_node *kn) in kernfs_drain_open_files()
836 struct kernfs_node *kn = kernfs_dentry_node(of->file->f_path.dentry); in kernfs_generic_poll() local
850 struct kernfs_node *kn = kernfs_dentry_node(filp->f_path.dentry); in kernfs_fop_poll() local
867 struct kernfs_node *kn; in kernfs_notify_workfn() local
[all …]
Dsymlink.c29 struct kernfs_node *kn; in kernfs_create_link() local
60 struct kernfs_node *base, *kn; in kernfs_get_target_path() local
114 struct kernfs_node *kn = inode->i_private; in kernfs_getlink() local
Dmount.c63 struct kernfs_node *kn; in kernfs_get_node_by_id() local
80 struct kernfs_node *kn; in kernfs_fh_get_inode() local
117 struct kernfs_node *kn = kernfs_dentry_node(child); in kernfs_get_parent_dentry() local
172 struct dentry *kernfs_node_dentry(struct kernfs_node *kn, in kernfs_node_dentry()
Dkernfs-internal.h42 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root()
/fs/sysfs/
Ddir.c42 struct kernfs_node *parent, *kn; in sysfs_create_dir_ns() local
82 struct kernfs_node *kn = kobj->sd; in sysfs_remove_dir() local
121 struct kernfs_node *kn = kobj->sd; in sysfs_move_dir_ns() local
137 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point() 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
397 struct kernfs_node *kn; in sysfs_chmod_file() local
428 struct kernfs_node *kn; in sysfs_break_active_protection() local
449 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection()
486 struct kernfs_node *kn; in sysfs_remove_file_self() local
Dsymlink.c24 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()
169 struct kernfs_node *parent, *kn = NULL; in sysfs_rename_link_ns() local
Dgroup.c110 struct kernfs_node *kn; in internal_create_group() local
273 struct kernfs_node *kn; in sysfs_remove_group() local