Searched refs:blkdev_get (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/drivers/s390/block/
H A Ddasd_genhd.c112 rc = blkdev_get(bdev, FMODE_READ, NULL); dasd_scan_partitions()
115 "scan partitions error, blkdev_get returned %d", dasd_scan_partitions()
134 * Since the matching blkdev_put call to the blkdev_get in dasd_scan_partitions()
178 /* Matching blkdev_put to the blkdev_get in dasd_scan_partitions. */ dasd_destroy_partitions()
H A Ddasd_ioctl.c409 * the blkdev_get in dasd_scan_partitions. dasd_ioctl_information()
H A Ddasd.c3367 * the blkdev_get in dasd_scan_partitions. We are only interested dasd_generic_set_offline()
/linux-4.1.27/fs/
H A Dblock_dev.c1291 * blkdev_get - open a block device
1309 int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder) blkdev_get() function
1359 * way @mode is used in blkdev_get/put(). blkdev_get()
1373 EXPORT_SYMBOL(blkdev_get); variable
1382 * and @holder are identical to blkdev_get().
1402 err = blkdev_get(bdev, mode, holder); blkdev_get_by_path()
1422 * @holder are identical to blkdev_get().
1446 err = blkdev_get(bdev, mode, holder); blkdev_get_by_dev()
1479 return blkdev_get(bdev, filp->f_mode, filp); blkdev_open()
/linux-4.1.27/drivers/char/
H A Draw.c74 err = blkdev_get(bdev, filp->f_mode | FMODE_EXCL, raw_open); raw_open()
/linux-4.1.27/block/
H A Dioctl.c399 if (blkdev_get(bdev, mode | FMODE_EXCL, &bdev) < 0) blkdev_ioctl()
H A Dgenhd.c556 err = blkdev_get(bdev, FMODE_READ, NULL); register_disk()
/linux-4.1.27/fs/btrfs/
H A Dvolumes.h70 /* the mode sent to blkdev_get */
/linux-4.1.27/kernel/power/
H A Dswap.c259 res = blkdev_get(hib_resume_bdev, FMODE_WRITE, NULL); swsusp_swap_check()
/linux-4.1.27/drivers/block/
H A Dpktcdvd.c2200 if ((ret = blkdev_get(pd->bdev, FMODE_READ | FMODE_EXCL, pd))) pkt_open_dev()
2640 ret = blkdev_get(bdev, FMODE_READ | FMODE_NDELAY, NULL); pkt_new_dev()
H A Drbd.c3673 * rbd_add() -> blkdev_get() -> rbd_open() rbd_dev_update_size()
/linux-4.1.27/fs/ocfs2/cluster/
H A Dheartbeat.c1759 ret = blkdev_get(reg->hr_bdev, FMODE_WRITE | FMODE_READ, NULL); o2hb_region_dev_write()
/linux-4.1.27/mm/
H A Dswapfile.c2145 error = blkdev_get(p->bdev, claim_swapfile()
/linux-4.1.27/include/linux/
H A Dfs.h2285 extern int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder);

Completed in 548 milliseconds