Searched refs:bdev_read_only (Results 1 – 3 of 3) sorted by relevance
361 return put_int(arg, bdev_read_only(bdev) != 0); in blkdev_ioctl()
1382 int bdev_read_only(struct block_device *bdev) in bdev_read_only() function1389 EXPORT_SYMBOL(bdev_read_only);
715 return compat_put_int(arg, bdev_read_only(bdev) != 0); in compat_blkdev_ioctl()