Home
last modified time | relevance | path

Searched refs:mfd_def_size (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/tools/testing/selftests/memfd/
Dmemfd_test.c34 static size_t mfd_def_size = MFD_DEF_SIZE; variable
176 mfd_def_size, in mfd_assert_mmap_shared()
194 mfd_def_size, in mfd_assert_mmap_private()
249 mfd_def_size, in mfd_assert_read()
258 munmap(p, mfd_def_size); in mfd_assert_read()
262 mfd_def_size, in mfd_assert_read()
271 munmap(p, mfd_def_size); in mfd_assert_read()
281 mfd_def_size, in mfd_assert_read_shared()
290 munmap(p, mfd_def_size); in mfd_assert_read_shared()
299 mfd_def_size, in mfd_assert_fork_private_write()
[all …]
Dfuse_test.c41 static size_t mfd_def_size = MFD_DEF_SIZE; variable
128 mfd_def_size, in mfd_assert_mmap_shared()
146 mfd_def_size, in mfd_assert_mmap_private()
179 munmap(global_p, mfd_def_size); in sealing_thread_fn()
250 mfd_def_size = hpage_size * 2; in main()
257 zero = calloc(sizeof(*zero), mfd_def_size); in main()
269 mfd_def_size, in main()
288 r = read(fd, p, mfd_def_size); in main()
315 if (was_sealed && memcmp(p, zero, mfd_def_size)) { in main()
318 } else if (!was_sealed && !memcmp(p, zero, mfd_def_size)) { in main()