Home
last modified time | relevance | path

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

12

/linux-6.1.9/block/
Dblk-lib.c44 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()
Dblk-zoned.c269 if (bdev_read_only(bdev)) in blkdev_zone_mgmt()
Dioctl.c501 return put_int(argp, bdev_read_only(bdev) != 0); in blkdev_common_ioctl()
Dfops.c519 if (bdev_read_only(bdev)) in blkdev_write_iter()
Dbdev.c888 if (!IS_ERR(bdev) && (mode & FMODE_WRITE) && bdev_read_only(bdev)) { in blkdev_get_by_path()
Dblk-core.c490 if (op_is_write(bio_op(bio)) && bdev_read_only(bio->bi_bdev)) { in bio_check_ro()
/linux-6.1.9/security/loadpin/
Dloadpin.c88 ro = bdev_read_only(mnt_sb->s_bdev); in check_pinning_enforcement()
/linux-6.1.9/fs/xfs/
Dxfs_buf.h361 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
/linux-6.1.9/fs/gfs2/
Drecovery.c485 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
/linux-6.1.9/include/linux/
Dblkdev.h772 static inline int bdev_read_only(struct block_device *bdev) in bdev_read_only() function
1476 int bdev_read_only(struct block_device *bdev);
/linux-6.1.9/block/partitions/
Dcore.c196 return sprintf(buf, "%d\n", bdev_read_only(dev_to_bdev(dev))); in part_ro_show()
/linux-6.1.9/fs/ext4/
Dorphan.c398 if (bdev_read_only(sb->s_bdev)) { in ext4_orphan_cleanup()
Dsuper.c666 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()
/linux-6.1.9/fs/nilfs2/
Dthe_nilfs.c237 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs()
/linux-6.1.9/fs/reiserfs/
Djournal.c2173 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()
Dsuper.c2045 if (bdev_read_only(s->s_bdev) && !sb_rdonly(s)) { in reiserfs_fill_super()
/linux-6.1.9/Documentation/filesystems/
Dporting.rst271 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter
297 is_read_only() is gone; use bdev_read_only() instead.
/linux-6.1.9/fs/
Dsuper.c899 bdev_read_only(sb->s_bdev)) in reconfigure_super()
/linux-6.1.9/drivers/md/
Ddm-cache-metadata.c452 if (bdev_read_only(cmd->bdev)) in __check_incompat_features()
Ddm-thin-metadata.c662 if (bdev_read_only(pmd->bdev)) in __check_incompat_features()
Dmd.c2364 return bdev_read_only(rdev->bdev) || in rdev_read_only()
2365 (rdev->meta_bdev && bdev_read_only(rdev->meta_bdev)); in rdev_read_only()
/linux-6.1.9/fs/f2fs/
Dcheckpoint.c713 if (bdev_read_only(sbi->sb->s_bdev)) { in f2fs_recover_orphan_inodes()
Df2fs.h4458 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()
Dsuper.c3241 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()
/linux-6.1.9/fs/ocfs2/
Dsuper.c1028 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()

12