kernfs_root
void kernfs_destroy_root(struct kernfs_root *root)
struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root)
struct kernfs_root *root;
root = kernfs_root(kn);
struct kernfs_root *root;
root = kernfs_root(parent);
struct kernfs_syscall_ops *scops = kernfs_root(parent)->syscall_ops;
struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops;
lockdep_assert_held_write(&kernfs_root(root)->kernfs_rwsem);
kn_from = kernfs_root(kn_to)->kn;
lockdep_assert_held_write(&kernfs_root(kn)->kernfs_rwsem);
struct kernfs_root *root = kernfs_root(kn);
struct kernfs_root *root = kernfs_root(kn);
lockdep_assert_held_write(&kernfs_root(kn)->kernfs_rwsem);
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
struct kernfs_root *root;
root = kernfs_root(kn);
struct kernfs_root *root = kernfs_root(kn);
wait_queue_head_t *waitq = &kernfs_root(kn)->deactivate_waitq;
struct kernfs_root *root;
root = kernfs_root(parent);
struct kernfs_root *root;
root = kernfs_root(kn);
struct kernfs_root *root;
root = kernfs_root(parent);
struct kernfs_root *root;
root = kernfs_root(to);
struct kernfs_root *root;
root = kernfs_root(kn);
lockdep_assert_held(&kernfs_root(kn)->kernfs_rwsem);
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
down_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
up_write(&kernfs_root(kn)->kernfs_iattr_rwsem);
wake_up_all(&kernfs_root(kn)->deactivate_waitq);
__releases(&kernfs_root(kn)->kernfs_rwsem)
__acquires(&kernfs_root(kn)->kernfs_rwsem)
struct kernfs_root *root = kernfs_root(kn);
struct kernfs_root *root;
root = kernfs_root(kn);
static struct kernfs_node *__kernfs_new_node(struct kernfs_root *root,
struct kernfs_root *ra = kernfs_root(a), *rb = kernfs_root(b);
kn = __kernfs_new_node(kernfs_root(parent), parent,
struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
struct kernfs_root *root = kernfs_root(kn);
if (!(kernfs_root(kn)->flags & KERNFS_ROOT_CREATE_DEACTIVATED))
lockdep_assert_held(&kernfs_root(parent)->kernfs_rwsem);
lockdep_assert_held_read(&kernfs_root(parent)->kernfs_rwsem);
struct kernfs_root *root = kernfs_root(parent);
struct kernfs_root *root = kernfs_root(parent);
return kernfs_root(kn)->flags;
struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
struct kernfs_root *root;
struct kernfs_root *root = kernfs_root(kn);
struct kernfs_root *root;
root = kernfs_root(kn);
list_for_each_entry(info, &kernfs_root(kn)->supers, node) {
struct kernfs_root *root = kernfs_root(kn);
struct kernfs_root *root;
root = kernfs_root(kn);
struct kernfs_root *root = kernfs_root(kn);
struct kernfs_root *root;
root = kernfs_root(kn);
if (!(kernfs_root(kn)->flags & KERNFS_ROOT_SUPPORT_USER_XATTR))
return lockdep_is_held(&kernfs_root(kn)->kernfs_rwsem);
return lockdep_is_held(&kernfs_root(kn)->kernfs_rename_lock);
static inline struct kernfs_root *kernfs_root(const struct kernfs_node *kn)
struct kernfs_root *root;
struct kernfs_root *root = kernfs_root(kn);
struct kernfs_root *kernfs_root_from_sb(struct super_block *sb)
struct kernfs_root *root;
root = kernfs_root(kn);
struct kernfs_root *kf_root = kfc->root;
struct kernfs_root *root = kernfs_root(kernfs_dentry_node(dentry));
struct kernfs_root *root = kfc->root;
struct kernfs_root *root = kernfs_root(node);
struct kernfs_root *root = info->root;
struct kernfs_root *root = kernfs_root(kn);
static struct kernfs_root *rdt_root;
static int rdtgroup_show_options(struct seq_file *seq, struct kernfs_root *kf)
static struct kernfs_root *sysfs_root;
struct kernfs_root *kf_root;
struct kernfs_root *root;
int (*show_options)(struct seq_file *sf, struct kernfs_root *root);
struct kernfs_root *root);
struct kernfs_node *kernfs_root_to_node(struct kernfs_root *root);
struct kernfs_root *root; /* Root of the hierarchy being mounted */
struct kernfs_root *kernfs_root_from_sb(struct super_block *sb);
struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
void kernfs_destroy_root(struct kernfs_root *root);
struct kernfs_node *kernfs_find_and_get_node_by_id(struct kernfs_root *root,
static inline struct kernfs_root *kernfs_root_from_sb(struct super_block *sb)
static inline struct kernfs_root *
static inline void kernfs_destroy_root(struct kernfs_root *root) { }
struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root);
struct kernfs_root *kf_root);
struct kernfs_root *kf_root = kernfs_root_from_sb(fc->root->d_sb);
static int cgroup1_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
struct cgroup_root *cgroup_root_from_kf(struct kernfs_root *kf_root)
struct kernfs_root *kf_root)
static int cgroup_show_options(struct seq_file *seq, struct kernfs_root *kf_root)
struct kernfs_root *kf_root = kernfs_root_from_sb(sb);