Lines Matching refs:kobject
55 struct kobject kobj;
98 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj);
99 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
100 static struct kobject *get_btrfs_kobj(struct kobject *kobj);
173 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show()
189 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store()
257 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
340 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show()
347 static ssize_t supported_checksums_show(struct kobject *kobj, in supported_checksums_show()
368 static ssize_t send_stream_version_show(struct kobject *kobj, in send_stream_version_show()
383 static ssize_t supported_rescue_options_show(struct kobject *kobj, in supported_rescue_options_show()
398 static ssize_t supported_sectorsizes_show(struct kobject *kobj, in supported_sectorsizes_show()
439 static ssize_t btrfs_discardable_bytes_show(struct kobject *kobj, in btrfs_discardable_bytes_show()
450 static ssize_t btrfs_discardable_extents_show(struct kobject *kobj, in btrfs_discardable_extents_show()
461 static ssize_t btrfs_discard_bitmap_bytes_show(struct kobject *kobj, in btrfs_discard_bitmap_bytes_show()
472 static ssize_t btrfs_discard_bytes_saved_show(struct kobject *kobj, in btrfs_discard_bytes_saved_show()
483 static ssize_t btrfs_discard_extent_bytes_show(struct kobject *kobj, in btrfs_discard_extent_bytes_show()
494 static ssize_t btrfs_discard_iops_limit_show(struct kobject *kobj, in btrfs_discard_iops_limit_show()
504 static ssize_t btrfs_discard_iops_limit_store(struct kobject *kobj, in btrfs_discard_iops_limit_store()
525 static ssize_t btrfs_discard_kbps_limit_show(struct kobject *kobj, in btrfs_discard_kbps_limit_show()
535 static ssize_t btrfs_discard_kbps_limit_store(struct kobject *kobj, in btrfs_discard_kbps_limit_store()
555 static ssize_t btrfs_discard_max_discard_size_show(struct kobject *kobj, in btrfs_discard_max_discard_size_show()
565 static ssize_t btrfs_discard_max_discard_size_store(struct kobject *kobj, in btrfs_discard_max_discard_size_store()
640 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show()
649 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show()
661 static ssize_t raid_bytes_show(struct kobject *kobj,
666 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show()
698 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj()
710 static ssize_t btrfs_space_info_show_##field(struct kobject *kobj, \
719 static ssize_t btrfs_chunk_size_show(struct kobject *kobj, in btrfs_chunk_size_show()
734 static ssize_t btrfs_chunk_size_store(struct kobject *kobj, in btrfs_chunk_size_store()
783 static ssize_t btrfs_force_chunk_alloc_store(struct kobject *kobj, in btrfs_force_chunk_alloc_store()
837 static ssize_t btrfs_sinfo_bg_reclaim_threshold_show(struct kobject *kobj, in btrfs_sinfo_bg_reclaim_threshold_show()
846 static ssize_t btrfs_sinfo_bg_reclaim_threshold_store(struct kobject *kobj, in btrfs_sinfo_bg_reclaim_threshold_store()
895 static void space_info_release(struct kobject *kobj) in space_info_release()
918 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show()
932 static ssize_t btrfs_label_store(struct kobject *kobj, in btrfs_label_store()
969 static ssize_t btrfs_nodesize_show(struct kobject *kobj, in btrfs_nodesize_show()
979 static ssize_t btrfs_sectorsize_show(struct kobject *kobj, in btrfs_sectorsize_show()
989 static ssize_t btrfs_commit_stats_show(struct kobject *kobj, in btrfs_commit_stats_show()
1005 static ssize_t btrfs_commit_stats_store(struct kobject *kobj, in btrfs_commit_stats_store()
1031 static ssize_t btrfs_clone_alignment_show(struct kobject *kobj, in btrfs_clone_alignment_show()
1041 static ssize_t quota_override_show(struct kobject *kobj, in quota_override_show()
1051 static ssize_t quota_override_store(struct kobject *kobj, in quota_override_store()
1081 static ssize_t btrfs_metadata_uuid_show(struct kobject *kobj, in btrfs_metadata_uuid_show()
1091 static ssize_t btrfs_checksum_show(struct kobject *kobj, in btrfs_checksum_show()
1104 static ssize_t btrfs_exclusive_operation_show(struct kobject *kobj, in btrfs_exclusive_operation_show()
1143 static ssize_t btrfs_generation_show(struct kobject *kobj, in btrfs_generation_show()
1154 static ssize_t btrfs_read_policy_show(struct kobject *kobj, in btrfs_read_policy_show()
1177 static ssize_t btrfs_read_policy_store(struct kobject *kobj, in btrfs_read_policy_store()
1200 static ssize_t btrfs_bg_reclaim_threshold_show(struct kobject *kobj, in btrfs_bg_reclaim_threshold_show()
1209 static ssize_t btrfs_bg_reclaim_threshold_store(struct kobject *kobj, in btrfs_bg_reclaim_threshold_store()
1252 static void btrfs_release_fsid_kobj(struct kobject *kobj) in btrfs_release_fsid_kobj()
1256 memset(&fs_devs->fsid_kobj, 0, sizeof(struct kobject)); in btrfs_release_fsid_kobj()
1265 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs()
1272 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj) in to_fs_info()
1279 static struct kobject *get_btrfs_kobj(struct kobject *kobj) in get_btrfs_kobj()
1398 struct kobject *fsid_kobj = &fs_info->fs_devices->fsid_kobj; in btrfs_sysfs_remove_mounted()
1575 struct kobject *kobj; in btrfs_sysfs_remove_space_info()
1627 struct kobject *devices_kobj; in btrfs_sysfs_remove_device()
1646 static ssize_t btrfs_devinfo_in_fs_metadata_show(struct kobject *kobj, in btrfs_devinfo_in_fs_metadata_show()
1660 static ssize_t btrfs_devinfo_missing_show(struct kobject *kobj, in btrfs_devinfo_missing_show()
1673 static ssize_t btrfs_devinfo_replace_target_show(struct kobject *kobj, in btrfs_devinfo_replace_target_show()
1687 static ssize_t btrfs_devinfo_scrub_speed_max_show(struct kobject *kobj, in btrfs_devinfo_scrub_speed_max_show()
1697 static ssize_t btrfs_devinfo_scrub_speed_max_store(struct kobject *kobj, in btrfs_devinfo_scrub_speed_max_store()
1713 static ssize_t btrfs_devinfo_writeable_show(struct kobject *kobj, in btrfs_devinfo_writeable_show()
1726 static ssize_t btrfs_devinfo_fsid_show(struct kobject *kobj, in btrfs_devinfo_fsid_show()
1736 static ssize_t btrfs_devinfo_error_stats_show(struct kobject *kobj, in btrfs_devinfo_error_stats_show()
1781 static void btrfs_release_devid_kobj(struct kobject *kobj) in btrfs_release_devid_kobj()
1786 memset(&device->devid_kobj, 0, sizeof(struct kobject)); in btrfs_release_devid_kobj()
1800 struct kobject *devices_kobj; in btrfs_sysfs_add_device()
1801 struct kobject *devinfo_kobj; in btrfs_sysfs_add_device()
1815 struct kobject *disk_kobj = bdev_kobj(device->bdev); in btrfs_sysfs_add_device()
1953 struct kobject *fsid_kobj = &fs_devs->fsid_kobj; in btrfs_sysfs_add_mounted()
2018 static ssize_t qgroup_enabled_show(struct kobject *qgroups_kobj, in qgroup_enabled_show()
2033 static ssize_t qgroup_inconsistent_show(struct kobject *qgroups_kobj, in qgroup_inconsistent_show()
2048 static ssize_t qgroup_drop_subtree_thres_show(struct kobject *qgroups_kobj, in qgroup_drop_subtree_thres_show()
2062 static ssize_t qgroup_drop_subtree_thres_store(struct kobject *qgroups_kobj, in qgroup_drop_subtree_thres_store()
2099 static void qgroups_release(struct kobject *kobj) in qgroups_release()
2110 static inline struct btrfs_fs_info *qgroup_kobj_to_fs_info(struct kobject *kobj) in qgroup_kobj_to_fs_info()
2116 static ssize_t btrfs_qgroup_show_##_member(struct kobject *qgroup_kobj, \
2128 static ssize_t btrfs_qgroup_rsv_show_##_name(struct kobject *qgroup_kobj, \
2167 static void qgroup_release(struct kobject *kobj) in qgroup_release()
2183 struct kobject *qgroups_kobj = fs_info->qgroups_kobj; in btrfs_sysfs_add_one_qgroup()
2223 struct kobject *fsid_kobj = &fs_info->fs_devices->fsid_kobj; in btrfs_sysfs_add_qgroups()
2235 fs_info->qgroups_kobj = kzalloc(sizeof(struct kobject), GFP_KERNEL); in btrfs_sysfs_add_qgroups()
2277 struct kobject *fsid_kobj; in btrfs_sysfs_feature_update()