Searched refs:kernfs_root (Results 1 – 8 of 8) sorted by relevance
/linux-4.1.27/include/linux/ |
D | kernfs.h | 83 struct kernfs_root *root; 147 int (*remount_fs)(struct kernfs_root *root, int *flags, char *data); 148 int (*show_options)(struct seq_file *sf, struct kernfs_root *root); 157 struct kernfs_root { struct 280 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb); 282 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops, 284 void kernfs_destroy_root(struct kernfs_root *root); 314 struct kernfs_root *root, unsigned long magic, 317 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns); 355 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() [all …]
|
D | cgroup-defs.h | 280 struct kernfs_root *kf_root;
|
/linux-4.1.27/fs/kernfs/ |
D | mount.c | 24 struct kernfs_root *root = kernfs_info(sb)->root; in kernfs_sop_remount_fs() 34 struct kernfs_root *root = kernfs_root(dentry->d_fsdata); in kernfs_sop_show_options() 58 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() 147 struct kernfs_root *root, unsigned long magic, in kernfs_mount_ns() 226 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns) in kernfs_pin_sb()
|
D | kernfs-internal.h | 40 static inline struct kernfs_root *kernfs_root(struct kernfs_node *kn) in kernfs_root() function 58 struct kernfs_root *root;
|
D | dir.c | 321 struct kernfs_root *root = kernfs_root(kn); in kernfs_put_active() 347 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() 396 struct kernfs_root *root; in kernfs_put() 400 root = kernfs_root(kn); in kernfs_put() 506 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node() 556 kn = __kernfs_new_node(kernfs_root(parent), name, mode, flags); in kernfs_new_node() 623 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_CREATE_DEACTIVATED)) in kernfs_add_one() 707 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops, in kernfs_create_root() 710 struct kernfs_root *root; in kernfs_create_root() 749 void kernfs_destroy_root(struct kernfs_root *root) in kernfs_destroy_root() [all …]
|
D | file.c | 615 struct kernfs_root *root = kernfs_root(kn); in kernfs_fop_open() 836 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
|
/linux-4.1.27/fs/sysfs/ |
D | mount.c | 23 static struct kernfs_root *sysfs_root;
|
/linux-4.1.27/kernel/ |
D | cgroup.c | 851 static struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf() 1314 struct kernfs_root *kf_root) in cgroup_show_options() 1494 static int cgroup_remount(struct kernfs_root *kf_root, int *flags, char *data) in cgroup_remount() 1903 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
|