/Linux-v6.6/drivers/s390/block/ |
D | dasd_genhd.c | 133 bdev = blkdev_get_by_dev(disk_devt(block->gdp), BLK_OPEN_READ, NULL, in dasd_scan_partitions()
|
/Linux-v6.6/fs/nfs/blocklayout/ |
D | dev.c | 246 bdev = blkdev_get_by_dev(dev, BLK_OPEN_READ | BLK_OPEN_WRITE, NULL, in bl_parse_simple() 316 bdev = blkdev_get_by_path(devname, BLK_OPEN_READ | BLK_OPEN_WRITE, NULL, in bl_open_path()
|
/Linux-v6.6/drivers/md/ |
D | dm-verity-target.c | 1199 if ((dm_table_get_mode(ti->table) & ~BLK_OPEN_READ)) { in verity_ctr() 1228 r = dm_get_device(ti, argv[1], BLK_OPEN_READ, &v->data_dev); in verity_ctr() 1234 r = dm_get_device(ti, argv[2], BLK_OPEN_READ, &v->hash_dev); in verity_ctr()
|
D | dm-clone-target.c | 1687 BLK_OPEN_READ | BLK_OPEN_WRITE, &clone->metadata_dev); in parse_metadata_dev() 1707 BLK_OPEN_READ | BLK_OPEN_WRITE, &clone->dest_dev); in parse_dest_dev() 1728 r = dm_get_device(clone->ti, dm_shift_arg(as), BLK_OPEN_READ, in parse_source_dev()
|
D | dm-era-target.c | 1485 r = dm_get_device(ti, argv[0], BLK_OPEN_READ | BLK_OPEN_WRITE, in era_ctr() 1493 r = dm_get_device(ti, argv[1], BLK_OPEN_READ | BLK_OPEN_WRITE, in era_ctr()
|
D | dm-verity-fec.c | 610 r = dm_get_device(ti, arg_value, BLK_OPEN_READ, &v->fec->dev); in verity_fec_parse_opt_args()
|
D | dm-cache-target.c | 2055 BLK_OPEN_READ | BLK_OPEN_WRITE, &ca->metadata_dev); in parse_metadata_dev() 2078 BLK_OPEN_READ | BLK_OPEN_WRITE, &ca->cache_dev); in parse_cache_dev() 2097 BLK_OPEN_READ | BLK_OPEN_WRITE, &ca->origin_dev); in parse_origin_dev()
|
D | dm-ioctl.c | 1390 blk_mode_t mode = BLK_OPEN_READ | BLK_OPEN_WRITE; in get_mode() 1393 mode = BLK_OPEN_READ; in get_mode()
|
D | dm-thin.c | 3331 metadata_mode = BLK_OPEN_READ | in pool_ctr() 3340 r = dm_get_device(ti, argv[1], BLK_OPEN_READ | BLK_OPEN_WRITE, &data_dev); in pool_ctr() 4220 r = dm_get_device(ti, argv[2], BLK_OPEN_READ, &origin_dev); in thin_ctr()
|
/Linux-v6.6/drivers/mtd/devices/ |
D | block2mtd.c | 264 const blk_mode_t mode = BLK_OPEN_READ | BLK_OPEN_WRITE; in add_device()
|
/Linux-v6.6/drivers/nvme/target/ |
D | io-cmd-bdev.c | 88 BLK_OPEN_READ | BLK_OPEN_WRITE, NULL, NULL); in nvmet_bdev_ns_enable()
|
/Linux-v6.6/include/linux/ |
D | blkdev.h | 118 #define BLK_OPEN_READ ((__force blk_mode_t)(1 << 0)) macro 1480 (BLK_OPEN_READ | (((flags) & SB_RDONLY) ? 0 : BLK_OPEN_WRITE))
|
/Linux-v6.6/drivers/block/rnbd/ |
D | rnbd-srv.c | 680 blk_mode_t open_flags = BLK_OPEN_READ; in process_msg_open()
|
/Linux-v6.6/block/ |
D | bdev.c | 762 ((mode & BLK_OPEN_READ) ? DEVCG_ACC_READ : 0) | in blkdev_get_by_dev()
|
D | fops.c | 550 mode |= BLK_OPEN_READ; in file_to_blk_mode()
|
D | genhd.c | 510 disk_scan_partitions(disk, BLK_OPEN_READ); in device_add_disk()
|
/Linux-v6.6/drivers/block/ |
D | swim.c | 640 if (mode & (BLK_OPEN_READ | BLK_OPEN_WRITE)) { in floppy_open()
|
D | swim3.c | 964 (mode & (BLK_OPEN_READ | BLK_OPEN_WRITE))) { in floppy_open()
|
D | pktcdvd.c | 2170 bdev = blkdev_get_by_dev(pd->bdev->bd_dev, BLK_OPEN_READ, pd, NULL); in pkt_open_dev() 2516 bdev = blkdev_get_by_dev(dev, BLK_OPEN_READ | BLK_OPEN_NDELAY, NULL, in pkt_new_dev()
|
/Linux-v6.6/drivers/target/ |
D | target_core_pscsi.c | 369 bd = blkdev_get_by_path(dev->udev_path, BLK_OPEN_WRITE | BLK_OPEN_READ, in pscsi_create_type_disk()
|
D | target_core_iblock.c | 96 blk_mode_t mode = BLK_OPEN_READ; in iblock_configure_device()
|
/Linux-v6.6/fs/btrfs/ |
D | super.c | 2199 device = btrfs_scan_one_device(vol->name, BLK_OPEN_READ); in btrfs_control_ioctl() 2213 device = btrfs_scan_one_device(vol->name, BLK_OPEN_READ); in btrfs_control_ioctl()
|
/Linux-v6.6/fs/erofs/ |
D | super.c | 254 bdev = blkdev_get_by_path(dif->path, BLK_OPEN_READ, sb->s_type, in erofs_init_device()
|
/Linux-v6.6/drivers/block/xen-blkback/ |
D | xenbus.c | 495 BLK_OPEN_READ : BLK_OPEN_WRITE, NULL, NULL); in xen_vbd_create()
|
/Linux-v6.6/kernel/power/ |
D | swap.c | 1525 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, BLK_OPEN_READ, in swsusp_check()
|