Home
last modified time | relevance | path

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

/openbmc/linux/block/
H A Dbdev.c754 struct block_device *blkdev_get_by_dev(dev_t dev, blk_mode_t mode, void *holder, in blkdev_get_by_dev() function
832 EXPORT_SYMBOL(blkdev_get_by_dev);
842 bdev = blkdev_get_by_dev(dev, mode, holder, hops); in bdev_open_by_dev()
881 bdev = blkdev_get_by_dev(dev, mode, holder, hops); in blkdev_get_by_path()
H A Dioctl.c483 if (IS_ERR(blkdev_get_by_dev(bdev->bd_dev, mode, &bdev, NULL))) in blkdev_bszset()
H A Dfops.c589 bdev = blkdev_get_by_dev(inode->i_rdev, file_to_blk_mode(filp), in blkdev_open()
H A Dgenhd.c367 bdev = blkdev_get_by_dev(disk_devt(disk), mode & ~BLK_OPEN_EXCL, NULL, in disk_scan_partitions()
/openbmc/linux/drivers/s390/block/
H A Ddasd_genhd.c133 bdev = blkdev_get_by_dev(disk_devt(block->gdp), BLK_OPEN_READ, NULL, in dasd_scan_partitions()
/openbmc/linux/drivers/mtd/devices/
H A Dblock2mtd.c252 bdev = blkdev_get_by_dev(devt, mode, dev, NULL); in mdtblock_early_get_bdev()
/openbmc/linux/kernel/power/
H A Dswap.c359 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, in swsusp_swap_check()
1525 hib_resume_bdev = blkdev_get_by_dev(swsusp_resume_device, BLK_OPEN_READ, in swsusp_check()
/openbmc/linux/fs/nfs/blocklayout/
H A Ddev.c246 bdev = blkdev_get_by_dev(dev, BLK_OPEN_READ | BLK_OPEN_WRITE, NULL, in bl_parse_simple()
/openbmc/linux/drivers/block/xen-blkback/
H A Dxenbus.c494 bdev = blkdev_get_by_dev(vbd->pdevice, vbd->readonly ? in xen_vbd_create()
/openbmc/linux/include/linux/
H A Dblkdev.h1500 struct block_device *blkdev_get_by_dev(dev_t dev, blk_mode_t mode, void *holder,
/openbmc/linux/drivers/block/
H A Dpktcdvd.c2170 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()
/openbmc/linux/fs/ocfs2/cluster/
H A Dheartbeat.c1788 reg->hr_bdev = blkdev_get_by_dev(f.file->f_mapping->host->i_rdev, in o2hb_region_dev_store()
/openbmc/linux/drivers/block/zram/
H A Dzram_drv.c510 bdev = blkdev_get_by_dev(inode->i_rdev, BLK_OPEN_READ | BLK_OPEN_WRITE, in backing_dev_store()
/openbmc/linux/drivers/md/bcache/
H A Dsuper.c2573 bdev2 = blkdev_get_by_dev(bdev->bd_dev, BLK_OPEN_READ | BLK_OPEN_WRITE, in register_bcache()
/openbmc/linux/drivers/md/
H A Ddm.c736 bdev = blkdev_get_by_dev(dev, mode, _dm_claim_ptr, NULL); in open_table_device()
H A Dmd.c3711 rdev->bdev = blkdev_get_by_dev(newdev, BLK_OPEN_READ | BLK_OPEN_WRITE, in md_import_device()
/openbmc/linux/mm/
H A Dswapfile.c2778 p->bdev = blkdev_get_by_dev(inode->i_rdev, in claim_swapfile()
/openbmc/linux/fs/reiserfs/
H A Djournal.c2626 journal->j_dev_bd = blkdev_get_by_dev(jdev, blkdev_mode, holder, in journal_init_dev()
/openbmc/linux/fs/ext4/
H A Dsuper.c5865 bdev = blkdev_get_by_dev(j_dev, BLK_OPEN_READ | BLK_OPEN_WRITE, sb, in ext4_get_journal_blkdev()