Searched refs:kernfs_root (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/fs/kernfs/ |
D | dir.c | 41 lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem); in kernfs_active() 78 struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b); in kernfs_common_ancestor() 147 kn_from = kernfs_root(kn_to)->kn; in kernfs_path_from_node_locked() 460 wake_up_all(&kernfs_root(kn)->deactivate_waitq); in kernfs_put_active() 472 __releases(&kernfs_root(kn)->kernfs_rwsem) in kernfs_drain() 473 __acquires(&kernfs_root(kn)->kernfs_rwsem) in kernfs_drain() 475 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() 534 struct kernfs_root *root; in kernfs_put() 538 root = kernfs_root(kn); in kernfs_put() 594 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node() [all …]
|
D | mount.c | 27 struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry)); in kernfs_sop_show_options() 38 struct kernfs_root *root = kernfs_root(node); in kernfs_sop_show_path() 159 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() 240 struct kernfs_root *kf_root = kfc->root; in kernfs_fill_super() 339 struct kernfs_root *root = kfc->root; in kernfs_get_tree() 377 struct kernfs_root *root = info->root; in kernfs_kill_sb()
|
D | kernfs-internal.h | 34 struct kernfs_root { struct 63 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root() function 81 struct kernfs_root *root;
|
D | inode.c | 102 struct kernfs_root *root = kernfs_root(kn); in kernfs_setattr() 115 struct kernfs_root *root; in kernfs_iop_setattr() 121 root = kernfs_root(kn); in kernfs_iop_setattr() 190 struct kernfs_root *root = kernfs_root(kn); in kernfs_iop_getattr() 281 struct kernfs_root *root; in kernfs_iop_permission() 288 root = kernfs_root(kn); in kernfs_iop_permission() 407 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR)) in kernfs_vfs_user_xattr_set()
|
D | symlink.c | 116 struct kernfs_root *root = kernfs_root(parent); in kernfs_getlink()
|
D | file.c | 638 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open() 906 struct kernfs_root *root; in kernfs_notify_workfn() 919 root = kernfs_root(kn); in kernfs_notify_workfn() 923 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
|
/Linux-v6.1/include/linux/ |
D | kernfs.h | 162 struct kernfs_root *root; 236 int (*show_options)(struct seq_file *sf, struct kernfs_root *root); 244 struct kernfs_root *root); 247 struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root); 325 struct kernfs_root *root; /* Root of the hierarchy being mounted */ 408 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb); 413 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops, 415 void kernfs_destroy_root(struct kernfs_root *root); 460 struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root, 501 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() [all …]
|
D | cgroup-defs.h | 520 struct kernfs_root *kf_root;
|
/Linux-v6.1/kernel/cgroup/ |
D | cgroup-internal.h | 226 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root); 264 struct kernfs_root *kf_root);
|
D | cgroup-v1.c | 863 static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup1_show_options() 1073 struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb); in cgroup1_reconfigure()
|
D | cgroup.c | 1304 struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf() 1882 struct kernfs_root *kf_root) in cgroup_show_path() 1974 static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root) in cgroup_show_options() 2262 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
|
/Linux-v6.1/fs/sysfs/ |
D | mount.c | 23 static struct kernfs_root *sysfs_root;
|
/Linux-v6.1/arch/x86/kernel/cpu/resctrl/ |
D | rdtgroup.c | 38 static struct kernfs_root *rdt_root; 3224 static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf) in rdtgroup_show_options()
|