Searched refs:blkdev_get_by_dev (Results 1 – 20 of 20) sorted by relevance
/linux-6.1.9/drivers/s390/block/ |
D | dasd_genhd.c | 133 bdev = blkdev_get_by_dev(disk_devt(block->gdp), FMODE_READ, NULL); in dasd_scan_partitions()
|
/linux-6.1.9/block/ |
D | bdev.c | 786 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder) in blkdev_get_by_dev() function 857 EXPORT_SYMBOL(blkdev_get_by_dev); 887 bdev = blkdev_get_by_dev(dev, mode, holder); in blkdev_get_by_path()
|
D | ioctl.c | 457 if (IS_ERR(blkdev_get_by_dev(bdev->bd_dev, mode | FMODE_EXCL, &bdev))) in blkdev_bszset()
|
D | fops.c | 485 bdev = blkdev_get_by_dev(inode->i_rdev, filp->f_mode, filp); in blkdev_open()
|
D | genhd.c | 374 bdev = blkdev_get_by_dev(disk_devt(disk), mode, NULL); in disk_scan_partitions()
|
/linux-6.1.9/drivers/mtd/devices/ |
D | block2mtd.c | 260 bdev = blkdev_get_by_dev(devt, mode, dev); in add_device()
|
/linux-6.1.9/kernel/power/ |
D | swap.c | 359 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, FMODE_WRITE, in swsusp_swap_check() 1522 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, in swsusp_check()
|
/linux-6.1.9/fs/nfs/blocklayout/ |
D | dev.c | 246 bdev = blkdev_get_by_dev(dev, FMODE_READ | FMODE_WRITE, NULL); in bl_parse_simple()
|
/linux-6.1.9/drivers/block/xen-blkback/ |
D | xenbus.c | 494 bdev = blkdev_get_by_dev(vbd->pdevice, vbd->readonly ? in xen_vbd_create()
|
/linux-6.1.9/include/linux/ |
D | blkdev.h | 1493 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder);
|
/linux-6.1.9/drivers/block/ |
D | pktcdvd.c | 2140 bdev = blkdev_get_by_dev(pd->bdev->bd_dev, FMODE_READ | FMODE_EXCL, pd); in pkt_open_dev() 2545 bdev = blkdev_get_by_dev(dev, FMODE_READ | FMODE_NDELAY, NULL); in pkt_new_dev()
|
/linux-6.1.9/fs/jfs/ |
D | jfs_logmgr.c | 1103 bdev = blkdev_get_by_dev(sbi->logdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in lmLogOpen()
|
/linux-6.1.9/fs/ocfs2/cluster/ |
D | heartbeat.c | 1790 reg->hr_bdev = blkdev_get_by_dev(f.file->f_mapping->host->i_rdev, in o2hb_region_dev_store()
|
/linux-6.1.9/drivers/block/zram/ |
D | zram_drv.c | 524 bdev = blkdev_get_by_dev(inode->i_rdev, in backing_dev_store()
|
/linux-6.1.9/drivers/md/ |
D | dm.c | 748 bdev = blkdev_get_by_dev(dev, mode | FMODE_EXCL, _dm_claim_ptr); in open_table_device()
|
D | md.c | 2496 bdev = blkdev_get_by_dev(dev, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in lock_rdev()
|
/linux-6.1.9/mm/ |
D | swapfile.c | 2764 p->bdev = blkdev_get_by_dev(inode->i_rdev, in claim_swapfile()
|
/linux-6.1.9/fs/reiserfs/ |
D | journal.c | 2618 journal->j_dev_bd = blkdev_get_by_dev(jdev, blkdev_mode, in journal_init_dev()
|
/linux-6.1.9/fs/f2fs/ |
D | super.c | 3947 blkdev_get_by_dev(sbi->sb->s_bdev->bd_dev, in f2fs_scan_devices()
|
/linux-6.1.9/fs/ext4/ |
D | super.c | 1105 bdev = blkdev_get_by_dev(dev, FMODE_READ|FMODE_WRITE|FMODE_EXCL, sb); in ext4_blkdev_get()
|