Symbol: kernfs_root
fs/kernfs/dir.c
1005
return kernfs_root(kn)->flags;
fs/kernfs/dir.c
1017
struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
fs/kernfs/dir.c
1020
struct kernfs_root *root;
fs/kernfs/dir.c
1076
void kernfs_destroy_root(struct kernfs_root *root)
fs/kernfs/dir.c
1093
struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root)
fs/kernfs/dir.c
1175
struct kernfs_root *root;
fs/kernfs/dir.c
1216
root = kernfs_root(kn);
fs/kernfs/dir.c
1254
struct kernfs_root *root;
fs/kernfs/dir.c
1258
root = kernfs_root(parent);
fs/kernfs/dir.c
1296
struct kernfs_syscall_ops *scops = kernfs_root(parent)->syscall_ops;
fs/kernfs/dir.c
1314
struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
fs/kernfs/dir.c
1336
struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
fs/kernfs/dir.c
139
kn_from = kernfs_root(kn_to)->kn;
fs/kernfs/dir.c
1410
lockdep_assert_held_write(&kernfs_root(root)->kernfs_rwsem);
fs/kernfs/dir.c
1431
lockdep_assert_held_write(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/dir.c
1460
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
1485
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
1522
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
1545
lockdep_assert_held_read(&kernfs_root(kn)->kernfs_supers_rwsem);
fs/kernfs/dir.c
1546
lockdep_assert_held_write(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/dir.c
1558
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
1565
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
1589
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
1599
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
1615
struct kernfs_root *root;
fs/kernfs/dir.c
1620
root = kernfs_root(kn);
fs/kernfs/dir.c
1715
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
1736
wait_queue_head_t *waitq = &kernfs_root(kn)->deactivate_waitq;
fs/kernfs/dir.c
1782
struct kernfs_root *root;
fs/kernfs/dir.c
1790
root = kernfs_root(parent);
fs/kernfs/dir.c
1823
struct kernfs_root *root;
fs/kernfs/dir.c
1831
root = kernfs_root(kn);
fs/kernfs/dir.c
1975
struct kernfs_root *root;
fs/kernfs/dir.c
1981
root = kernfs_root(parent);
fs/kernfs/dir.c
225
struct kernfs_root *root;
fs/kernfs/dir.c
229
root = kernfs_root(to);
fs/kernfs/dir.c
298
struct kernfs_root *root;
fs/kernfs/dir.c
301
root = kernfs_root(kn);
fs/kernfs/dir.c
40
lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/dir.c
411
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
415
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
441
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
445
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
495
wake_up_all(&kernfs_root(kn)->deactivate_waitq);
fs/kernfs/dir.c
509
__releases(&kernfs_root(kn)->kernfs_rwsem)
fs/kernfs/dir.c
510
__acquires(&kernfs_root(kn)->kernfs_rwsem)
fs/kernfs/dir.c
512
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
588
struct kernfs_root *root;
fs/kernfs/dir.c
592
root = kernfs_root(kn);
fs/kernfs/dir.c
651
static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root,
fs/kernfs/dir.c
69
struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b);
fs/kernfs/dir.c
751
kn = __kernfs_new_node(kernfs_root(parent), parent,
fs/kernfs/dir.c
767
struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
fs/kernfs/dir.c
819
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
867
if (!(kernfs_root(kn)->flags & KERNFS_ROOT_CREATE_DEACTIVATED))
fs/kernfs/dir.c
894
lockdep_assert_held(&kernfs_root(parent)->kernfs_rwsem);
fs/kernfs/dir.c
926
lockdep_assert_held_read(&kernfs_root(parent)->kernfs_rwsem);
fs/kernfs/dir.c
966
struct kernfs_root *root = kernfs_root(parent);
fs/kernfs/dir.c
993
struct kernfs_root *root = kernfs_root(parent);
fs/kernfs/file.c
606
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/file.c
909
struct kernfs_root *root;
fs/kernfs/file.c
922
root = kernfs_root(kn);
fs/kernfs/file.c
927
list_for_each_entry(info, &kernfs_root(kn)->supers, node) {
fs/kernfs/inode.c
102
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/inode.c
115
struct kernfs_root *root;
fs/kernfs/inode.c
121
root = kernfs_root(kn);
fs/kernfs/inode.c
190
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/inode.c
279
struct kernfs_root *root;
fs/kernfs/inode.c
286
root = kernfs_root(kn);
fs/kernfs/inode.c
300
struct simple_xattr_cache *cache = &kernfs_root(kn)->xa_cache;
fs/kernfs/inode.c
313
struct simple_xattr_cache *cache = &kernfs_root(kn)->xa_cache;
fs/kernfs/inode.c
368
if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR))
fs/kernfs/inode.c
378
return simple_xattr_set_limited(&kernfs_root(kn)->xa_cache,
fs/kernfs/kernfs-internal.h
110
return lockdep_is_held(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/kernfs-internal.h
115
return lockdep_is_held(&kernfs_root(kn)->kernfs_rename_lock);
fs/kernfs/kernfs-internal.h
72
static inline struct kernfs_root *kernfs_root(const struct kernfs_node *kn)
fs/kernfs/kernfs-internal.h
93
struct kernfs_root *root;
fs/kernfs/mount.c
163
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/mount.c
183
struct kernfs_root *kernfs_root_from_sb(struct super_block *sb)
fs/kernfs/mount.c
227
struct kernfs_root *root;
fs/kernfs/mount.c
237
root = kernfs_root(kn);
fs/kernfs/mount.c
286
struct kernfs_root *kf_root = kfc->root;
fs/kernfs/mount.c
30
struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry));
fs/kernfs/mount.c
388
struct kernfs_root *root = kfc->root;
fs/kernfs/mount.c
41
struct kernfs_root *root = kernfs_root(node);
fs/kernfs/mount.c
430
struct kernfs_root *root = info->root;
fs/kernfs/symlink.c
117
struct kernfs_root *root = kernfs_root(kn);
fs/resctrl/rdtgroup.c
36
static struct kernfs_root *rdt_root;
fs/resctrl/rdtgroup.c
4260
static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf)
fs/sysfs/mount.c
23
static struct kernfs_root *sysfs_root;
include/linux/cgroup-defs.h
656
struct kernfs_root *kf_root;
include/linux/kernfs.h
171
struct kernfs_root *root;
include/linux/kernfs.h
247
int (*show_options)(struct seq_file *sf, struct kernfs_root *root);
include/linux/kernfs.h
255
struct kernfs_root *root);
include/linux/kernfs.h
258
struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root);
include/linux/kernfs.h
337
struct kernfs_root *root; /* Root of the hierarchy being mounted */
include/linux/kernfs.h
422
struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
include/linux/kernfs.h
427
struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
include/linux/kernfs.h
429
void kernfs_destroy_root(struct kernfs_root *root);
include/linux/kernfs.h
477
struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
include/linux/kernfs.h
518
static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb)
include/linux/kernfs.h
525
static inline struct kernfs_root *
include/linux/kernfs.h
530
static inline void kernfs_destroy_root(struct kernfs_root *root) { }
kernel/cgroup/cgroup-internal.h
221
struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
kernel/cgroup/cgroup-internal.h
262
struct kernfs_root *kf_root);
kernel/cgroup/cgroup-v1.c
1095
struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb);
kernel/cgroup/cgroup-v1.c
883
static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
kernel/cgroup/cgroup.c
1309
struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root)
kernel/cgroup/cgroup.c
1955
struct kernfs_root *kf_root)
kernel/cgroup/cgroup.c
2074
static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
kernel/cgroup/cgroup.c
2372
struct kernfs_root *kf_root = kernfs_root_from_sb(sb);