Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/char/
Draw.c91 blkdev_put(bdev, filp->f_mode | FMODE_EXCL); in raw_open()
113 blkdev_put(bdev, filp->f_mode | FMODE_EXCL); in raw_release()
/Linux-v4.19/drivers/s390/block/
Ddasd_genhd.c170 blkdev_put(bdev, FMODE_READ); in dasd_destroy_partitions()
/Linux-v4.19/fs/nfs/blocklayout/
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-v4.19/drivers/nvme/target/
Dio-cmd-bdev.c42 blkdev_put(ns->bdev, FMODE_WRITE | FMODE_READ); in nvmet_bdev_ns_disable()
/Linux-v4.19/drivers/target/
Dtarget_core_iblock.c175 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_configure_device()
200 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_destroy_device()
Dtarget_core_pscsi.c398 blkdev_put(pdv->pdv_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in pscsi_create_type_disk()
586 blkdev_put(pdv->pdv_bd, in pscsi_destroy_device()
/Linux-v4.19/fs/
Dsuper.c1152 blkdev_put(bdev, mode); in mount_bdev()
1173 blkdev_put(bdev, mode); in mount_bdev()
1188 blkdev_put(bdev, mode | FMODE_EXCL); in kill_block_super()
Dblock_dev.c1700 blkdev_put(bdev, mode); in blkdev_get_by_path()
1814 void blkdev_put(struct block_device *bdev, fmode_t mode) in blkdev_put() function
1860 EXPORT_SYMBOL(blkdev_put);
1865 blkdev_put(bdev, filp->f_mode); in blkdev_close()
/Linux-v4.19/kernel/power/
Dswap.c352 blkdev_put(hib_resume_bdev, FMODE_WRITE); in swsusp_swap_check()
1539 blkdev_put(hib_resume_bdev, FMODE_READ); in swsusp_check()
1563 blkdev_put(hib_resume_bdev, mode); in swsusp_close()
/Linux-v4.19/drivers/mtd/devices/
Dblock2mtd.c209 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
/Linux-v4.19/drivers/block/
Dpktcdvd.c2231 blkdev_put(pd->bdev, FMODE_READ | FMODE_EXCL); in pkt_open_dev()
2248 blkdev_put(pd->bdev, FMODE_READ | FMODE_EXCL); in pkt_release_dev()
2600 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev()
2625 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev()
2825 blkdev_put(pd->bdev, FMODE_READ | FMODE_NDELAY); in pkt_remove_dev()
/Linux-v4.19/drivers/md/bcache/
Dsuper.c1206 blkdev_put(dc->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in cached_dev_free()
2041 blkdev_put(ca->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in bch_cache_release()
2112 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in register_cache()
2268 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in register_bcache()
/Linux-v4.19/fs/nilfs2/
Dsuper.c1355 blkdev_put(sd.bdev, mode); in nilfs_mount()
1364 blkdev_put(sd.bdev, mode); in nilfs_mount()
/Linux-v4.19/block/
Dioctl.c505 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
Dgenhd.c627 blkdev_put(bdev, FMODE_READ); in register_disk()
/Linux-v4.19/fs/gfs2/
Dops_fstype.c1274 blkdev_put(bdev, mode); in gfs2_mount()
1319 blkdev_put(bdev, mode); in gfs2_mount()
/Linux-v4.19/fs/btrfs/
Dvolumes.c400 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb()
407 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb()
741 blkdev_put(bdev, flags); in btrfs_open_one_device()
970 blkdev_put(device->bdev, device->mode); in btrfs_free_extra_devids()
1014 blkdev_put(device->bdev, device->mode); in btrfs_close_bdev()
1255 blkdev_put(bdev, flags); in btrfs_scan_one_device()
2122 blkdev_put(bdev, FMODE_READ); in btrfs_find_device_by_path()
2532 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_new_device()
Ddev-replace.c269 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
/Linux-v4.19/fs/jfs/
Djfs_logmgr.c1166 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogOpen()
1509 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogClose()
/Linux-v4.19/drivers/block/zram/
Dzram_drv.c295 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in reset_bdev()
432 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in backing_dev_store()
/Linux-v4.19/fs/ocfs2/cluster/
Dheartbeat.c1581 blkdev_put(reg->hr_bdev, FMODE_READ|FMODE_WRITE); in o2hb_region_release()
1986 blkdev_put(reg->hr_bdev, FMODE_READ|FMODE_WRITE); in o2hb_region_dev_store()
/Linux-v4.19/drivers/block/xen-blkback/
Dxenbus.c447 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()
/Linux-v4.19/drivers/md/
Ddm.c724 blkdev_put(bdev, td->dm_dev.mode | FMODE_EXCL); in open_table_device()
742 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device()
/Linux-v4.19/mm/
Dswapfile.c2654 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in SYSCALL_DEFINE1()
3300 blkdev_put(p->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in SYSCALL_DEFINE2()
/Linux-v4.19/fs/xfs/
Dxfs_super.c675 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in xfs_blkdev_put()

12