Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/memfd/
Dmemfd_test.c34 static size_t mfd_def_size = MFD_DEF_SIZE; variable
160 mfd_def_size, in mfd_assert_mmap_shared()
178 mfd_def_size, in mfd_assert_mmap_private()
233 mfd_def_size, in mfd_assert_read()
242 munmap(p, mfd_def_size); in mfd_assert_read()
246 mfd_def_size, in mfd_assert_read()
255 munmap(p, mfd_def_size); in mfd_assert_read()
279 mfd_def_size, in mfd_assert_write()
289 munmap(p, mfd_def_size); in mfd_assert_write()
293 mfd_def_size, in mfd_assert_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()