Searched defs:kn (Results 1 – 10 of 10) sorted by relevance
/fs/kernfs/ |
D | dir.c | 34 static bool __kernfs_active(struct kernfs_node *kn) in __kernfs_active() 39 static bool kernfs_active(struct kernfs_node *kn) in kernfs_active() 45 static bool kernfs_lockdep(struct kernfs_node *kn) in kernfs_lockdep() 54 static int kernfs_name_locked(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name_locked() 138 struct kernfs_node *kn, *common; in kernfs_path_from_node_locked() local 195 int kernfs_name(struct kernfs_node *kn, char *buf, size_t buflen) in kernfs_name() 241 void pr_cont_kernfs_name(struct kernfs_node *kn) in pr_cont_kernfs_name() 259 void pr_cont_kernfs_path(struct kernfs_node *kn) in pr_cont_kernfs_path() 291 struct kernfs_node *kernfs_get_parent(struct kernfs_node *kn) in kernfs_get_parent() 328 const void *ns, const struct kernfs_node *kn) in kernfs_name_compare() [all …]
|
D | inode.c | 27 static struct kernfs_iattrs *__kernfs_iattrs(struct kernfs_node *kn, int alloc) in __kernfs_iattrs() 58 static struct kernfs_iattrs *kernfs_iattrs(struct kernfs_node *kn) in kernfs_iattrs() 63 static struct kernfs_iattrs *kernfs_iattrs_noalloc(struct kernfs_node *kn) in kernfs_iattrs_noalloc() 68 int __kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in __kernfs_setattr() 99 int kernfs_setattr(struct kernfs_node *kn, const struct iattr *iattr) in kernfs_setattr() 114 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() 189 struct kernfs_node *kn = inode->i_private; in kernfs_iop_getattr() local 202 static void kernfs_init_inode(struct kernfs_node *kn, struct inode *inode) in kernfs_init_inode() [all …]
|
D | file.c | 43 static inline struct mutex *kernfs_open_file_mutex_ptr(struct kernfs_node *kn) in kernfs_open_file_mutex_ptr() 50 static inline struct mutex *kernfs_open_file_mutex_lock(struct kernfs_node *kn) in kernfs_open_file_mutex_lock() 87 kernfs_deref_open_node_locked(struct kernfs_node *kn) in kernfs_deref_open_node_locked() 102 static const struct kernfs_ops *kernfs_ops(struct kernfs_node *kn) in kernfs_ops() 557 static int kernfs_get_open_node(struct kernfs_node *kn, in kernfs_get_open_node() 601 static void kernfs_unlink_open_file(struct kernfs_node *kn, in kernfs_unlink_open_file() 637 struct kernfs_node *kn = inode->i_private; in kernfs_fop_open() local 764 static void kernfs_release_file(struct kernfs_node *kn, in kernfs_release_file() 790 struct kernfs_node *kn = inode->i_private; in kernfs_fop_release() local 809 bool kernfs_should_drain_open_files(struct kernfs_node *kn) in kernfs_should_drain_open_files() [all …]
|
D | symlink.c | 29 struct kernfs_node *kn; in kernfs_create_link() local 59 struct kernfs_node *base, *kn; in kernfs_get_target_path() local 113 struct kernfs_node *kn = inode->i_private; in kernfs_getlink() local
|
D | mount.c | 60 struct kernfs_node *kn = inode->i_private; in kernfs_encode_fh() local 77 struct kernfs_node *kn; in __kernfs_fh_to_dentry() local 140 struct kernfs_node *kn = kernfs_dentry_node(child); in kernfs_get_parent_dentry() local 196 struct dentry *kernfs_node_dentry(struct kernfs_node *kn, in kernfs_node_dentry()
|
D | kernfs-internal.h | 36 struct kernfs_node *kn; member 63 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root()
|
/fs/sysfs/ |
D | file.c | 26 static const struct sysfs_ops *sysfs_file_ops(struct kernfs_node *kn) in sysfs_file_ops() 182 struct kernfs_node *kn = kobj->sd, *tmp; in sysfs_notify() local 262 struct kernfs_node *kn; in sysfs_add_file_mode_ns() local 311 struct kernfs_node *kn; in sysfs_add_bin_file_mode_ns() local 416 struct kernfs_node *kn; in sysfs_chmod_file() local 447 struct kernfs_node *kn; in sysfs_break_active_protection() local 468 void sysfs_unbreak_active_protection(struct kernfs_node *kn) in sysfs_unbreak_active_protection() 505 struct kernfs_node *kn; in sysfs_remove_file_self() local 585 static int internal_change_owner(struct kernfs_node *kn, kuid_t kuid, in internal_change_owner() 613 struct kernfs_node *kn = NULL; in sysfs_link_change_owner() local [all …]
|
D | dir.c | 42 struct kernfs_node *parent, *kn; in sysfs_create_dir_ns() local 81 struct kernfs_node *kn = kobj->sd; in sysfs_remove_dir() local 120 struct kernfs_node *kn = kobj->sd; in sysfs_move_dir_ns() local 136 struct kernfs_node *kn, *parent = parent_kobj->sd; in sysfs_create_mount_point() local
|
D | symlink.c | 24 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
|
D | group.c | 110 struct kernfs_node *kn; in internal_create_group() local 273 struct kernfs_node *kn; in sysfs_remove_group() local 471 struct kernfs_node *kn; in sysfs_group_attrs_change_owner() local
|