Home
last modified time | relevance | path

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

/Linux-v4.19/include/trace/events/
Dblock.h89 __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/
Ddasd_proc.c61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show()
62 MINOR(disk_devt(block->gdp))); in dasd_devices_show()
/Linux-v4.19/drivers/md/
Dmd-linear.c289 bio, disk_devt(mddev->gendisk), in linear_make_request()
Draid0.c548 discard_bio, disk_devt(mddev->gendisk), in raid0_handle_discard()
602 disk_devt(mddev->gendisk), bio_sector); in raid0_make_request()
Ddm-rq.c500 trace_block_rq_remap(clone->q, clone, disk_devt(dm_disk(md)), in map_request()
Ddm-ioctl.c549 nl->dev = huge_encode_dev(disk_devt(disk)); in list_devices()
710 param->dev = huge_encode_dev(disk_devt(disk)); in __dev_status()
Ddm.c1979 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()
Draid1.c1297 disk_devt(mddev->gendisk), r1_bio->sector); in raid1_read_request()
1506 mbio, disk_devt(mddev->gendisk), in raid1_write_request()
Draid10.c1235 read_bio, disk_devt(mddev->gendisk), in raid10_read_request()
1285 mbio, disk_devt(conf->mddev->gendisk), in raid10_write_one_disk()
Draid5.c1154 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/
Dgenhd.c698 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/
Dps3disk.c528 __clear_bit(MINOR(disk_devt(priv->gendisk)) / PS3DISK_MINORS, in ps3disk_remove()
/Linux-v4.19/drivers/nvme/host/
Dmultipath.c168 disk_devt(ns->head->disk), in nvme_ns_head_make_request()
/Linux-v4.19/include/linux/
Dgenhd.h240 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() function
Dbio.h547 disk_devt((bio)->bi_disk)
/Linux-v4.19/drivers/char/
Drandom.c1304 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/
Dsr.c1002 clear_bit(MINOR(disk_devt(disk)), sr_index_bits); in sr_kref_release()
Dsd.c3418 devt = disk_devt(sdkp->disk); in sd_remove()
/Linux-v4.19/drivers/memstick/core/
Dmspro_block.c210 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_disk_release()
/Linux-v4.19/kernel/trace/
Dblktrace.c1040 r.device_to = cpu_to_be32(disk_devt(rq->rq_disk)); in blk_add_trace_rq_remap()