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()
519 if (bdev_read_only(bdev)) in blkdev_write_iter()
888 if (!IS_ERR(bdev) && (mode & FMODE_WRITE) && bdev_read_only(bdev)) { in blkdev_get_by_path()
490 if (op_is_write(bio_op(bio)) && bdev_read_only(bio->bi_bdev)) { in bio_check_ro()
88 ro = bdev_read_only(mnt_sb->s_bdev); in check_pinning_enforcement()
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()
772 static inline int bdev_read_only(struct block_device *bdev) in bdev_read_only() function1476 int bdev_read_only(struct block_device *bdev);
196 return sprintf(buf, "%d\n", bdev_read_only(dev_to_bdev(dev))); in part_ro_show()
398 if (bdev_read_only(sb->s_bdev)) { in ext4_orphan_cleanup()
666 if (!bdev_read_only(sb->s_bdev)) { in ext4_handle_error()1019 if (!bdev_read_only(sb->s_bdev)) { in __ext4_grp_locked_error()5892 journal_dev_ro = bdev_read_only(journal->j_dev); in ext4_load_journal()5893 really_read_only = bdev_read_only(sb->s_bdev) | journal_dev_ro; in ext4_load_journal()
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.
899 bdev_read_only(sb->s_bdev)) in reconfigure_super()
452 if (bdev_read_only(cmd->bdev)) in __check_incompat_features()
662 if (bdev_read_only(pmd->bdev)) in __check_incompat_features()
2364 return bdev_read_only(rdev->bdev) || in rdev_read_only()2365 (rdev->meta_bdev && bdev_read_only(rdev->meta_bdev)); in rdev_read_only()
713 if (bdev_read_only(sbi->sb->s_bdev)) { in f2fs_recover_orphan_inodes()
4458 return bdev_read_only(sbi->sb->s_bdev); in f2fs_hw_is_readonly()4461 if (bdev_read_only(FDEV(i).bdev)) in f2fs_hw_is_readonly()
3241 if (f2fs_readonly(sb) || bdev_read_only(sb->s_bdev)) { in sanity_check_area_boundary()3817 bdev_read_only(sbi->sb->s_bdev)) { in f2fs_commit_super()
1028 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()