Home
last modified time | relevance | path

Searched refs:mount_flags (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/tools/testing/selftests/mount/
Dunprivileged-remount-test.c182 int mount_flags, int remount_flags, int invalid_flags) in test_unpriv_remount() argument
215 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount()
245 static bool test_unpriv_remount_simple(int mount_flags) in test_unpriv_remount_simple() argument
247 return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags, 0); in test_unpriv_remount_simple()
250 static bool test_unpriv_remount_atime(int mount_flags, int invalid_flags) in test_unpriv_remount_atime() argument
252 return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags, in test_unpriv_remount_atime()
/linux-4.4.14/fs/affs/
Dsuper.c313 unsigned long mount_flags; in affs_fill_super() local
339 sbi->s_volume, &mount_flags)) { in affs_fill_super()
345 sbi->s_flags = mount_flags; in affs_fill_super()
473 if (affs_test_opt(mount_flags, SF_VERBOSE)) { in affs_fill_super()
524 unsigned long mount_flags; in affs_remount() local
542 &mount_flags)) { in affs_remount()
552 sbi->s_flags = mount_flags; in affs_remount()
/linux-4.4.14/fs/reiserfs/
Dxattr.h13 int reiserfs_xattr_init(struct super_block *sb, int mount_flags);
Dsuper.c1385 static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg) in reiserfs_remount() argument
1469 if (*mount_flags & MS_RDONLY) { in reiserfs_remount()
1471 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1501 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1538 if (!(*mount_flags & MS_RDONLY)) { in reiserfs_remount()
1543 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
Dxattr.c1020 int reiserfs_xattr_init(struct super_block *s, int mount_flags) in reiserfs_xattr_init() argument
1029 if (d_really_is_negative(privroot) && !(mount_flags & MS_RDONLY)) { in reiserfs_xattr_init()
/linux-4.4.14/fs/ufs/
Dsuper.c1253 static int ufs_remount (struct super_block *sb, int *mount_flags, char *data) in ufs_remount() argument
1287 if ((*mount_flags & MS_RDONLY) == (sb->s_flags & MS_RDONLY)) { in ufs_remount()
1296 if (*mount_flags & MS_RDONLY) { in ufs_remount()