Searched refs:disk_devt (Results 1 – 20 of 20) sorted by relevance
/Linux-v4.19/include/trace/events/ |
D | block.h | 89 __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0; 132 __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0; 165 __entry->dev = rq->rq_disk ? disk_devt(rq->rq_disk) : 0; 621 __entry->dev = disk_devt(rq->rq_disk);
|
/Linux-v4.19/drivers/s390/block/ |
D | dasd_proc.c | 61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show() 62 MINOR(disk_devt(block->gdp))); in dasd_devices_show()
|
/Linux-v4.19/drivers/md/ |
D | md-linear.c | 289 bio, disk_devt(mddev->gendisk), in linear_make_request()
|
D | raid0.c | 548 discard_bio, disk_devt(mddev->gendisk), in raid0_handle_discard() 602 disk_devt(mddev->gendisk), bio_sector); in raid0_make_request()
|
D | dm-rq.c | 500 trace_block_rq_remap(clone->q, clone, disk_devt(dm_disk(md)), in map_request()
|
D | dm-ioctl.c | 549 nl->dev = huge_encode_dev(disk_devt(disk)); in list_devices() 710 param->dev = huge_encode_dev(disk_devt(disk)); in __dev_status()
|
D | dm.c | 1979 int minor = MINOR(disk_devt(md->disk)); in free_dev() 2272 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md() 2328 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
|
D | raid1.c | 1297 disk_devt(mddev->gendisk), r1_bio->sector); in raid1_read_request() 1506 mbio, disk_devt(mddev->gendisk), in raid1_write_request()
|
D | raid10.c | 1235 read_bio, disk_devt(mddev->gendisk), in raid10_read_request() 1285 mbio, disk_devt(conf->mddev->gendisk), in raid10_write_one_disk()
|
D | raid5.c | 1154 bi, disk_devt(conf->mddev->gendisk), in ops_run_io() 1204 rbi, disk_devt(conf->mddev->gendisk), in ops_run_io() 5270 align_bi, disk_devt(mddev->gendisk), in raid5_read_one_chunk()
|
/Linux-v4.19/block/ |
D | genhd.c | 698 blk_register_region(disk_devt(disk), disk->minors, NULL, in __device_add_disk() 751 bdev_unhash_inode(disk_devt(disk)); in del_gendisk() 771 blk_unregister_region(disk_devt(disk), disk->minors); in del_gendisk()
|
/Linux-v4.19/drivers/block/ |
D | ps3disk.c | 528 __clear_bit(MINOR(disk_devt(priv->gendisk)) / PS3DISK_MINORS, in ps3disk_remove()
|
/Linux-v4.19/drivers/nvme/host/ |
D | multipath.c | 168 disk_devt(ns->head->disk), in nvme_ns_head_make_request()
|
/Linux-v4.19/include/linux/ |
D | genhd.h | 240 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() function
|
D | bio.h | 547 disk_devt((bio)->bi_disk)
|
/Linux-v4.19/drivers/char/ |
D | random.c | 1304 add_timer_randomness(disk->random, 0x100 + disk_devt(disk)); in add_disk_randomness() 1305 trace_add_disk_randomness(disk_devt(disk), ENTROPY_BITS(&input_pool)); in add_disk_randomness()
|
/Linux-v4.19/drivers/scsi/ |
D | sr.c | 1002 clear_bit(MINOR(disk_devt(disk)), sr_index_bits); in sr_kref_release()
|
D | sd.c | 3418 devt = disk_devt(sdkp->disk); in sd_remove()
|
/Linux-v4.19/drivers/memstick/core/ |
D | mspro_block.c | 210 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_disk_release()
|
/Linux-v4.19/kernel/trace/ |
D | blktrace.c | 1040 r.device_to = cpu_to_be32(disk_devt(rq->rq_disk)); in blk_add_trace_rq_remap()
|