/linux/fs/ |
A D | super.c | 1259 blkdev_put(bdev, mode); in get_tree_bdev() 1268 blkdev_put(bdev, mode); in get_tree_bdev() 1277 blkdev_put(bdev, mode); in get_tree_bdev() 1289 blkdev_put(bdev, mode); in get_tree_bdev() 1364 blkdev_put(bdev, mode); in mount_bdev() 1385 blkdev_put(bdev, mode); in mount_bdev() 1400 blkdev_put(bdev, mode | FMODE_EXCL); in kill_block_super()
|
/linux/drivers/block/rnbd/ |
A D | rnbd-srv-dev.c | 44 blkdev_put(dev->bdev, dev->blk_open_flags); in rnbd_dev_close()
|
/linux/drivers/s390/block/ |
A D | dasd_genhd.c | 163 blkdev_put(bdev, FMODE_READ); in dasd_destroy_partitions()
|
/linux/block/ |
A D | bdev.c | 893 blkdev_put(bdev, mode); in blkdev_get_by_path() 901 void blkdev_put(struct block_device *bdev, fmode_t mode) in blkdev_put() function 963 EXPORT_SYMBOL(blkdev_put);
|
A D | ioctl.c | 106 blkdev_put(tmp, mode); in blkdev_reread_part() 458 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
|
A D | fops.c | 515 blkdev_put(bdev, filp->f_mode); in blkdev_close()
|
/linux/drivers/md/ |
A D | md-autodetect.c | 234 blkdev_put(bdev, FMODE_READ); in md_setup_drive()
|
A D | dm.c | 651 blkdev_put(bdev, td->dm_dev.mode | FMODE_EXCL); in open_table_device() 669 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device()
|
/linux/fs/nfs/blocklayout/ |
A D | dev.c | 38 blkdev_put(dev->bdev, FMODE_READ | FMODE_WRITE); in bl_free_device() 396 blkdev_put(d->bdev, FMODE_READ | FMODE_WRITE); in bl_parse_scsi()
|
/linux/kernel/power/ |
A D | swap.c | 364 blkdev_put(hib_resume_bdev, FMODE_WRITE); in swsusp_swap_check() 1543 blkdev_put(hib_resume_bdev, FMODE_READ | FMODE_EXCL); in swsusp_check() 1567 blkdev_put(hib_resume_bdev, mode); in swsusp_close()
|
/linux/drivers/target/ |
A D | target_core_iblock.c | 173 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_configure_device() 199 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_destroy_device()
|
A D | target_core_pscsi.c | 383 blkdev_put(pdv->pdv_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in pscsi_create_type_disk() 571 blkdev_put(pdv->pdv_bd, in pscsi_destroy_device()
|
/linux/drivers/md/bcache/ |
A D | super.c | 1378 blkdev_put(dc->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in cached_dev_free() 2226 blkdev_put(ca->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in bch_cache_release() 2367 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in register_cache() 2469 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bdev_worker() 2499 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_cache_worker() 2656 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bcache()
|
/linux/drivers/mtd/devices/ |
A D | block2mtd.c | 212 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
|
/linux/drivers/block/ |
A D | pktcdvd.c | 2201 blkdev_put(bdev, FMODE_READ | FMODE_EXCL); in pkt_open_dev() 2218 blkdev_put(pd->bdev, FMODE_READ | FMODE_EXCL); in pkt_release_dev() 2565 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev() 2590 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev() 2793 blkdev_put(pd->bdev, FMODE_READ | FMODE_NDELAY); in pkt_remove_dev()
|
/linux/drivers/nvme/target/ |
A D | io-cmd-bdev.c | 54 blkdev_put(ns->bdev, FMODE_WRITE | FMODE_READ); in nvmet_bdev_ns_disable()
|
/linux/fs/nilfs2/ |
A D | super.c | 1350 blkdev_put(sd.bdev, mode); in nilfs_mount() 1359 blkdev_put(sd.bdev, mode); in nilfs_mount()
|
/linux/fs/jfs/ |
A D | jfs_logmgr.c | 1152 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogOpen() 1496 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogClose()
|
/linux/fs/btrfs/ |
A D | volumes.c | 515 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb() 522 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb() 675 blkdev_put(bdev, flags); in btrfs_open_one_device() 1068 blkdev_put(device->bdev, device->mode); in __btrfs_free_extra_devids() 1114 blkdev_put(device->bdev, device->mode); in btrfs_close_bdev() 1393 blkdev_put(bdev, flags); in btrfs_scan_one_device() 2391 blkdev_put(bdev, FMODE_READ); in btrfs_get_dev_args_from_path() 2819 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_new_device()
|
A D | dev-replace.c | 339 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
|
/linux/fs/erofs/ |
A D | super.c | 732 blkdev_put(dif->bdev, FMODE_READ | FMODE_EXCL); in erofs_release_device_info()
|
/linux/drivers/block/zram/ |
A D | zram_drv.c | 436 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in reset_bdev() 566 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in backing_dev_store()
|
/linux/fs/ocfs2/cluster/ |
A D | heartbeat.c | 1513 blkdev_put(reg->hr_bdev, FMODE_READ|FMODE_WRITE); in o2hb_region_release() 1905 blkdev_put(reg->hr_bdev, FMODE_READ | FMODE_WRITE); in o2hb_region_dev_store()
|
/linux/include/linux/ |
A D | blkdev.h | 1292 void blkdev_put(struct block_device *bdev, fmode_t mode);
|
/linux/drivers/block/xen-blkback/ |
A D | xenbus.c | 470 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()
|