/kernel/linux/linux-5.10/drivers/char/ |
D | raw.c | 81 filp->f_mode | FMODE_EXCL, raw_open); in raw_open() 100 blkdev_put(bdev, filp->f_mode | FMODE_EXCL); in raw_open() 122 blkdev_put(bdev, filp->f_mode | FMODE_EXCL); in raw_release()
|
/kernel/linux/linux-5.10/drivers/hyperhold/ |
D | hp_device.c | 39 blkdev_put(dev->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in unbind_bdev() 65 dev->bdev = blkdev_get_by_dev(inode->i_rdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL, dev); in bind_bdev()
|
/kernel/linux/linux-5.10/block/ |
D | ioctl.c | 108 mode &= ~FMODE_EXCL; in blkdev_reread_part() 490 if (mode & FMODE_EXCL) in blkdev_bszset() 493 if (IS_ERR(blkdev_get_by_dev(bdev->bd_dev, mode | FMODE_EXCL, &bdev))) in blkdev_bszset() 496 blkdev_put(bdev, mode | FMODE_EXCL); in blkdev_bszset()
|
/kernel/liteos_a/fs/proc/include/ |
D | proc_fs.h | 68 #define FMODE_EXCL ((fmode_t)0x80) macro
|
/kernel/linux/linux-5.10/kernel/power/ |
D | hibernate.c | 691 swsusp_close(FMODE_READ | FMODE_EXCL); in load_image_and_restore() 981 swsusp_close(FMODE_READ | FMODE_EXCL); in software_resume() 1016 swsusp_close(FMODE_READ | FMODE_EXCL); in software_resume()
|
D | swap.c | 1527 FMODE_READ | FMODE_EXCL, &holder); in swsusp_check() 1549 blkdev_put(hib_resume_bdev, FMODE_READ | FMODE_EXCL); in swsusp_check()
|
/kernel/linux/linux-5.10/drivers/mtd/devices/ |
D | block2mtd.c | 209 blkdev_put(dev->blkdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in block2mtd_free_device() 222 const fmode_t mode = FMODE_READ | FMODE_WRITE | FMODE_EXCL; in add_device()
|
/kernel/linux/linux-5.10/fs/pstore/ |
D | blk.c | 245 mode |= FMODE_EXCL; in psblk_get_bdev() 284 mode |= FMODE_EXCL; in psblk_put_bdev()
|
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_iblock.c | 93 mode = FMODE_READ|FMODE_EXCL; in iblock_configure_device() 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 | 375 FMODE_WRITE|FMODE_READ|FMODE_EXCL, pdv); in pscsi_create_type_disk() 385 blkdev_put(pdv->pdv_bd, FMODE_WRITE|FMODE_READ|FMODE_EXCL); in pscsi_create_type_disk() 574 FMODE_WRITE|FMODE_READ|FMODE_EXCL); in pscsi_destroy_device()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | dev-replace.c | 255 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_dev_replace_tgtdev() 311 device->mode = FMODE_EXCL; in btrfs_init_dev_replace_tgtdev() 326 blkdev_put(bdev, FMODE_EXCL); in btrfs_init_dev_replace_tgtdev()
|
/kernel/linux/linux-5.10/fs/ |
D | super.c | 1295 fmode_t mode = FMODE_READ | FMODE_EXCL; in get_tree_bdev() 1381 fmode_t mode = FMODE_READ | FMODE_EXCL; in mount_bdev() 1458 WARN_ON_ONCE(!(mode & FMODE_EXCL)); in kill_block_super() 1459 blkdev_put(bdev, mode | FMODE_EXCL); in kill_block_super()
|
D | block_dev.c | 121 if (!(mode & FMODE_EXCL)) { in truncate_bdev_range() 1491 if (!for_part && (mode & FMODE_EXCL)) { in __blkdev_get() 1764 filp->f_mode |= FMODE_EXCL; in blkdev_open() 1828 if (mode & FMODE_EXCL) { in blkdev_put()
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | super.c | 1401 blkdev_put(dc->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in cached_dev_free() 2246 blkdev_put(ca->bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in bch_cache_release() 2388 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in register_cache() 2492 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bdev_worker() 2522 blkdev_put(args->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_cache_worker() 2590 FMODE_READ|FMODE_WRITE|FMODE_EXCL, in register_bcache() 2672 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in register_bcache()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | swim.c | 615 if (fs->ref_count == -1 || (fs->ref_count && mode & FMODE_EXCL)) in floppy_open() 618 if (mode & FMODE_EXCL) in floppy_open()
|
D | swim3.c | 943 } else if (fs->ref_count == -1 || mode & FMODE_EXCL) in floppy_open() 970 if (mode & FMODE_EXCL) in floppy_open()
|
D | ataflop.c | 1899 if (p->ref == -1 || (p->ref && mode & FMODE_EXCL)) in floppy_open() 1902 if (mode & FMODE_EXCL) in floppy_open()
|
D | pktcdvd.c | 2120 bdev = blkdev_get_by_dev(pd->bdev->bd_dev, FMODE_READ | FMODE_EXCL, pd); in pkt_open_dev() 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()
|
/kernel/linux/linux-5.10/fs/jfs/ |
D | jfs_logmgr.c | 1111 bdev = blkdev_get_by_dev(sbi->logdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in lmLogOpen() 1152 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogOpen() 1496 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in lmLogClose()
|
/kernel/linux/linux-5.10/drivers/block/zram/ |
D | zram_drv.c | 354 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in reset_bdev() 443 FMODE_READ | FMODE_WRITE | FMODE_EXCL, zram); in backing_dev_store() 492 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in backing_dev_store()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_super.c | 323 *bdevp = blkdev_get_by_path(name, FMODE_READ|FMODE_WRITE|FMODE_EXCL, in xfs_blkdev_get() 338 blkdev_put(bdev, FMODE_READ|FMODE_WRITE|FMODE_EXCL); in xfs_blkdev_put()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm.c | 757 bdev = blkdev_get_by_dev(dev, td->dm_dev.mode | FMODE_EXCL, _dm_claim_ptr); in open_table_device() 763 blkdev_put(bdev, td->dm_dev.mode | FMODE_EXCL); in open_table_device() 781 blkdev_put(td->dm_dev.bdev, td->dm_dev.mode | FMODE_EXCL); in close_table_device()
|
/kernel/linux/linux-5.10/mm/ |
D | swapfile.c | 2720 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in SYSCALL_DEFINE1() 2942 FMODE_READ | FMODE_WRITE | FMODE_EXCL, p); in claim_swapfile() 3400 blkdev_put(p->bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in SYSCALL_DEFINE2()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
D | super.c | 1302 fmode_t mode = FMODE_READ | FMODE_EXCL; in nilfs_mount()
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_nl.c | 1709 FMODE_READ | FMODE_WRITE | FMODE_EXCL, claim_ptr); in open_backing_dev() 1721 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in open_backing_dev() 1769 blkdev_put(bdev, FMODE_READ | FMODE_WRITE | FMODE_EXCL); in close_backing_dev()
|