Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mount/
H 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/
H A Dmount_setattr_test.c255 mnt_flags |= MS_NOATIME; in read_mnt_flags()
380 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
385 ASSERT_EQ(mount("testing", "/tmp/B", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
394 ASSERT_EQ(mount("testing", "/tmp/B/BB", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
397 ASSERT_EQ(mount("testing", "/mnt", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
402 ASSERT_EQ(mount("testing", "/mnt/A", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP()
412 MS_NOATIME | MS_NODEV | MS_NOSUID, 0), 0); in FIXTURE_SETUP()
549 expected_flags &= ~MS_NOATIME; in TEST_F()
585 expected_flags &= ~MS_NOATIME; in TEST_F()
737 expected_flags &= ~(MS_RDONLY | MS_NOEXEC | MS_NOATIME | MS_NOSUID); in TEST_F()
[all …]
/linux/tools/testing/selftests/move_mount_set_group/
H 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/
H A Dmount.h22 #define MS_NOATIME 1024 /* Do not update access times. */ macro
/linux/include/uapi/linux/
H A Dmount.h22 #define MS_NOATIME 1024 /* Do not update access times. */ macro
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dmount.h22 #define MS_NOATIME 1024 /* Do not update access times. */ macro
/linux/security/apparmor/
H A Dmount.c49 if (flags & MS_NOATIME) in audit_mnt_flags()
/linux/fs/
H A Dnamespace.c4110 if (!(flags & MS_NOATIME)) in path_mount()
4120 if (flags & MS_NOATIME) in path_mount()
4133 ((flags & (MS_NOATIME | MS_NODIRATIME | MS_RELATIME | in path_mount()