Searched refs:bdev_read_only (Results 1 – 25 of 26) sorted by relevance
12
44 if (bdev_read_only(bdev)) in __blkdev_issue_discard()125 if (bdev_read_only(bdev)) in __blkdev_issue_write_zeroes()176 if (bdev_read_only(bdev)) in __blkdev_issue_zero_pages()321 if (bdev_read_only(bdev)) in blkdev_issue_secure_erase()
269 if (bdev_read_only(bdev)) in blkdev_zone_mgmt()
501 return put_int(argp, bdev_read_only(bdev) != 0); in blkdev_common_ioctl()
527 if (bdev_read_only(bdev)) in blkdev_write_iter()
810 if (!IS_ERR(bdev) && (mode & FMODE_WRITE) && bdev_read_only(bdev)) { in blkdev_get_by_path()
502 if (op_is_write(bio_op(bio)) && bdev_read_only(bio->bi_bdev)) { in bio_check_ro()
112 writable = !bdev_read_only(mnt_sb->s_bdev); in sb_is_writable()
361 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
485 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
767 static inline int bdev_read_only(struct block_device *bdev) in bdev_read_only() function1469 int bdev_read_only(struct block_device *bdev);
398 if (bdev_read_only(sb->s_bdev)) { in ext4_orphan_cleanup()
665 if (!bdev_read_only(sb->s_bdev)) { in ext4_handle_error()1018 if (!bdev_read_only(sb->s_bdev)) { in __ext4_grp_locked_error()5908 journal_dev_ro = bdev_read_only(journal->j_dev); in ext4_load_journal()5909 really_read_only = bdev_read_only(sb->s_bdev) | journal_dev_ro; in ext4_load_journal()5958 if (!bdev_read_only(sb->s_bdev)) { in ext4_load_journal()
196 return sprintf(buf, "%d\n", bdev_read_only(dev_to_bdev(dev))); in part_ro_show()
237 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs()
2173 if (bdev_read_only(sb->s_bdev)) { in journal_read_transaction()2554 if (!bdev_read_only(sb->s_bdev) && in journal_read()2611 if (bdev_read_only(super->s_bdev)) in journal_init_dev()
2045 if (bdev_read_only(s->s_bdev) && !sb_rdonly(s)) { in reiserfs_fill_super()
271 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter297 is_read_only() is gone; use bdev_read_only() instead.
911 bdev_read_only(sb->s_bdev)) in reconfigure_super()
454 if (bdev_read_only(cmd->bdev)) in __check_incompat_features()
668 if (bdev_read_only(pmd->bdev)) in __check_incompat_features()
2373 return bdev_read_only(rdev->bdev) || in rdev_read_only()2374 (rdev->meta_bdev && bdev_read_only(rdev->meta_bdev)); in rdev_read_only()
718 if (bdev_read_only(sbi->sb->s_bdev)) { in f2fs_recover_orphan_inodes()
4457 return bdev_read_only(sbi->sb->s_bdev); in f2fs_hw_is_readonly()4460 if (bdev_read_only(FDEV(i).bdev)) in f2fs_hw_is_readonly()
3263 if (f2fs_readonly(sb) || bdev_read_only(sb->s_bdev)) { in sanity_check_area_boundary()3839 bdev_read_only(sbi->sb->s_bdev)) { in f2fs_commit_super()
1028 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()
Completed in 105 milliseconds