Searched refs:blkdev_get (Results 1 - 14 of 14) sorted by relevance
/linux-4.1.27/drivers/s390/block/ |
H A D | dasd_genhd.c | 112 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 D | dasd_ioctl.c | 409 * the blkdev_get in dasd_scan_partitions. dasd_ioctl_information()
|
H A D | dasd.c | 3367 * the blkdev_get in dasd_scan_partitions. We are only interested dasd_generic_set_offline()
|
/linux-4.1.27/fs/ |
H A D | block_dev.c | 1291 * 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 D | raw.c | 74 err = blkdev_get(bdev, filp->f_mode | FMODE_EXCL, raw_open); raw_open()
|
/linux-4.1.27/block/ |
H A D | ioctl.c | 399 if (blkdev_get(bdev, mode | FMODE_EXCL, &bdev) < 0) blkdev_ioctl()
|
H A D | genhd.c | 556 err = blkdev_get(bdev, FMODE_READ, NULL); register_disk()
|
/linux-4.1.27/fs/btrfs/ |
H A D | volumes.h | 70 /* the mode sent to blkdev_get */
|
/linux-4.1.27/kernel/power/ |
H A D | swap.c | 259 res = blkdev_get(hib_resume_bdev, FMODE_WRITE, NULL); swsusp_swap_check()
|
/linux-4.1.27/drivers/block/ |
H A D | pktcdvd.c | 2200 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 D | rbd.c | 3673 * rbd_add() -> blkdev_get() -> rbd_open() rbd_dev_update_size()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
H A D | heartbeat.c | 1759 ret = blkdev_get(reg->hr_bdev, FMODE_WRITE | FMODE_READ, NULL); o2hb_region_dev_write()
|
/linux-4.1.27/mm/ |
H A D | swapfile.c | 2145 error = blkdev_get(p->bdev, claim_swapfile()
|
/linux-4.1.27/include/linux/ |
H A D | fs.h | 2285 extern int blkdev_get(struct block_device *bdev, fmode_t mode, void *holder);
|
Completed in 636 milliseconds