Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/
Dxfs_buf.h393 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
/linux-4.4.14/fs/gfs2/
Drecovery.c527 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
/linux-4.4.14/block/
Dioctl.c525 return put_int(arg, bdev_read_only(bdev) != 0); in blkdev_ioctl()
Dgenhd.c1369 int bdev_read_only(struct block_device *bdev) in bdev_read_only() function
1376 EXPORT_SYMBOL(bdev_read_only);
Dcompat_ioctl.c715 return compat_put_int(arg, bdev_read_only(bdev) != 0); in compat_blkdev_ioctl()
/linux-4.4.14/fs/f2fs/
Dsuper.c1320 if (bdev_read_only(sb->s_bdev) && in f2fs_fill_super()
1353 if (recovery && !f2fs_readonly(sb) && !bdev_read_only(sb->s_bdev)) { in f2fs_fill_super()
/linux-4.4.14/fs/
Dblock_dev.c1437 if ((mode & FMODE_WRITE) && bdev_read_only(bdev)) { in blkdev_get_by_path()
1645 if (bdev_read_only(I_BDEV(bd_inode))) in blkdev_write_iter()
Dsuper.c723 if (!(flags & MS_RDONLY) && bdev_read_only(sb->s_bdev)) in do_remount_sb()
/linux-4.4.14/fs/nilfs2/
Dthe_nilfs.c217 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs()
/linux-4.4.14/Documentation/filesystems/
Dporting237 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter
260 is_read_only() is gone; use bdev_read_only() instead.
/linux-4.4.14/fs/reiserfs/
Djournal.c2181 if (bdev_read_only(sb->s_bdev)) { in journal_read_transaction()
2560 if (!bdev_read_only(sb->s_bdev) && in journal_read()
2618 if (bdev_read_only(super->s_bdev)) in journal_init_dev()
Dsuper.c2003 if (bdev_read_only(s->s_bdev) && !(s->s_flags & MS_RDONLY)) { in reiserfs_fill_super()
/linux-4.4.14/fs/ext4/
Dsuper.c289 if (bdev_read_only(sb->s_bdev)) in __save_error_info()
2197 if (bdev_read_only(sb->s_bdev)) { in ext4_orphan_cleanup()
4208 really_read_only = bdev_read_only(sb->s_bdev); in ext4_load_journal()
/linux-4.4.14/fs/ocfs2/
Dsuper.c1069 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()
/linux-4.4.14/include/linux/
Dfs.h2625 extern int bdev_read_only(struct block_device *);
/linux-4.4.14/fs/btrfs/
Dvolumes.c931 device->writeable = !bdev_read_only(bdev); in __btrfs_open_devices()