/Linux-v4.19/drivers/char/ |
D | raw.c | 91 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/ |
D | dasd_genhd.c | 170 blkdev_put(bdev, FMODE_READ); in dasd_destroy_partitions()
|
/Linux-v4.19/fs/nfs/blocklayout/ |
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-v4.19/drivers/nvme/target/ |
D | io-cmd-bdev.c | 42 blkdev_put(ns->bdev, FMODE_WRITE | FMODE_READ); in nvmet_bdev_ns_disable()
|
/Linux-v4.19/drivers/target/ |
D | target_core_iblock.c | 175 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()
|
D | target_core_pscsi.c | 398 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/ |
D | super.c | 1152 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()
|
D | block_dev.c | 1700 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/ |
D | swap.c | 352 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/ |
D | block2mtd.c | 209 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
|
/Linux-v4.19/drivers/block/ |
D | pktcdvd.c | 2231 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/ |
D | super.c | 1206 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/ |
D | super.c | 1355 blkdev_put(sd.bdev, mode); in nilfs_mount() 1364 blkdev_put(sd.bdev, mode); in nilfs_mount()
|
/Linux-v4.19/block/ |
D | ioctl.c | 505 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
|
D | genhd.c | 627 blkdev_put(bdev, FMODE_READ); in register_disk()
|
/Linux-v4.19/fs/gfs2/ |
D | ops_fstype.c | 1274 blkdev_put(bdev, mode); in gfs2_mount() 1319 blkdev_put(bdev, mode); in gfs2_mount()
|
/Linux-v4.19/fs/btrfs/ |
D | volumes.c | 400 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()
|
D | dev-replace.c | 269 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
|
/Linux-v4.19/fs/jfs/ |
D | jfs_logmgr.c | 1166 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/ |
D | zram_drv.c | 295 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/ |
D | heartbeat.c | 1581 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/ |
D | xenbus.c | 447 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()
|
/Linux-v4.19/drivers/md/ |
D | dm.c | 724 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/ |
D | swapfile.c | 2654 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/ |
D | xfs_super.c | 675 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in xfs_blkdev_put()
|