Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/block/rnbd/
H A Drnbd-srv.c222 blkdev_put(sess_dev->bdev, NULL); in rnbd_destroy_sess_dev()
732 goto blkdev_put; in process_msg_open()
793 blkdev_put: in process_msg_open()
794 blkdev_put(bdev, NULL); in process_msg_open()
/openbmc/linux/block/
H A Dbdev.c883 blkdev_put(bdev, holder); in blkdev_get_by_path()
913 void blkdev_put(struct block_device *bdev, void *holder) in blkdev_put() function
947 EXPORT_SYMBOL(blkdev_put);
951 blkdev_put(handle->bdev, handle->holder); in bdev_release()
H A Dioctl.c486 blkdev_put(bdev, &bdev); in blkdev_bszset()
H A Dfops.c604 blkdev_put(I_BDEV(filp->f_mapping->host), filp->private_data); in blkdev_release()
H A Dgenhd.c372 blkdev_put(bdev, NULL); in disk_scan_partitions()
/openbmc/linux/drivers/s390/block/
H A Ddasd_genhd.c183 blkdev_put(bdev, NULL); in dasd_destroy_partitions()
/openbmc/linux/fs/nfs/blocklayout/
H A Ddev.c38 blkdev_put(dev->bdev, NULL); in bl_free_device()
378 blkdev_put(d->bdev, NULL); in bl_parse_scsi()
/openbmc/linux/kernel/power/
H A Dswap.c366 blkdev_put(hib_resume_bdev, NULL); in swsusp_swap_check()
1553 blkdev_put(hib_resume_bdev, holder); in swsusp_check()
1578 blkdev_put(hib_resume_bdev, exclusive ? &swsusp_holder : NULL); in swsusp_close()
/openbmc/linux/drivers/mtd/devices/
H A Dblock2mtd.c212 blkdev_put(dev->blkdev, NULL); in block2mtd_free_device()
/openbmc/linux/drivers/target/
H A Dtarget_core_pscsi.c380 blkdev_put(pdv->pdv_bd, pdv); in pscsi_create_type_disk()
568 blkdev_put(pdv->pdv_bd, pdv); in pscsi_destroy_device()
H A Dtarget_core_iblock.c180 blkdev_put(ib_dev->ibd_bd, ib_dev); in iblock_configure_device()
206 blkdev_put(ib_dev->ibd_bd, ib_dev); in iblock_destroy_device()
/openbmc/linux/drivers/block/
H A Dpktcdvd.c2217 blkdev_put(bdev, pd); in pkt_open_dev()
2236 blkdev_put(pd->bdev, pd); in pkt_release_dev()
2522 blkdev_put(bdev, NULL); in pkt_new_dev()
2547 blkdev_put(bdev, NULL); in pkt_new_dev()
2754 blkdev_put(pd->bdev, NULL); in pkt_remove_dev()
/openbmc/linux/drivers/md/bcache/
H A Dsuper.c1374 blkdev_put(dc->bdev, dc); in cached_dev_free()
2223 blkdev_put(ca->bdev, ca); in bch_cache_release()
2363 blkdev_put(bdev, ca); in register_cache()
2575 blkdev_put(bdev, NULL); in register_bcache()
2647 blkdev_put(bdev, holder); in register_bcache()
/openbmc/linux/drivers/nvme/target/
H A Dio-cmd-bdev.c54 blkdev_put(ns->bdev, NULL); in nvmet_bdev_ns_disable()
/openbmc/linux/fs/btrfs/
H A Dvolumes.c530 blkdev_put(*bdev, holder); in btrfs_get_bdev_and_sb()
537 blkdev_put(*bdev, holder); in btrfs_get_bdev_and_sb()
679 blkdev_put(bdev, holder); in btrfs_open_one_device()
1072 blkdev_put(device->bdev, device->holder); in __btrfs_free_extra_devids()
1118 blkdev_put(device->bdev, device->holder); in btrfs_close_bdev()
1420 blkdev_put(bdev, NULL); in btrfs_scan_one_device()
2404 blkdev_put(bdev, NULL); in btrfs_get_dev_args_from_path()
2858 blkdev_put(bdev, fs_info->bdev_holder); in btrfs_init_new_device()
H A Ddev-replace.c337 blkdev_put(bdev, fs_info->bdev_holder); in btrfs_init_dev_replace_tgtdev()
/openbmc/linux/fs/xfs/
H A Dxfs_super.c501 blkdev_put(rtdev, sb); in xfs_open_devices()
504 blkdev_put(logdev, sb); in xfs_open_devices()
H A Dxfs_buf.c1958 blkdev_put(bdev, btp->bt_mount->m_super); in xfs_free_buftarg()
/openbmc/linux/fs/ocfs2/cluster/
H A Dheartbeat.c1506 blkdev_put(reg->hr_bdev, NULL); in o2hb_region_release()
1897 blkdev_put(reg->hr_bdev, NULL); in o2hb_region_dev_store()
/openbmc/linux/drivers/block/xen-blkback/
H A Dxenbus.c476 blkdev_put(vbd->bdev, NULL); in xen_vbd_free()
/openbmc/linux/drivers/block/zram/
H A Dzram_drv.c423 blkdev_put(bdev, zram); in reset_bdev()
542 blkdev_put(bdev, zram); in backing_dev_store()
/openbmc/linux/include/linux/
H A Dblkdev.h1511 void blkdev_put(struct block_device *bdev, void *holder);
/openbmc/linux/drivers/md/
H A Ddm.c761 blkdev_put(bdev, _dm_claim_ptr); in open_table_device()
774 blkdev_put(td->dm_dev.bdev, _dm_claim_ptr); in close_table_device()
/openbmc/linux/mm/
H A Dswapfile.c2548 blkdev_put(bdev, p); in SYSCALL_DEFINE1()
3222 blkdev_put(p->bdev, p); in SYSCALL_DEFINE2()
/openbmc/linux/fs/ext4/
H A Dsuper.c5681 blkdev_put(sbi->s_journal_bdev, sb); in __ext4_fill_super()
5926 blkdev_put(bdev, sb); in ext4_get_journal_blkdev()
5965 blkdev_put(journal_bdev, sb); in ext4_open_dev_journal()
7349 blkdev_put(journal_bdev, sb); in ext4_kill_sb()

12