Home
last modified time | relevance | path

Searched refs:disk_devt (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/include/trace/events/
Dkyber.h33 __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)));
Dblock.h88 __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0;
131 __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0;
164 __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0;
629 __entry->dev = disk_devt(rq->rq_disk);
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_proc.c61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show()
62 MINOR(disk_devt(block->gdp))); in dasd_devices_show()
Ddasd_genhd.c104 bdev = blkdev_get_by_dev(disk_devt(block->gdp), FMODE_READ, NULL); in dasd_scan_partitions()
/kernel/linux/linux-5.10/drivers/md/
Dmd-linear.c262 bio, disk_devt(mddev->gendisk), in linear_make_request()
Draid0.c513 discard_bio, disk_devt(mddev->gendisk), in raid0_handle_discard()
586 disk_devt(mddev->gendisk), bio_sector); in raid0_make_request()
Ddm-rq.c400 trace_block_rq_remap(clone, disk_devt(dm_disk(md)), in map_request()
Ddm-ioctl.c550 nl->dev = huge_encode_dev(disk_devt(disk)); in list_devices()
736 param->dev = huge_encode_dev(disk_devt(disk)); in __dev_status()
Ddm.c1940 int minor = MINOR(disk_devt(md->disk)); in free_dev()
2197 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md()
2253 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
Draid1.c1309 disk_devt(mddev->gendisk), r1_bio->sector); in raid1_read_request()
1521 mbio, disk_devt(mddev->gendisk), in raid1_write_request()
Draid10.c1205 read_bio, disk_devt(mddev->gendisk), in raid10_read_request()
1255 mbio, disk_devt(conf->mddev->gendisk), in raid10_write_one_disk()
Draid5.c1228 bi, disk_devt(conf->mddev->gendisk), in ops_run_io()
1278 rbi, disk_devt(conf->mddev->gendisk), in ops_run_io()
5471 align_bi, disk_devt(mddev->gendisk), in raid5_read_one_chunk()
/kernel/linux/linux-5.10/include/linux/
Dgenhd.h243 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() function
Dbio.h486 disk_devt((bio)->bi_disk)
/kernel/linux/linux-5.10/block/
Dgenhd.c698 bdev = blkdev_get_by_dev(disk_devt(disk), FMODE_READ, NULL); in disk_scan_partitions()
831 blk_register_region(disk_devt(disk), disk->minors, NULL, in __device_add_disk()
944 blk_unregister_region(disk_devt(disk), disk->minors); in del_gendisk()
951 blk_invalidate_devt(disk_devt(disk)); in del_gendisk()
/kernel/linux/linux-5.10/drivers/block/
Dps3disk.c516 __clear_bit(MINOR(disk_devt(priv->gendisk)) / PS3DISK_MINORS, in ps3disk_remove()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dmultipath.c315 disk_devt(ns->head->disk), in nvme_ns_head_submit_bio()
/kernel/linux/linux-5.10/drivers/scsi/
Dsr.c1040 clear_bit(MINOR(disk_devt(disk)), sr_index_bits); in sr_kref_release()
Dsd.c3493 blk_delete_region(disk_devt(sdkp->disk), SD_MINORS, sd_default_probe); in sd_probe()
3539 devt = disk_devt(sdkp->disk); in sd_remove()
/kernel/linux/linux-5.10/drivers/char/
Drandom.c1118 add_timer_randomness(disk->random, 0x100 + disk_devt(disk)); in add_disk_randomness()
/kernel/linux/linux-5.10/drivers/memstick/core/
Dmspro_block.c206 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_disk_release()
/kernel/linux/linux-5.10/kernel/trace/
Dblktrace.c1099 r.device_to = cpu_to_be32(disk_devt(rq->rq_disk)); in blk_add_trace_rq_remap()