Home
last modified time | relevance | path

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

/linux-3.4.99/fs/xfs/
Dxfs_buf.h293 #define xfs_readonly_buftarg(buftarg) bdev_read_only((buftarg)->bt_bdev)
/linux-3.4.99/block/
Dioctl.c282 return put_int(arg, bdev_read_only(bdev) != 0); in blkdev_ioctl()
Dgenhd.c1348 int bdev_read_only(struct block_device *bdev) in bdev_read_only() function
1355 EXPORT_SYMBOL(bdev_read_only);
Dcompat_ioctl.c714 return compat_put_int(arg, bdev_read_only(bdev) != 0); in compat_blkdev_ioctl()
/linux-3.4.99/fs/gfs2/
Drecovery.c527 ro = bdev_read_only(sdp->sd_vfs->s_bdev); in gfs2_recover_func()
/linux-3.4.99/Documentation/filesystems/
Dporting238 Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter
261 is_read_only() is gone; use bdev_read_only() instead.
/linux-3.4.99/fs/nilfs2/
Dthe_nilfs.c215 int really_read_only = bdev_read_only(nilfs->ns_bdev); in load_nilfs()
/linux-3.4.99/fs/
Dsuper.c730 if (!(flags & MS_RDONLY) && bdev_read_only(sb->s_bdev)) in do_remount_sb()
Dblock_dev.c1389 if ((mode & FMODE_WRITE) && bdev_read_only(bdev)) { in blkdev_get_by_path()
/linux-3.4.99/fs/reiserfs/
Djournal.c2141 if (bdev_read_only(sb->s_bdev)) { in journal_read_transaction()
2502 if (!bdev_read_only(sb->s_bdev) && in journal_read()
2567 if (bdev_read_only(super->s_bdev)) in journal_init_dev()
Dsuper.c1862 if (bdev_read_only(s->s_bdev) && !(s->s_flags & MS_RDONLY)) { in reiserfs_fill_super()
/linux-3.4.99/fs/ext3/
Dsuper.c1464 if (bdev_read_only(sb->s_bdev)) { in ext3_orphan_cleanup()
2263 really_read_only = bdev_read_only(sb->s_bdev); in ext3_load_journal()
/linux-3.4.99/mm/
Dfilemap.c2214 if (bdev_read_only(I_BDEV(inode))) in generic_write_checks()
/linux-3.4.99/include/linux/
Dfs.h2359 extern int bdev_read_only(struct block_device *);
/linux-3.4.99/fs/ocfs2/
Dsuper.c1080 if (bdev_read_only(sb->s_bdev)) { in ocfs2_fill_super()
/linux-3.4.99/fs/ext4/
Dsuper.c2068 if (bdev_read_only(sb->s_bdev)) { in ext4_orphan_cleanup()
4045 really_read_only = bdev_read_only(sb->s_bdev); in ext4_load_journal()
/linux-3.4.99/fs/btrfs/
Dvolumes.c659 device->writeable = !bdev_read_only(bdev); in __btrfs_open_devices()