/linux-6.3-rc2/fs/ |
A D | super.c | 1256 blkdev_put(bdev, mode); in get_tree_bdev() 1265 blkdev_put(bdev, mode); in get_tree_bdev() 1274 blkdev_put(bdev, mode); in get_tree_bdev() 1286 blkdev_put(bdev, mode); in get_tree_bdev() 1363 blkdev_put(bdev, mode); in mount_bdev() 1386 blkdev_put(bdev, mode); in mount_bdev() 1401 blkdev_put(bdev, mode | FMODE_EXCL); in kill_block_super()
|
/linux-6.3-rc2/drivers/block/rnbd/ |
A D | rnbd-srv.c | 222 blkdev_put(sess_dev->bdev, sess_dev->open_flags); in rnbd_destroy_sess_dev() 736 goto blkdev_put; in process_msg_open() 797 blkdev_put: in process_msg_open() 798 blkdev_put(bdev, open_flags); in process_msg_open()
|
/linux-6.3-rc2/block/ |
A D | bdev.c | 811 blkdev_put(bdev, mode); in blkdev_get_by_path() 819 void blkdev_put(struct block_device *bdev, fmode_t mode) in blkdev_put() function 881 EXPORT_SYMBOL(blkdev_put);
|
A D | ioctl.c | 460 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
|
A D | fops.c | 507 blkdev_put(bdev, filp->f_mode); in blkdev_close()
|
A D | genhd.c | 388 blkdev_put(bdev, mode & ~FMODE_EXCL); in disk_scan_partitions()
|
/linux-6.3-rc2/drivers/s390/block/ |
A D | dasd_genhd.c | 182 blkdev_put(bdev, FMODE_READ); in dasd_destroy_partitions()
|
/linux-6.3-rc2/fs/nfs/blocklayout/ |
A D | dev.c | 38 blkdev_put(dev->bdev, FMODE_READ | FMODE_WRITE); in bl_free_device() 376 blkdev_put(d->bdev, FMODE_READ | FMODE_WRITE); in bl_parse_scsi()
|
/linux-6.3-rc2/drivers/target/ |
A D | target_core_iblock.c | 178 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_configure_device() 204 blkdev_put(ib_dev->ibd_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in iblock_destroy_device()
|
A D | target_core_pscsi.c | 380 blkdev_put(pdv->pdv_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in pscsi_create_type_disk() 568 blkdev_put(pdv->pdv_bd, in pscsi_destroy_device()
|
/linux-6.3-rc2/kernel/power/ |
A D | swap.c | 366 blkdev_put(hib_resume_bdev, FMODE_WRITE); in swsusp_swap_check() 1550 blkdev_put(hib_resume_bdev, FMODE_READ | FMODE_EXCL); in swsusp_check() 1574 blkdev_put(hib_resume_bdev, mode); in swsusp_close()
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | super.c | 1373 blkdev_put(dc->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in cached_dev_free() 2222 blkdev_put(ca->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in bch_cache_release() 2363 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in register_cache() 2465 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bdev_worker() 2495 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_cache_worker() 2652 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bcache()
|
/linux-6.3-rc2/drivers/mtd/devices/ |
A D | block2mtd.c | 212 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
|
/linux-6.3-rc2/drivers/block/ |
A D | pktcdvd.c | 2187 blkdev_put(bdev, FMODE_READ | FMODE_EXCL); in pkt_open_dev() 2204 blkdev_put(pd->bdev, FMODE_READ | FMODE_EXCL); in pkt_release_dev() 2550 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev() 2575 blkdev_put(bdev, FMODE_READ | FMODE_NDELAY); in pkt_new_dev() 2778 blkdev_put(pd->bdev, FMODE_READ | FMODE_NDELAY); in pkt_remove_dev()
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | io-cmd-bdev.c | 54 blkdev_put(ns->bdev, FMODE_WRITE | FMODE_READ); in nvmet_bdev_ns_disable()
|
/linux-6.3-rc2/fs/nilfs2/ |
A D | super.c | 1358 blkdev_put(sd.bdev, mode); in nilfs_mount() 1367 blkdev_put(sd.bdev, mode); in nilfs_mount()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | volumes.c | 510 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb() 517 blkdev_put(*bdev, flags); in btrfs_get_bdev_and_sb() 659 blkdev_put(bdev, flags); in btrfs_open_one_device() 1060 blkdev_put(device->bdev, device->mode); in __btrfs_free_extra_devids() 1106 blkdev_put(device->bdev, device->mode); in btrfs_close_bdev() 1395 blkdev_put(bdev, flags); in btrfs_scan_one_device() 2389 blkdev_put(bdev, FMODE_READ); in btrfs_get_dev_args_from_path() 2843 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_new_device()
|
A D | dev-replace.c | 337 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
|
/linux-6.3-rc2/fs/jfs/ |
A D | jfs_logmgr.c | 1144 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogOpen() 1488 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogClose()
|
/linux-6.3-rc2/fs/ocfs2/cluster/ |
A D | heartbeat.c | 1506 blkdev_put(reg->hr_bdev, FMODE_READ|FMODE_WRITE); in o2hb_region_release() 1896 blkdev_put(reg->hr_bdev, FMODE_READ | FMODE_WRITE); in o2hb_region_dev_store()
|
/linux-6.3-rc2/fs/erofs/ |
A D | super.c | 857 blkdev_put(dif->bdev, FMODE_READ | FMODE_EXCL); in erofs_release_device_info()
|
/linux-6.3-rc2/drivers/block/xen-blkback/ |
A D | xenbus.c | 476 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()
|
/linux-6.3-rc2/drivers/block/zram/ |
A D | zram_drv.c | 453 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in reset_bdev() 572 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in backing_dev_store()
|
/linux-6.3-rc2/include/linux/ |
A D | blkdev.h | 1489 void blkdev_put(struct block_device *bdev, fmode_t mode);
|
/linux-6.3-rc2/drivers/md/ |
A D | dm.c | 774 blkdev_put(bdev, mode | FMODE_EXCL); in open_table_device() 787 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device()
|