Searched refs:kernfs_root (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/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 281 struct kernfs_root *kernfs_root_from_sb(struct super_block *sb); 284 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops, 286 void kernfs_destroy_root(struct kernfs_root *root); 316 struct kernfs_root *root, unsigned long magic, 319 struct super_block *kernfs_pin_sb(struct kernfs_root *root, const void *ns); 360 static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb) in kernfs_root_from_sb() [all …]
|
D | cgroup-defs.h | 305 struct kernfs_root *kf_root;
|
/linux-4.4.14/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 | 344 struct kernfs_root *root = kernfs_root(kn); in kernfs_put_active() 370 struct kernfs_root *root = kernfs_root(kn); in kernfs_drain() 419 struct kernfs_root *root; in kernfs_put() 423 root = kernfs_root(kn); in kernfs_put() 529 static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root, in __kernfs_new_node() 579 kn = __kernfs_new_node(kernfs_root(parent), name, mode, flags); in kernfs_new_node() 646 if (!(kernfs_root(kn)->flags & KERNFS_ROOT_CREATE_DEACTIVATED)) in kernfs_add_one() 730 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops, in kernfs_create_root() 733 struct kernfs_root *root; in kernfs_create_root() 772 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() 835 list_for_each_entry(info, &kernfs_root(kn)->supers, node) { in kernfs_notify_workfn()
|
/linux-4.4.14/fs/sysfs/ |
D | mount.c | 23 static struct kernfs_root *sysfs_root;
|
/linux-4.4.14/kernel/ |
D | cgroup.c | 1080 static struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root) in cgroup_root_from_kf() 1580 struct kernfs_root *kf_root) in cgroup_show_options() 1761 static int cgroup_remount(struct kernfs_root *kf_root, int *flags, char *data) in cgroup_remount() 2169 struct kernfs_root *kf_root = kernfs_root_from_sb(sb); in cgroup_kill_sb()
|