Lines Matching refs:kobject

54 	struct kobject kobj;
93 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj);
94 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj);
167 static ssize_t btrfs_feature_attr_show(struct kobject *kobj, in btrfs_feature_attr_show()
183 static ssize_t btrfs_feature_attr_store(struct kobject *kobj, in btrfs_feature_attr_store()
251 static umode_t btrfs_feature_visible(struct kobject *kobj, in btrfs_feature_visible()
330 static ssize_t rmdir_subvol_show(struct kobject *kobj, in rmdir_subvol_show()
337 static ssize_t supported_checksums_show(struct kobject *kobj, in supported_checksums_show()
358 static ssize_t send_stream_version_show(struct kobject *kobj, in send_stream_version_show()
373 static ssize_t supported_rescue_options_show(struct kobject *kobj, in supported_rescue_options_show()
389 static ssize_t supported_sectorsizes_show(struct kobject *kobj, in supported_sectorsizes_show()
434 static ssize_t btrfs_discardable_bytes_show(struct kobject *kobj, in btrfs_discardable_bytes_show()
445 static ssize_t btrfs_discardable_extents_show(struct kobject *kobj, in btrfs_discardable_extents_show()
456 static ssize_t btrfs_discard_bitmap_bytes_show(struct kobject *kobj, in btrfs_discard_bitmap_bytes_show()
467 static ssize_t btrfs_discard_bytes_saved_show(struct kobject *kobj, in btrfs_discard_bytes_saved_show()
478 static ssize_t btrfs_discard_extent_bytes_show(struct kobject *kobj, in btrfs_discard_extent_bytes_show()
489 static ssize_t btrfs_discard_iops_limit_show(struct kobject *kobj, in btrfs_discard_iops_limit_show()
499 static ssize_t btrfs_discard_iops_limit_store(struct kobject *kobj, in btrfs_discard_iops_limit_store()
520 static ssize_t btrfs_discard_kbps_limit_show(struct kobject *kobj, in btrfs_discard_kbps_limit_show()
530 static ssize_t btrfs_discard_kbps_limit_store(struct kobject *kobj, in btrfs_discard_kbps_limit_store()
550 static ssize_t btrfs_discard_max_discard_size_show(struct kobject *kobj, in btrfs_discard_max_discard_size_show()
560 static ssize_t btrfs_discard_max_discard_size_store(struct kobject *kobj, in btrfs_discard_max_discard_size_store()
633 static ssize_t global_rsv_size_show(struct kobject *kobj, in global_rsv_size_show()
642 static ssize_t global_rsv_reserved_show(struct kobject *kobj, in global_rsv_reserved_show()
654 static ssize_t raid_bytes_show(struct kobject *kobj,
659 static ssize_t raid_bytes_show(struct kobject *kobj, in raid_bytes_show()
691 static void release_raid_kobj(struct kobject *kobj) in release_raid_kobj()
703 static ssize_t btrfs_space_info_show_##field(struct kobject *kobj, \
743 static void space_info_release(struct kobject *kobj) in space_info_release()
766 static ssize_t btrfs_label_show(struct kobject *kobj, in btrfs_label_show()
780 static ssize_t btrfs_label_store(struct kobject *kobj, in btrfs_label_store()
817 static ssize_t btrfs_nodesize_show(struct kobject *kobj, in btrfs_nodesize_show()
827 static ssize_t btrfs_sectorsize_show(struct kobject *kobj, in btrfs_sectorsize_show()
838 static ssize_t btrfs_clone_alignment_show(struct kobject *kobj, in btrfs_clone_alignment_show()
848 static ssize_t quota_override_show(struct kobject *kobj, in quota_override_show()
858 static ssize_t quota_override_store(struct kobject *kobj, in quota_override_store()
888 static ssize_t btrfs_metadata_uuid_show(struct kobject *kobj, in btrfs_metadata_uuid_show()
899 static ssize_t btrfs_checksum_show(struct kobject *kobj, in btrfs_checksum_show()
912 static ssize_t btrfs_exclusive_operation_show(struct kobject *kobj, in btrfs_exclusive_operation_show()
948 static ssize_t btrfs_generation_show(struct kobject *kobj, in btrfs_generation_show()
978 static ssize_t btrfs_read_policy_show(struct kobject *kobj, in btrfs_read_policy_show()
1001 static ssize_t btrfs_read_policy_store(struct kobject *kobj, in btrfs_read_policy_store()
1024 static ssize_t btrfs_bg_reclaim_threshold_show(struct kobject *kobj, in btrfs_bg_reclaim_threshold_show()
1037 static ssize_t btrfs_bg_reclaim_threshold_store(struct kobject *kobj, in btrfs_bg_reclaim_threshold_store()
1079 static void btrfs_release_fsid_kobj(struct kobject *kobj) in btrfs_release_fsid_kobj()
1083 memset(&fs_devs->fsid_kobj, 0, sizeof(struct kobject)); in btrfs_release_fsid_kobj()
1092 static inline struct btrfs_fs_devices *to_fs_devs(struct kobject *kobj) in to_fs_devs()
1099 static inline struct btrfs_fs_info *to_fs_info(struct kobject *kobj) in to_fs_info()
1210 struct kobject *fsid_kobj = &fs_info->fs_devices->fsid_kobj; in btrfs_sysfs_remove_mounted()
1393 struct kobject *kobj; in btrfs_sysfs_remove_space_info()
1445 struct kobject *devices_kobj; in btrfs_sysfs_remove_device()
1464 static ssize_t btrfs_devinfo_in_fs_metadata_show(struct kobject *kobj, in btrfs_devinfo_in_fs_metadata_show()
1478 static ssize_t btrfs_devinfo_missing_show(struct kobject *kobj, in btrfs_devinfo_missing_show()
1491 static ssize_t btrfs_devinfo_replace_target_show(struct kobject *kobj, in btrfs_devinfo_replace_target_show()
1505 static ssize_t btrfs_devinfo_scrub_speed_max_show(struct kobject *kobj, in btrfs_devinfo_scrub_speed_max_show()
1516 static ssize_t btrfs_devinfo_scrub_speed_max_store(struct kobject *kobj, in btrfs_devinfo_scrub_speed_max_store()
1532 static ssize_t btrfs_devinfo_writeable_show(struct kobject *kobj, in btrfs_devinfo_writeable_show()
1545 static ssize_t btrfs_devinfo_error_stats_show(struct kobject *kobj, in btrfs_devinfo_error_stats_show()
1589 static void btrfs_release_devid_kobj(struct kobject *kobj) in btrfs_release_devid_kobj()
1594 memset(&device->devid_kobj, 0, sizeof(struct kobject)); in btrfs_release_devid_kobj()
1608 struct kobject *devices_kobj; in btrfs_sysfs_add_device()
1609 struct kobject *devinfo_kobj; in btrfs_sysfs_add_device()
1623 struct kobject *disk_kobj = bdev_kobj(device->bdev); in btrfs_sysfs_add_device()
1761 struct kobject *fsid_kobj = &fs_devs->fsid_kobj; in btrfs_sysfs_add_mounted()
1828 static inline struct btrfs_fs_info *qgroup_kobj_to_fs_info(struct kobject *kobj) in qgroup_kobj_to_fs_info()
1834 static ssize_t btrfs_qgroup_show_##_member(struct kobject *qgroup_kobj, \
1846 static ssize_t btrfs_qgroup_rsv_show_##_name(struct kobject *qgroup_kobj, \
1885 static void qgroup_release(struct kobject *kobj) in qgroup_release()
1901 struct kobject *qgroups_kobj = fs_info->qgroups_kobj; in btrfs_sysfs_add_one_qgroup()
1941 struct kobject *fsid_kobj = &fs_info->fs_devices->fsid_kobj; in btrfs_sysfs_add_qgroups()
1991 struct kobject *fsid_kobj; in btrfs_sysfs_feature_update()