Lines Matching refs:kobject
35 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj);
36 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
93 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show()
109 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store()
174 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
236 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show()
245 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show()
257 static ssize_t raid_bytes_show(struct kobject *kobj,
262 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show()
288 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj()
300 static ssize_t btrfs_space_info_show_##field(struct kobject *kobj, \
309 static ssize_t btrfs_space_info_show_total_bytes_pinned(struct kobject *kobj, in btrfs_space_info_show_total_bytes_pinned()
341 static void space_info_release(struct kobject *kobj) in space_info_release()
360 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show()
368 static ssize_t btrfs_label_store(struct kobject *kobj, in btrfs_label_store()
402 static ssize_t btrfs_nodesize_show(struct kobject *kobj, in btrfs_nodesize_show()
412 static ssize_t btrfs_sectorsize_show(struct kobject *kobj, in btrfs_sectorsize_show()
422 static ssize_t btrfs_clone_alignment_show(struct kobject *kobj, in btrfs_clone_alignment_show()
440 static void btrfs_release_fsid_kobj(struct kobject *kobj) in btrfs_release_fsid_kobj()
444 memset(&fs_devs->fsid_kobj, 0, sizeof(struct kobject)); in btrfs_release_fsid_kobj()
453 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs()
460 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj) in to_fs_info()
644 struct kobject *disk_kobj; in btrfs_sysfs_rm_device_link()
694 struct kobject *disk_kobj; in btrfs_sysfs_add_device_link()
728 struct kobject *parent) in btrfs_sysfs_add_fsid()
743 struct kobject *fsid_kobj = &fs_devs->fsid_kobj; in btrfs_sysfs_add_mounted()