Home
last modified time | relevance | path

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

/linux-6.6.21/block/
Dbdev.c104 if (!(mode & BLK_OPEN_EXCL)) { in truncate_bdev_range()
111 if (!(mode & BLK_OPEN_EXCL)) in truncate_bdev_range()
775 mode |= BLK_OPEN_EXCL; in blkdev_get_by_dev()
780 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.c479 if (mode & BLK_OPEN_EXCL) in blkdev_bszset()
Dfops.c554 mode |= BLK_OPEN_EXCL; in file_to_blk_mode()
/linux-6.6.21/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.c1015 if (!(mode & BLK_OPEN_EXCL)) { in loop_configure()
1117 if (!(mode & BLK_OPEN_EXCL)) in loop_configure()
1125 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-6.6.21/include/linux/
Dblkdev.h122 #define BLK_OPEN_EXCL ((__force blk_mode_t)(1 << 2)) macro