Lines Matching refs:kobj
104 static ssize_t btrfs_super_attr_show(struct kobject *kobj, in btrfs_super_attr_show() argument
107 struct btrfs_fs_info *fs = container_of(kobj, struct btrfs_fs_info, in btrfs_super_attr_show()
116 static ssize_t btrfs_super_attr_store(struct kobject *kobj, in btrfs_super_attr_store() argument
120 struct btrfs_fs_info *fs = container_of(kobj, struct btrfs_fs_info, in btrfs_super_attr_store()
129 static ssize_t btrfs_root_attr_show(struct kobject *kobj, in btrfs_root_attr_show() argument
132 struct btrfs_root *root = container_of(kobj, struct btrfs_root, in btrfs_root_attr_show()
141 static ssize_t btrfs_root_attr_store(struct kobject *kobj, in btrfs_root_attr_store() argument
145 struct btrfs_root *root = container_of(kobj, struct btrfs_root, in btrfs_root_attr_store()
153 static void btrfs_super_release(struct kobject *kobj) in btrfs_super_release() argument
155 struct btrfs_fs_info *fs = container_of(kobj, struct btrfs_fs_info, in btrfs_super_release()
160 static void btrfs_root_release(struct kobject *kobj) in btrfs_root_release() argument
162 struct btrfs_root *root = container_of(kobj, struct btrfs_root, in btrfs_root_release()