Home
last modified time | relevance | path

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

/linux-6.6.21/include/trace/events/
Dblock.h90 __entry->dev = rq->q->disk ? disk_devt(rq->q->disk) : 0;
121 __entry->dev = rq->q->disk ? disk_devt(rq->q->disk) : 0;
189 __entry->dev = rq->q->disk ? disk_devt(rq->q->disk) : 0;
566 __entry->dev = disk_devt(rq->q->disk);
/linux-6.6.21/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.c133 bdev = blkdev_get_by_dev(disk_devt(block->gdp), BLK_OPEN_READ, NULL, in dasd_scan_partitions()
/linux-6.6.21/drivers/md/
Dmd-linear.c252 trace_block_bio_remap(bio, disk_devt(mddev->gendisk), in linear_make_request()
Ddm-rq.c384 trace_block_rq_remap(clone, disk_devt(dm_disk(md)), in map_request()
Ddm.c1372 trace_block_bio_remap(tgt_clone, disk_devt(io->md->disk), in dm_submit_bio_remap()
2148 int minor = MINOR(disk_devt(md->disk)); in free_dev()
2400 if (!md || md == MINOR_ALLOCED || (MINOR(disk_devt(dm_disk(md))) != minor) || in dm_get_md()
2456 idr_replace(&_minor_idr, MINOR_ALLOCED, MINOR(disk_devt(dm_disk(md)))); in __dm_destroy()
Draid0.c583 trace_block_bio_remap(bio, disk_devt(mddev->gendisk), in raid0_map_submit_bio()
Ddm-ioctl.c641 nl->dev = huge_encode_dev(disk_devt(disk)); in list_devices()
842 param->dev = huge_encode_dev(disk_devt(disk)); in __dev_status()
Draid1.c1330 trace_block_bio_remap(read_bio, disk_devt(mddev->gendisk), in raid1_read_request()
1568 trace_block_bio_remap(mbio, disk_devt(mddev->gendisk), in raid1_write_request()
Ddm-table.c365 if (dev == disk_devt(t->md->disk)) in dm_get_device()
Draid10.c1263 trace_block_bio_remap(read_bio, disk_devt(mddev->gendisk), in raid10_read_request()
1309 trace_block_bio_remap(mbio, disk_devt(conf->mddev->gendisk), in raid10_write_one_disk()
Draid5.c1308 disk_devt(conf->mddev->gendisk), in ops_run_io()
1355 disk_devt(conf->mddev->gendisk), in ops_run_io()
5575 trace_block_bio_remap(align_bio, disk_devt(mddev->gendisk), in raid5_read_one_chunk()
Dmd.c8711 disk_devt(mddev->gendisk), in md_submit_discard_bio()
/linux-6.6.21/drivers/block/
Dps3disk.c499 __clear_bit(MINOR(disk_devt(priv->gendisk)) / PS3DISK_MINORS, in ps3disk_remove()
Dublk_drv.c2494 ub->params.devt.disk_major = MAJOR(disk_devt(ub->ub_disk)); in ublk_ctrl_fill_params_devt()
2495 ub->params.devt.disk_minor = MINOR(disk_devt(ub->ub_disk)); in ublk_ctrl_fill_params_devt()
/linux-6.6.21/include/linux/
Dbio.h513 disk_devt((bio)->bi_bdev->bd_disk)
Dblkdev.h247 static inline dev_t disk_devt(struct gendisk *disk) in disk_devt() function
/linux-6.6.21/drivers/scsi/
Dsr.c570 clear_bit(MINOR(disk_devt(disk)), sr_index_bits); in sr_free_disk()
/linux-6.6.21/block/
Dkyber-iosched.c368 kqd->dev = disk_devt(q->disk); in kyber_queue_data_alloc()
Dgenhd.c369 bdev = blkdev_get_by_dev(disk_devt(disk), mode & ~BLK_OPEN_EXCL, NULL, in disk_scan_partitions()
/linux-6.6.21/drivers/nvme/host/
Dmultipath.c395 trace_block_bio_remap(bio, disk_devt(ns->head->disk), in nvme_ns_head_submit_bio()
/linux-6.6.21/drivers/char/
Drandom.c1214 add_timer_randomness(disk->random, 0x100 + disk_devt(disk)); in add_disk_randomness()
/linux-6.6.21/drivers/memstick/core/
Dmspro_block.c183 int disk_id = MINOR(disk_devt(disk)) >> MSPRO_BLOCK_PART_SHIFT; in mspro_block_bd_free_disk()
/linux-6.6.21/kernel/trace/
Dblktrace.c1054 r.device_to = cpu_to_be32(disk_devt(rq->q->disk)); in blk_add_trace_rq_remap()