Searched refs:dev_to_disk (Results 1 – 15 of 15) sorted by relevance
33 __entry->dev = disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));62 __entry->dev = disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));84 __entry->dev = disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));
970 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_show()982 struct gendisk *disk = dev_to_disk(dev); in disk_badblocks_store()1011 disk = dev_to_disk(kobj_to_dev(kobj)); in get_gendisk()1082 struct gendisk *disk = dev_to_disk(dev); in printk_all_partitions()1144 return dev_to_disk(dev); in disk_seqf_start()1154 return dev_to_disk(dev); in disk_seqf_next()1248 struct gendisk *disk = dev_to_disk(dev); in disk_range_show()1256 struct gendisk *disk = dev_to_disk(dev); in disk_ext_range_show()1264 struct gendisk *disk = dev_to_disk(dev); in disk_removable_show()1273 struct gendisk *disk = dev_to_disk(dev); in disk_hidden_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()
834 struct gendisk *disk = dev_to_disk(dev); in blkcg_fill_root_iostats()
37 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_state()50 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_mac()61 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_netif()99 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_fwver()107 struct gendisk *disk = dev_to_disk(dev); in aoedisk_show_payload()
22 #define dev_to_disk(device) container_of((device), struct gendisk, part0.__dev) macro223 return dev_to_disk(part_to_dev(part)->parent); in part_to_disk()225 return dev_to_disk(part_to_dev(part)); in part_to_disk()
419 struct gendisk *disk = dev_to_disk(dev); in serial_show()612 struct gendisk *disk = dev_to_disk(dev); in cache_type_store()630 struct gendisk *disk = dev_to_disk(dev); in cache_type_show()650 struct gendisk *disk = dev_to_disk(dev); in virtblk_attrs_are_visible()
760 struct gendisk *disk = dev_to_disk(dev); in loop_attr_show()
214 struct gendisk *disk = dev_to_disk(dev); in pid_show()
215 struct mmc_blk_data *md = mmc_blk_get(dev_to_disk(dev)); in power_ro_lock_show()246 md = mmc_blk_get(dev_to_disk(dev)); in power_ro_lock_store()280 struct mmc_blk_data *md = mmc_blk_get(dev_to_disk(dev)); in force_ro_show()283 get_disk_ro(dev_to_disk(dev)) ^ in force_ro_show()294 struct mmc_blk_data *md = mmc_blk_get(dev_to_disk(dev)); in force_ro_store()301 set_disk_ro(dev_to_disk(dev), set || md->read_only); in force_ro_store()
892 return dev_to_disk(dev)->private_data; in nvme_get_ns_from_dev()
1245 struct gendisk *disk = dev_to_disk(dev); in nvm_dev_attrs_visible()
3366 struct gendisk *disk = dev_to_disk(dev); in dev_to_ns_head()3477 if (dev_to_disk(dev)->fops != &nvme_fops) /* per-path attr */ in nvme_ns_id_attrs_are_visible()
73 return (struct zram *)dev_to_disk(dev)->private_data; in dev_to_zram()
2148 struct driver_data *dd = dev_to_disk(dev)->private_data; in mtip_hw_show_status()