Home
last modified time | relevance | path

Searched refs:BLK_OPEN_EXCL (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/block/
Dbdev.c104 if (!(mode & BLK_OPEN_EXCL)) { in truncate_bdev_range()
111 if (!(mode & BLK_OPEN_EXCL)) in truncate_bdev_range()
773 mode |= BLK_OPEN_EXCL; in blkdev_get_by_dev()
778 if (WARN_ON_ONCE(mode & BLK_OPEN_EXCL)) { in blkdev_get_by_dev()
Dgenhd.c361 if (!(mode & BLK_OPEN_EXCL)) { in disk_scan_partitions()
369 bdev = blkdev_get_by_dev(disk_devt(disk), mode & ~BLK_OPEN_EXCL, NULL, in disk_scan_partitions()
382 if (!(mode & BLK_OPEN_EXCL)) in disk_scan_partitions()
Dioctl.c478 if (mode & BLK_OPEN_EXCL) in blkdev_bszset()
Dfops.c554 mode |= BLK_OPEN_EXCL; in file_to_blk_mode()
/Linux-v6.6/drivers/block/
Dswim.c617 if (fs->ref_count == -1 || (fs->ref_count && mode & BLK_OPEN_EXCL)) in floppy_open()
619 if (mode & BLK_OPEN_EXCL) in floppy_open()
Dswim3.c960 } else if (fs->ref_count == -1 || mode & BLK_OPEN_EXCL) in floppy_open()
987 if (mode & BLK_OPEN_EXCL) in floppy_open()
Dloop.c1017 if (!(mode & BLK_OPEN_EXCL)) { in loop_configure()
1119 if (!(mode & BLK_OPEN_EXCL)) in loop_configure()
1127 if (!(mode & BLK_OPEN_EXCL)) in loop_configure()
Dataflop.c1927 if (p->ref == -1 || (p->ref && mode & BLK_OPEN_EXCL)) in floppy_open()
1929 if (mode & BLK_OPEN_EXCL) in floppy_open()
/Linux-v6.6/include/linux/
Dblkdev.h122 #define BLK_OPEN_EXCL ((__force blk_mode_t)(1 << 2)) macro