Searched refs:mfd_def_size (Results 1 – 2 of 2) sorted by relevance
/linux/tools/testing/selftests/memfd/ |
H A D | memfd_test.c | 46 static size_t mfd_def_size = MFD_DEF_SIZE; variable 272 mfd_def_size, in mfd_assert_mmap_shared() 290 mfd_def_size, in mfd_assert_mmap_read_shared() 308 mfd_def_size, in mfd_assert_mmap_private() 363 mfd_def_size, in mfd_assert_read() 372 munmap(p, mfd_def_size); in mfd_assert_read() 376 mfd_def_size, in mfd_assert_read() 385 munmap(p, mfd_def_size); in mfd_assert_read() 395 mfd_def_size, in mfd_assert_read_shared() 404 munmap(p, mfd_def_size); in mfd_assert_read_shared() [all …]
|
H A D | fuse_test.c | 42 static size_t mfd_def_size = MFD_DEF_SIZE; variable 129 mfd_def_size, in mfd_assert_mmap_shared() 147 mfd_def_size, in mfd_assert_mmap_private() 180 munmap(global_p, mfd_def_size); in sealing_thread_fn() 251 mfd_def_size = hpage_size * 2; in main() 258 zero = calloc(sizeof(*zero), mfd_def_size); in main() 270 mfd_def_size, in main() 289 r = read(fd, p, mfd_def_size); in main() 316 if (was_sealed && memcmp(p, zero, mfd_def_size)) { in main() 319 } else if (!was_sealed && !memcmp(p, zero, mfd_def_size)) { in main() [all...] |