/openbmc/linux/block/ |
H A D | bdev.c | 754 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 D | ioctl.c | 483 if (IS_ERR(blkdev_get_by_dev(bdev->bd_dev, mode, &bdev, NULL))) in blkdev_bszset()
|
H A D | fops.c | 589 bdev = blkdev_get_by_dev(inode->i_rdev, file_to_blk_mode(filp), in blkdev_open()
|
H A D | genhd.c | 367 bdev = blkdev_get_by_dev(disk_devt(disk), mode & ~BLK_OPEN_EXCL, NULL, in disk_scan_partitions()
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_genhd.c | 133 bdev = blkdev_get_by_dev(disk_devt(block->gdp), BLK_OPEN_READ, NULL, in dasd_scan_partitions()
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | block2mtd.c | 252 bdev = blkdev_get_by_dev(devt, mode, dev, NULL); in mdtblock_early_get_bdev()
|
/openbmc/linux/kernel/power/ |
H A D | swap.c | 359 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 D | dev.c | 246 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 D | xenbus.c | 494 bdev = blkdev_get_by_dev(vbd->pdevice, vbd->readonly ? in xen_vbd_create()
|
/openbmc/linux/include/linux/ |
H A D | blkdev.h | 1500 struct block_device *blkdev_get_by_dev(dev_t dev, blk_mode_t mode, void *holder,
|
/openbmc/linux/drivers/block/ |
H A 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()
|
/openbmc/linux/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1788 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 D | zram_drv.c | 510 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 D | super.c | 2573 bdev2 = blkdev_get_by_dev(bdev->bd_dev, BLK_OPEN_READ | BLK_OPEN_WRITE, in register_bcache()
|
/openbmc/linux/drivers/md/ |
H A D | dm.c | 736 bdev = blkdev_get_by_dev(dev, mode, _dm_claim_ptr, NULL); in open_table_device()
|
H A D | md.c | 3711 rdev->bdev = blkdev_get_by_dev(newdev, BLK_OPEN_READ | BLK_OPEN_WRITE, in md_import_device()
|
/openbmc/linux/mm/ |
H A D | swapfile.c | 2778 p->bdev = blkdev_get_by_dev(inode->i_rdev, in claim_swapfile()
|
/openbmc/linux/fs/reiserfs/ |
H A D | journal.c | 2626 journal->j_dev_bd = blkdev_get_by_dev(jdev, blkdev_mode, holder, in journal_init_dev()
|
/openbmc/linux/fs/ext4/ |
H A D | super.c | 5865 bdev = blkdev_get_by_dev(j_dev, BLK_OPEN_READ | BLK_OPEN_WRITE, sb, in ext4_get_journal_blkdev()
|