Searched refs:set_device_ro (Results 1 – 7 of 7) sorted by relevance
679 set_device_ro(bdev, true); in __nbd_ioctl()708 set_device_ro(bdev, false); in __nbd_ioctl()
735 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
304 set_device_ro(bdev, n); in blkdev_ioctl()
1338 void set_device_ro(struct block_device *bdev, int flag) in set_device_ro() function1343 EXPORT_SYMBOL(set_device_ro);
424 extern void set_device_ro(struct block_device *bdev, int flag);
504 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
119 * -- Call set_device_ro.