Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/mount/
Dunprivileged-remount-test.c183 int mount_flags, int remount_flags, int invalid_flags) in test_unpriv_remount() argument
216 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount()
246 static bool test_unpriv_remount_simple(int mount_flags) in test_unpriv_remount_simple() argument
248 return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags, 0); in test_unpriv_remount_simple()
251 static bool test_unpriv_remount_atime(int mount_flags, int invalid_flags) in test_unpriv_remount_atime() argument
253 return test_unpriv_remount("ramfs", NULL, mount_flags, mount_flags, in test_unpriv_remount_atime()
/Linux-v4.19/fs/affs/
Dsuper.c352 unsigned long mount_flags; in affs_fill_super() local
376 sbi->s_volume, &mount_flags)) { in affs_fill_super()
382 sbi->s_flags = mount_flags; in affs_fill_super()
510 if (affs_test_opt(mount_flags, SF_VERBOSE)) { in affs_fill_super()
562 unsigned long mount_flags; in affs_remount() local
580 &mount_flags)) { in affs_remount()
588 sbi->s_flags = mount_flags; in affs_remount()
/Linux-v4.19/fs/reiserfs/
Dxattr.h15 int reiserfs_xattr_init(struct super_block *sb, int mount_flags);
Dsuper.c1436 static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg) in reiserfs_remount() argument
1524 if (*mount_flags & SB_RDONLY) { in reiserfs_remount()
1526 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1556 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1593 if (!(*mount_flags & SB_RDONLY)) { in reiserfs_remount()
1598 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
Dxattr.c967 int reiserfs_xattr_init(struct super_block *s, int mount_flags) in reiserfs_xattr_init() argument
976 if (d_really_is_negative(privroot) && !(mount_flags & SB_RDONLY)) { in reiserfs_xattr_init()
/Linux-v4.19/fs/ufs/
Dsuper.c1300 static int ufs_remount (struct super_block *sb, int *mount_flags, char *data) in ufs_remount() argument
1334 if ((bool)(*mount_flags & SB_RDONLY) == sb_rdonly(sb)) { in ufs_remount()
1343 if (*mount_flags & SB_RDONLY) { in ufs_remount()