Searched refs:bdev_read_only (Results 1 – 17 of 17) sorted by relevance
293 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
282 return put_int(arg, bdev_read_only(bdev) != 0); in blkdev_ioctl()
1348 int bdev_read_only(struct block_device *bdev) in bdev_read_only() function1355 EXPORT_SYMBOL(bdev_read_only);
714 return compat_put_int(arg, bdev_read_only(bdev) != 0); in compat_blkdev_ioctl()
527 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
238 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter261 is_read_only() is gone; use bdev_read_only() instead.
215 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs()
730 if (!(flags & MS_RDONLY) && bdev_read_only(sb->s_bdev)) in do_remount_sb()
1389 if ((mode & FMODE_WRITE) && bdev_read_only(bdev)) { in blkdev_get_by_path()
2141 if (bdev_read_only(sb->s_bdev)) { in journal_read_transaction()2502 if (!bdev_read_only(sb->s_bdev) && in journal_read()2567 if (bdev_read_only(super->s_bdev)) in journal_init_dev()
1862 if (bdev_read_only(s->s_bdev) && !(s->s_flags & MS_RDONLY)) { in reiserfs_fill_super()
1464 if (bdev_read_only(sb->s_bdev)) { in ext3_orphan_cleanup()2263 really_read_only = bdev_read_only(sb->s_bdev); in ext3_load_journal()
2214 if (bdev_read_only(I_BDEV(inode))) in generic_write_checks()
2359 extern int bdev_read_only(struct block_device *);
1080 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()
2068 if (bdev_read_only(sb->s_bdev)) { in ext4_orphan_cleanup()4045 really_read_only = bdev_read_only(sb->s_bdev); in ext4_load_journal()
659 device->writeable = !bdev_read_only(bdev); in __btrfs_open_devices()