/Linux-v5.10/drivers/char/ |
D | raw.c | 100 blkdev_put(bdev, filp->f_mode | FMODE_EXCL); in raw_open() 122 blkdev_put(bdev, filp->f_mode | FMODE_EXCL); in raw_release()
|
/Linux-v5.10/drivers/block/rnbd/ |
D | rnbd-srv-dev.c | 44 blkdev_put(dev->bdev, dev->blk_open_flags); in rnbd_dev_close()
|
/Linux-v5.10/fs/ |
D | super.c | 1308 blkdev_put(bdev, mode); in get_tree_bdev() 1317 blkdev_put(bdev, mode); in get_tree_bdev() 1326 blkdev_put(bdev, mode); in get_tree_bdev() 1338 blkdev_put(bdev, mode); in get_tree_bdev() 1413 blkdev_put(bdev, mode); in mount_bdev() 1434 blkdev_put(bdev, mode); in mount_bdev() 1449 blkdev_put(bdev, mode | FMODE_EXCL); in kill_block_super()
|
D | block_dev.c | 1676 blkdev_put(bdev, mode); in blkdev_get_by_path() 1800 void blkdev_put(struct block_device *bdev, fmode_t mode) in blkdev_put() function 1846 EXPORT_SYMBOL(blkdev_put); 1851 blkdev_put(bdev, filp->f_mode); in blkdev_close()
|
/Linux-v5.10/drivers/s390/block/ |
D | dasd_genhd.c | 153 blkdev_put(bdev, FMODE_READ); in dasd_destroy_partitions()
|
/Linux-v5.10/fs/pstore/ |
D | blk.c | 251 blkdev_put(bdev, mode); in psblk_get_bdev() 275 blkdev_put(bdev, mode); in psblk_put_bdev()
|
/Linux-v5.10/drivers/md/ |
D | md-autodetect.c | 234 blkdev_put(bdev, FMODE_READ); in md_setup_drive()
|
D | dm.c | 753 blkdev_put(bdev, td->dm_dev.mode | FMODE_EXCL); in open_table_device() 771 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device()
|
/Linux-v5.10/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-v5.10/drivers/target/ |
D | target_core_iblock.c | 162 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_configure_device() 187 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_destroy_device()
|
D | target_core_pscsi.c | 385 blkdev_put(pdv->pdv_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in pscsi_create_type_disk() 573 blkdev_put(pdv->pdv_bd, in pscsi_destroy_device()
|
/Linux-v5.10/kernel/power/ |
D | swap.c | 364 blkdev_put(hib_resume_bdev, FMODE_WRITE); in swsusp_swap_check() 1548 blkdev_put(hib_resume_bdev, FMODE_READ); in swsusp_check() 1572 blkdev_put(hib_resume_bdev, mode); in swsusp_close()
|
/Linux-v5.10/drivers/md/bcache/ |
D | super.c | 1358 blkdev_put(dc->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in cached_dev_free() 2193 blkdev_put(ca->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in bch_cache_release() 2335 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in register_cache() 2439 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bdev_worker() 2469 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_cache_worker() 2619 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bcache()
|
/Linux-v5.10/drivers/mtd/devices/ |
D | block2mtd.c | 209 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
|
/Linux-v5.10/drivers/block/ |
D | pktcdvd.c | 2168 blkdev_put(bdev, FMODE_READ | FMODE_EXCL); in pkt_open_dev() 2185 blkdev_put(pd->bdev, FMODE_READ | FMODE_EXCL); in pkt_release_dev() 2531 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev() 2555 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev() 2756 blkdev_put(pd->bdev, FMODE_READ | FMODE_NDELAY); in pkt_remove_dev()
|
/Linux-v5.10/drivers/nvme/target/ |
D | io-cmd-bdev.c | 95 blkdev_put(ns->bdev, FMODE_WRITE | FMODE_READ); in nvmet_bdev_ns_disable()
|
/Linux-v5.10/fs/nilfs2/ |
D | super.c | 1350 blkdev_put(sd.bdev, mode); in nilfs_mount() 1359 blkdev_put(sd.bdev, mode); in nilfs_mount()
|
/Linux-v5.10/block/ |
D | ioctl.c | 487 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
|
/Linux-v5.10/fs/btrfs/ |
D | volumes.c | 524 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb() 531 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb() 682 blkdev_put(bdev, flags); in btrfs_open_one_device() 1073 blkdev_put(device->bdev, device->mode); in __btrfs_free_extra_devids() 1118 blkdev_put(device->bdev, device->mode); in btrfs_close_bdev() 1369 blkdev_put(bdev, flags); in btrfs_scan_one_device() 2304 blkdev_put(bdev, FMODE_READ); in btrfs_find_device_by_path() 2710 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_new_device()
|
D | dev-replace.c | 326 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
|
/Linux-v5.10/fs/jfs/ |
D | jfs_logmgr.c | 1152 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogOpen() 1495 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogClose()
|
/Linux-v5.10/fs/ocfs2/cluster/ |
D | heartbeat.c | 1517 blkdev_put(reg->hr_bdev, FMODE_READ|FMODE_WRITE); in o2hb_region_release() 1908 blkdev_put(reg->hr_bdev, FMODE_READ | FMODE_WRITE); in o2hb_region_dev_store()
|
/Linux-v5.10/drivers/block/zram/ |
D | zram_drv.c | 408 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in reset_bdev() 546 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in backing_dev_store()
|
/Linux-v5.10/drivers/block/xen-blkback/ |
D | xenbus.c | 470 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()
|
/Linux-v5.10/include/linux/ |
D | blkdev.h | 1999 void blkdev_put(struct block_device *bdev, fmode_t mode);
|