Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/s390/block/
Ddasd_genhd.c133 bdev = blkdev_get_by_dev(disk_devt(block->gdp), FMODE_READ, NULL); in dasd_scan_partitions()
/linux-6.1.9/block/
Dbdev.c786 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()
Dioctl.c457 if (IS_ERR(blkdev_get_by_dev(bdev->bd_dev, mode | FMODE_EXCL, &bdev))) in blkdev_bszset()
Dfops.c485 bdev = blkdev_get_by_dev(inode->i_rdev, filp->f_mode, filp); in blkdev_open()
Dgenhd.c374 bdev = blkdev_get_by_dev(disk_devt(disk), mode, NULL); in disk_scan_partitions()
/linux-6.1.9/drivers/mtd/devices/
Dblock2mtd.c260 bdev = blkdev_get_by_dev(devt, mode, dev); in add_device()
/linux-6.1.9/kernel/power/
Dswap.c359 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/
Ddev.c246 bdev = blkdev_get_by_dev(dev, FMODE_READ | FMODE_WRITE, NULL); in bl_parse_simple()
/linux-6.1.9/drivers/block/xen-blkback/
Dxenbus.c494 bdev = blkdev_get_by_dev(vbd->pdevice, vbd->readonly ? in xen_vbd_create()
/linux-6.1.9/include/linux/
Dblkdev.h1493 struct block_device *blkdev_get_by_dev(dev_t dev, fmode_t mode, void *holder);
/linux-6.1.9/drivers/block/
Dpktcdvd.c2140 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/
Djfs_logmgr.c1103 bdev = blkdev_get_by_dev(sbi->logdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in lmLogOpen()
/linux-6.1.9/fs/ocfs2/cluster/
Dheartbeat.c1790 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/
Dzram_drv.c524 bdev = blkdev_get_by_dev(inode->i_rdev, in backing_dev_store()
/linux-6.1.9/drivers/md/
Ddm.c748 bdev = blkdev_get_by_dev(dev, mode | FMODE_EXCL, _dm_claim_ptr); in open_table_device()
Dmd.c2496 bdev = blkdev_get_by_dev(dev, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in lock_rdev()
/linux-6.1.9/mm/
Dswapfile.c2764 p->bdev = blkdev_get_by_dev(inode->i_rdev, in claim_swapfile()
/linux-6.1.9/fs/reiserfs/
Djournal.c2618 journal->j_dev_bd = blkdev_get_by_dev(jdev, blkdev_mode, in journal_init_dev()
/linux-6.1.9/fs/f2fs/
Dsuper.c3947 blkdev_get_by_dev(sbi->sb->s_bdev->bd_dev, in f2fs_scan_devices()
/linux-6.1.9/fs/ext4/
Dsuper.c1105 bdev = blkdev_get_by_dev(dev, FMODE_READ|FMODE_WRITE|FMODE_EXCL, sb); in ext4_blkdev_get()