Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/fs/
A Dsuper.c1256 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 Drnbd-srv.c222 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 Dbdev.c811 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 Dioctl.c460 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
A Dfops.c507 blkdev_put(bdev, filp->f_mode); in blkdev_close()
A Dgenhd.c388 blkdev_put(bdev, mode & ~FMODE_EXCL); in disk_scan_partitions()
/linux-6.3-rc2/drivers/s390/block/
A Ddasd_genhd.c182 blkdev_put(bdev, FMODE_READ); in dasd_destroy_partitions()
/linux-6.3-rc2/fs/nfs/blocklayout/
A Ddev.c38 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 Dtarget_core_iblock.c178 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 Dtarget_core_pscsi.c380 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 Dswap.c366 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 Dsuper.c1373 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 Dblock2mtd.c212 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device()
/linux-6.3-rc2/drivers/block/
A Dpktcdvd.c2187 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 Dio-cmd-bdev.c54 blkdev_put(ns->bdev, FMODE_WRITE | FMODE_READ); in nvmet_bdev_ns_disable()
/linux-6.3-rc2/fs/nilfs2/
A Dsuper.c1358 blkdev_put(sd.bdev, mode); in nilfs_mount()
1367 blkdev_put(sd.bdev, mode); in nilfs_mount()
/linux-6.3-rc2/fs/btrfs/
A Dvolumes.c510 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 Ddev-replace.c337 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
/linux-6.3-rc2/fs/jfs/
A Djfs_logmgr.c1144 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 Dheartbeat.c1506 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 Dsuper.c857 blkdev_put(dif->bdev, FMODE_READ | FMODE_EXCL); in erofs_release_device_info()
/linux-6.3-rc2/drivers/block/xen-blkback/
A Dxenbus.c476 blkdev_put(vbd->bdev, vbd->readonly ? FMODE_READ : FMODE_WRITE); in xen_vbd_free()
/linux-6.3-rc2/drivers/block/zram/
A Dzram_drv.c453 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 Dblkdev.h1489 void blkdev_put(struct block_device *bdev, fmode_t mode);
/linux-6.3-rc2/drivers/md/
A Ddm.c774 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()

Completed in 76 milliseconds

12