Home
last modified time | relevance | path

Searched refs:bdev_read_only (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/block/
Dblk-lib.c37 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()
Dblk-zoned.c216 if (bdev_read_only(bdev)) in blkdev_zone_mgmt()
Dioctl.c535 return put_int(argp, bdev_read_only(bdev) != 0); in blkdev_common_ioctl()
Dgenhd.c1883 int bdev_read_only(struct block_device *bdev) in bdev_read_only() function
1890 EXPORT_SYMBOL(bdev_read_only);
/kernel/linux/linux-5.10/security/loadpin/
Dloadpin.c83 ro = bdev_read_only(mnt_sb->s_bdev); in check_pinning_enforcement()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf.h354 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
/kernel/linux/linux-5.10/fs/gfs2/
Drecovery.c485 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
/kernel/linux/linux-5.10/fs/nilfs2/
Dthe_nilfs.c237 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs()
/kernel/linux/linux-5.10/fs/
Dblock_dev.c1699 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()
Dsuper.c922 if (!(fc->sb_flags & SB_RDONLY) && bdev_read_only(sb->s_bdev)) in reconfigure_super()
/kernel/linux/linux-5.10/fs/reiserfs/
Djournal.c2172 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()
Dsuper.c2055 if (bdev_read_only(s->s_bdev) && !sb_rdonly(s)) { in reiserfs_fill_super()
/kernel/linux/linux-5.10/fs/ext4/
Dsuper.c650 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()
/kernel/linux/linux-5.10/Documentation/filesystems/
Dporting.rst265 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter
291 is_read_only() is gone; use bdev_read_only() instead.
/kernel/linux/linux-5.10/include/linux/
Dblkdev.h2009 int bdev_read_only(struct block_device *bdev);
/kernel/linux/linux-5.10/fs/f2fs/
Dcheckpoint.c690 if (bdev_read_only(sbi->sb->s_bdev)) { in f2fs_recover_orphan_inodes()
Dsuper.c2817 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()
Df2fs.h4072 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()
/kernel/linux/linux-5.10/drivers/md/
Dmd.c2413 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()
/kernel/linux/linux-5.10/fs/ocfs2/
Dsuper.c1033 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()
/kernel/linux/linux-5.10/fs/btrfs/
Dvolumes.c689 if (bdev_read_only(bdev)) in btrfs_open_one_device()