Searched refs:bdev_read_only (Results 1 – 5 of 5) sorted by relevance
37 if (bdev_read_only(bdev)) in __blkdev_issue_discard()143 if (bdev_read_only(bdev)) in __blkdev_issue_write_same()223 if (bdev_read_only(bdev)) in __blkdev_issue_write_zeroes()280 if (bdev_read_only(bdev)) in __blkdev_issue_zero_pages()
170 if (bdev_read_only(bdev)) in blkdev_zone_mgmt()
376 return compat_put_int(arg, bdev_read_only(bdev) != 0); in compat_blkdev_ioctl()
551 return put_int(arg, bdev_read_only(bdev) != 0); in blkdev_ioctl()
1595 int bdev_read_only(struct block_device *bdev) in bdev_read_only() function1602 EXPORT_SYMBOL(bdev_read_only);