Searched refs:BLK_OPEN_EXCL (Results 1 – 9 of 9) sorted by relevance
104 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()
361 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()
478 if (mode & BLK_OPEN_EXCL) in blkdev_bszset()
554 mode |= BLK_OPEN_EXCL; in file_to_blk_mode()
617 if (fs->ref_count == -1 || (fs->ref_count && mode & BLK_OPEN_EXCL)) in floppy_open()619 if (mode & BLK_OPEN_EXCL) in floppy_open()
960 } else if (fs->ref_count == -1 || mode & BLK_OPEN_EXCL) in floppy_open()987 if (mode & BLK_OPEN_EXCL) in floppy_open()
1017 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()
1927 if (p->ref == -1 || (p->ref && mode & BLK_OPEN_EXCL)) in floppy_open()1929 if (mode & BLK_OPEN_EXCL) in floppy_open()
122 #define BLK_OPEN_EXCL ((__force blk_mode_t)(1 << 2)) macro