Searched refs:set_device_ro (Results 1 – 7 of 7) sorted by relevance
748 set_device_ro(bdev, true); in __nbd_ioctl()777 set_device_ro(bdev, false); in __nbd_ioctl()
932 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
438 set_device_ro(bdev, n); in blkdev_roset()
1344 void set_device_ro(struct block_device *bdev, int flag) in set_device_ro() function1349 EXPORT_SYMBOL(set_device_ro);
437 extern void set_device_ro(struct block_device *bdev, int flag);
509 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
119 * -- Call set_device_ro.