Home
last modified time | relevance | path

Searched refs:blkdev_put (Results 1 – 25 of 37) sorted by relevance

12

/linux/fs/
A Dsuper.c1259 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 Drnbd-srv-dev.c44 blkdev_put(dev->bdev, dev->blk_open_flags); in rnbd_dev_close()
/linux/drivers/s390/block/
A Ddasd_genhd.c163 blkdev_put(bdev, FMODE_READ); in dasd_destroy_partitions()
/linux/block/
A Dbdev.c893 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 Dioctl.c106 blkdev_put(tmp, mode); in blkdev_reread_part()
458 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
A Dfops.c515 blkdev_put(bdev, filp->f_mode); in blkdev_close()
/linux/drivers/md/
A Dmd-autodetect.c234 blkdev_put(bdev, FMODE_READ); in md_setup_drive()
A Ddm.c651 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 Ddev.c38 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 Dswap.c364 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 Dtarget_core_iblock.c173 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 Dtarget_core_pscsi.c383 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 Dsuper.c1378 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 Dblock2mtd.c212 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
/linux/drivers/block/
A Dpktcdvd.c2201 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 Dio-cmd-bdev.c54 blkdev_put(ns->bdev, FMODE_WRITE | FMODE_READ); in nvmet_bdev_ns_disable()
/linux/fs/nilfs2/
A Dsuper.c1350 blkdev_put(sd.bdev, mode); in nilfs_mount()
1359 blkdev_put(sd.bdev, mode); in nilfs_mount()
/linux/fs/jfs/
A Djfs_logmgr.c1152 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 Dvolumes.c515 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 Ddev-replace.c339 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
/linux/fs/erofs/
A Dsuper.c732 blkdev_put(dif->bdev, FMODE_READ | FMODE_EXCL); in erofs_release_device_info()
/linux/drivers/block/zram/
A Dzram_drv.c436 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 Dheartbeat.c1513 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 Dblkdev.h1292 void blkdev_put(struct block_device *bdev, fmode_t mode);
/linux/drivers/block/xen-blkback/
A Dxenbus.c470 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()

Completed in 93 milliseconds

12