Searched refs:bdev_read_only (Results 1 – 21 of 21) sorted by relevance
37 if (bdev_read_only(bdev)) in __blkdev_issue_discard()177 if (bdev_read_only(bdev)) in __blkdev_issue_write_same()257 if (bdev_read_only(bdev)) in __blkdev_issue_write_zeroes()314 if (bdev_read_only(bdev)) in __blkdev_issue_zero_pages()
216 if (bdev_read_only(bdev)) in blkdev_zone_mgmt()
535 return put_int(argp, bdev_read_only(bdev) != 0); in blkdev_common_ioctl()
1883 int bdev_read_only(struct block_device *bdev) in bdev_read_only() function1890 EXPORT_SYMBOL(bdev_read_only);
83 ro = bdev_read_only(mnt_sb->s_bdev); in check_pinning_enforcement()
354 #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()
237 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs()
1699 if ((mode & FMODE_WRITE) && bdev_read_only(bdev)) { in blkdev_get_by_path()1912 if (bdev_read_only(I_BDEV(bd_inode))) in blkdev_write_iter()
922 if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) in reconfigure_super()
2172 if (bdev_read_only(sb->s_bdev)) { in journal_read_transaction()2552 if (!bdev_read_only(sb->s_bdev) && in journal_read()2609 if (bdev_read_only(super->s_bdev)) in journal_init_dev()
2055 if (bdev_read_only(s->s_bdev) && !sb_rdonly(s)) { in reiserfs_fill_super()
650 if (!bdev_read_only(sb->s_bdev)) { in ext4_handle_error()988 if (!bdev_read_only(sb->s_bdev)) { in __ext4_grp_locked_error()2999 if (bdev_read_only(sb->s_bdev)) { in ext4_orphan_cleanup()5428 journal_dev_ro = bdev_read_only(journal->j_dev); in ext4_load_journal()5429 really_read_only = bdev_read_only(sb->s_bdev) | journal_dev_ro; in ext4_load_journal()
265 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter291 is_read_only() is gone; use bdev_read_only() instead.
2009 int bdev_read_only(struct block_device *bdev);
690 if (bdev_read_only(sbi->sb->s_bdev)) { in f2fs_recover_orphan_inodes()
2817 if (f2fs_readonly(sb) || bdev_read_only(sb->s_bdev)) { in sanity_check_area_boundary()3376 bdev_read_only(sbi->sb->s_bdev)) { in f2fs_commit_super()
4072 return bdev_read_only(sbi->sb->s_bdev); in f2fs_hw_is_readonly()4075 if (bdev_read_only(FDEV(i).bdev)) in f2fs_hw_is_readonly()
2413 if ((bdev_read_only(rdev->bdev) || bdev_read_only(rdev->meta_bdev)) && in bind_rdev_to_array()5850 (bdev_read_only(rdev->bdev) || in md_run()5851 bdev_read_only(rdev->meta_bdev))) { in md_run()6147 if (bdev_read_only(rdev->bdev)) in restart_array()
1033 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()
689 if (bdev_read_only(bdev)) in btrfs_open_one_device()