Home
last modified time | relevance | path

Searched refs:mount_flags (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c183 int mount_flags, int remount_flags, int invalid_flags) in test_unpriv_remount()
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()
182 test_unpriv_remount(const char *fstype, const char *mount_options, int mount_flags, int remount_flags, int invalid_flags) test_unpriv_remount() argument
/kernel/linux/linux-6.6/tools/testing/selftests/mount/
H A Dunprivileged-remount-test.c183 int mount_flags, int remount_flags, int invalid_flags) in test_unpriv_remount()
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()
182 test_unpriv_remount(const char *fstype, const char *mount_options, int mount_flags, int remount_flags, int invalid_flags) test_unpriv_remount() argument
/kernel/linux/linux-5.10/fs/affs/
H A Dsuper.c347 unsigned long mount_flags; in affs_fill_super() local
375 sbi->s_volume, &mount_flags)) { in affs_fill_super()
381 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
575 &mount_flags)) { in affs_remount()
582 sbi->s_flags = mount_flags; in affs_remount()
/kernel/linux/linux-6.6/fs/affs/
H A Dsuper.c347 unsigned long mount_flags; in affs_fill_super() local
375 sbi->s_volume, &mount_flags)) { in affs_fill_super()
381 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
575 &mount_flags)) { in affs_remount()
582 sbi->s_flags = mount_flags; in affs_remount()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dmount_flags.c3 * trace/beauty/mount_flags.c
17 static DEFINE_STRARRAY(mount_flags, "MS_"); in mount__scnprintf_flags()
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dmount_flags.c3 * trace/beauty/mount_flags.c
17 static DEFINE_STRARRAY(mount_flags, "MS_"); in mount__scnprintf_flags()
/kernel/linux/linux-5.10/fs/reiserfs/
H A Dxattr.h15 int reiserfs_xattr_init(struct super_block *sb, int mount_flags);
H A Dsuper.c1431 static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg) in reiserfs_remount() argument
1514 if (*mount_flags & SB_RDONLY) { in reiserfs_remount()
1516 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1546 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1583 if (!(*mount_flags & SB_RDONLY)) { in reiserfs_remount()
1588 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
H A Dxattr.c998 * mount_flags != mount_options
1000 int reiserfs_xattr_init(struct super_block *s, int mount_flags) in reiserfs_xattr_init() argument
1009 if (d_really_is_negative(privroot) && !(mount_flags & SB_RDONLY)) { in reiserfs_xattr_init()
/kernel/linux/linux-6.6/fs/reiserfs/
H A Dxattr.h15 int reiserfs_xattr_init(struct super_block *sb, int mount_flags);
H A Dsuper.c1429 static int reiserfs_remount(struct super_block *s, int *mount_flags, char *arg) in reiserfs_remount() argument
1512 if (*mount_flags & SB_RDONLY) { in reiserfs_remount()
1514 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1544 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
1581 if (!(*mount_flags & SB_RDONLY)) { in reiserfs_remount()
1586 reiserfs_xattr_init(s, *mount_flags); in reiserfs_remount()
H A Dxattr.c994 * mount_flags != mount_options
996 int reiserfs_xattr_init(struct super_block *s, int mount_flags) in reiserfs_xattr_init() argument
1005 if (d_really_is_negative(privroot) && !(mount_flags & SB_RDONLY)) { in reiserfs_xattr_init()
/kernel/linux/linux-5.10/fs/ufs/
H A Dsuper.c1308 static int ufs_remount (struct super_block *sb, int *mount_flags, char *data) in ufs_remount() argument
1342 if ((bool)(*mount_flags & SB_RDONLY) == sb_rdonly(sb)) { in ufs_remount()
1351 if (*mount_flags & SB_RDONLY) { in ufs_remount()
/kernel/linux/linux-6.6/fs/ufs/
H A Dsuper.c1307 static int ufs_remount (struct super_block *sb, int *mount_flags, char *data) in ufs_remount() argument
1341 if ((bool)(*mount_flags & SB_RDONLY) == sb_rdonly(sb)) { in ufs_remount()
1350 if (*mount_flags & SB_RDONLY) { in ufs_remount()

Completed in 24 milliseconds