Home
last modified time | relevance | path

Searched refs:MS_NOATIME (Results 1 – 7 of 7) sorted by relevance

/linux/tools/testing/selftests/mount/
A Dunprivileged-remount-test.c141 mnt_flags |= MS_NOATIME; in read_mnt_flags()
334 MS_NOATIME)) in main()
339 MS_NOATIME)) in main()
343 if (!test_unpriv_remount_atime(MS_NOATIME, in main()
349 MS_NOATIME)) in main()
354 MS_NOATIME)) in main()
358 if (!test_unpriv_remount_atime(MS_NOATIME|MS_NODIRATIME, in main()
363 if (!test_unpriv_remount("ramfs", NULL, MS_STRICTATIME, 0, MS_NOATIME)) in main()
/linux/tools/testing/selftests/mount_setattr/
A Dmount_setattr_test.c271 mnt_flags |= MS_NOATIME; in read_mnt_flags()
396 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
401 ASSERT_EQ(mount("testing", "/tmp/B", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
409 ASSERT_EQ(mount("testing", "/mnt", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
424 MS_NOATIME | MS_NODEV | MS_NOSUID, 0), 0); in FIXTURE_SETUP()
561 expected_flags &= ~MS_NOATIME; in TEST_F()
597 expected_flags &= ~MS_NOATIME; in TEST_F()
800 expected_flags |= MS_NOATIME; in TEST_F()
821 expected_flags &= ~MS_NOATIME; in TEST_F()
862 expected_flags |= MS_NOATIME; in TEST_F()
[all …]
/linux/tools/testing/selftests/move_mount_set_group/
A Dmove_mount_set_group_test.c198 if (mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported()
211 if (mount("testing", SET_GROUP_FROM, "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported()
246 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
251 ASSERT_EQ(mount("testing", SET_GROUP_A, "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
/linux/tools/include/uapi/linux/
A Dmount.h22 #define MS_NOATIME 1024 /* Do not update access times. */ macro
/linux/include/uapi/linux/
A Dmount.h22 #define MS_NOATIME 1024 /* Do not update access times. */ macro
/linux/security/apparmor/
A Dmount.c47 if (flags & MS_NOATIME) in audit_mnt_flags()
/linux/fs/
A Dnamespace.c3269 if (!(flags & MS_NOATIME)) in path_mount()
3279 if (flags & MS_NOATIME) in path_mount()
3292 ((flags & (MS_NOATIME | MS_NODIRATIME | MS_RELATIME | in path_mount()

Completed in 18 milliseconds