Searched refs:dev_to_disk (Results 1 – 17 of 17) sorted by relevance
751 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_show()763 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_store()813 return dev_to_disk(dev); in disk_seqf_start()823 return dev_to_disk(dev); in disk_seqf_next()900 struct gendisk *disk = dev_to_disk(dev); in disk_range_show()908 struct gendisk *disk = dev_to_disk(dev); in disk_ext_range_show()917 struct gendisk *disk = dev_to_disk(dev); in disk_removable_show()926 struct gendisk *disk = dev_to_disk(dev); in disk_hidden_show()935 struct gendisk *disk = dev_to_disk(dev); in disk_ro_show()1021 struct gendisk *disk = dev_to_disk(dev); in disk_alignment_offset_show()[all …]
42 struct gendisk *disk = dev_to_disk(dev); in part_timeout_show()51 struct gendisk *disk = dev_to_disk(dev); in part_timeout_store()
80 *devt = part_devt(dev_to_disk(dev), in devt_from_partuuid()132 struct gendisk *disk = dev_to_disk(dev); in blk_lookup_devt()279 struct gendisk *disk = dev_to_disk(dev); in printk_all_partitions()
348 struct gendisk *disk = dev_to_disk(dev); in disk_events_show()365 struct gendisk *disk = dev_to_disk(dev); in disk_events_poll_msecs_show()376 struct gendisk *disk = dev_to_disk(dev); in disk_events_poll_msecs_store()
217 return &dev_to_disk(dev)->queue->integrity; in dev_to_bi()
36 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_state()48 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_mac()59 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_netif()97 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_fwver()105 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_payload()
228 struct mmc_blk_data *md = mmc_blk_get(dev_to_disk(dev)); in power_ro_lock_show()259 md = mmc_blk_get(dev_to_disk(dev)); in power_ro_lock_store()297 struct mmc_blk_data *md = mmc_blk_get(dev_to_disk(dev)); in force_ro_show()300 get_disk_ro(dev_to_disk(dev)) ^ in force_ro_show()311 struct mmc_blk_data *md = mmc_blk_get(dev_to_disk(dev)); in force_ro_store()318 set_disk_ro(dev_to_disk(dev), set || md->read_only); in force_ro_store()337 struct mmc_blk_data *md = mmc_blk_get(dev_to_disk(dev)); in mmc_disk_attrs_is_visible()
40 struct gendisk *disk = dev_to_disk(dev); in dev_to_ns_head()151 if (dev_to_disk(dev)->fops != &nvme_bdev_ops) /* per-path attr */ in nvme_ns_id_attrs_are_visible()
1033 return dev_to_disk(dev)->private_data; in nvme_get_ns_from_dev()
955 struct gendisk *disk = dev_to_disk(dev); in serial_show()1166 struct gendisk *disk = dev_to_disk(dev); in cache_type_store()1184 struct gendisk *disk = dev_to_disk(dev); in cache_type_show()1204 struct gendisk *disk = dev_to_disk(dev); in virtblk_attrs_are_visible()
224 struct gendisk *disk = dev_to_disk(dev); in pid_show()238 struct gendisk *disk = dev_to_disk(dev); in backend_show()
651 struct gendisk *disk = dev_to_disk(dev); in loop_attr_show()
377 struct pmem_device *pmem = dev_to_disk(dev)->private_data; in write_cache_show()385 struct pmem_device *pmem = dev_to_disk(dev)->private_data; in write_cache_store()
236 #define dev_to_disk(device) \ macro
823 struct gendisk *disk = dev_to_disk(dev); in serial_show()
82 return (struct zram *)dev_to_disk(dev)->private_data; in dev_to_zram()
2136 struct driver_data *dd = dev_to_disk(dev)->private_data; in mtip_hw_show_status()