Symbol: kernfs_root
fs/kernfs/dir.c
1045
void kernfs_destroy_root(struct kernfs_root *root)
fs/kernfs/dir.c
1062
struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root)
fs/kernfs/dir.c
1143
struct kernfs_root *root;
fs/kernfs/dir.c
1184
root = kernfs_root(kn);
fs/kernfs/dir.c
1222
struct kernfs_root *root;
fs/kernfs/dir.c
1226
root = kernfs_root(parent);
fs/kernfs/dir.c
1264
struct kernfs_syscall_ops *scops = kernfs_root(parent)->syscall_ops;
fs/kernfs/dir.c
1282
struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
fs/kernfs/dir.c
1304
struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
fs/kernfs/dir.c
1378
lockdep_assert_held_write(&kernfs_root(root)->kernfs_rwsem);
fs/kernfs/dir.c
138
kn_from = kernfs_root(kn_to)->kn;
fs/kernfs/dir.c
1399
lockdep_assert_held_write(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/dir.c
1428
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
1453
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
1482
lockdep_assert_held_write(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/dir.c
1524
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
1531
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
1547
struct kernfs_root *root;
fs/kernfs/dir.c
1552
root = kernfs_root(kn);
fs/kernfs/dir.c
1645
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
1665
wait_queue_head_t *waitq = &kernfs_root(kn)->deactivate_waitq;
fs/kernfs/dir.c
1708
struct kernfs_root *root;
fs/kernfs/dir.c
1716
root = kernfs_root(parent);
fs/kernfs/dir.c
1747
struct kernfs_root *root;
fs/kernfs/dir.c
1755
root = kernfs_root(kn);
fs/kernfs/dir.c
1891
struct kernfs_root *root;
fs/kernfs/dir.c
1897
root = kernfs_root(parent);
fs/kernfs/dir.c
224
struct kernfs_root *root;
fs/kernfs/dir.c
228
root = kernfs_root(to);
fs/kernfs/dir.c
297
struct kernfs_root *root;
fs/kernfs/dir.c
300
root = kernfs_root(kn);
fs/kernfs/dir.c
39
lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/dir.c
394
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
398
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
424
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
428
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
fs/kernfs/dir.c
478
wake_up_all(&kernfs_root(kn)->deactivate_waitq);
fs/kernfs/dir.c
490
__releases(&kernfs_root(kn)->kernfs_rwsem)
fs/kernfs/dir.c
491
__acquires(&kernfs_root(kn)->kernfs_rwsem)
fs/kernfs/dir.c
493
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
567
struct kernfs_root *root;
fs/kernfs/dir.c
571
root = kernfs_root(kn);
fs/kernfs/dir.c
623
static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root,
fs/kernfs/dir.c
68
struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b);
fs/kernfs/dir.c
718
kn = __kernfs_new_node(kernfs_root(parent), parent,
fs/kernfs/dir.c
738
struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
fs/kernfs/dir.c
790
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/dir.c
838
if (!(kernfs_root(kn)->flags & KERNFS_ROOT_CREATE_DEACTIVATED))
fs/kernfs/dir.c
865
lockdep_assert_held(&kernfs_root(parent)->kernfs_rwsem);
fs/kernfs/dir.c
897
lockdep_assert_held_read(&kernfs_root(parent)->kernfs_rwsem);
fs/kernfs/dir.c
936
struct kernfs_root *root = kernfs_root(parent);
fs/kernfs/dir.c
962
struct kernfs_root *root = kernfs_root(parent);
fs/kernfs/dir.c
974
return kernfs_root(kn)->flags;
fs/kernfs/dir.c
986
struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
fs/kernfs/dir.c
989
struct kernfs_root *root;
fs/kernfs/file.c
613
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/file.c
916
struct kernfs_root *root;
fs/kernfs/file.c
929
root = kernfs_root(kn);
fs/kernfs/file.c
934
list_for_each_entry(info, &kernfs_root(kn)->supers, node) {
fs/kernfs/inode.c
103
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/inode.c
116
struct kernfs_root *root;
fs/kernfs/inode.c
122
root = kernfs_root(kn);
fs/kernfs/inode.c
191
struct kernfs_root *root = kernfs_root(kn);
fs/kernfs/inode.c
280
struct kernfs_root *root;
fs/kernfs/inode.c
287
root = kernfs_root(kn);
fs/kernfs/inode.c
420
if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR))
fs/kernfs/kernfs-internal.h
109
return lockdep_is_held(&kernfs_root(kn)->kernfs_rwsem);
fs/kernfs/kernfs-internal.h
114
return lockdep_is_held(&kernfs_root(kn)->kernfs_rename_lock);
fs/kernfs/kernfs-internal.h
71
static inline struct kernfs_root *kernfs_root(const struct kernfs_node *kn)
fs/kernfs/kernfs-internal.h
92
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
4226
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
647
struct kernfs_root *kf_root;
include/linux/kernfs.h
167
struct kernfs_root *root;
include/linux/kernfs.h
243
int (*show_options)(struct seq_file *sf, struct kernfs_root *root);
include/linux/kernfs.h
251
struct kernfs_root *root);
include/linux/kernfs.h
254
struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root);
include/linux/kernfs.h
333
struct kernfs_root *root; /* Root of the hierarchy being mounted */
include/linux/kernfs.h
416
struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
include/linux/kernfs.h
421
struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
include/linux/kernfs.h
423
void kernfs_destroy_root(struct kernfs_root *root);
include/linux/kernfs.h
469
struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
include/linux/kernfs.h
510
static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb)
include/linux/kernfs.h
517
static inline struct kernfs_root *
include/linux/kernfs.h
522
static inline void kernfs_destroy_root(struct kernfs_root *root) { }
kernel/cgroup/cgroup-internal.h
227
struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
kernel/cgroup/cgroup-internal.h
268
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
1324
struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root)
kernel/cgroup/cgroup.c
1959
struct kernfs_root *kf_root)
kernel/cgroup/cgroup.c
2078
static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
kernel/cgroup/cgroup.c
2377
struct kernfs_root *kf_root = kernfs_root_from_sb(sb);