Searched refs:mfd_def_size (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/testing/selftests/memfd/ |
D | memfd_test.c | 45 static size_t mfd_def_size = MFD_DEF_SIZE; variable 271 mfd_def_size, in mfd_assert_mmap_shared() 289 mfd_def_size, in mfd_assert_mmap_private() 344 mfd_def_size, in mfd_assert_read() 353 munmap(p, mfd_def_size); in mfd_assert_read() 357 mfd_def_size, in mfd_assert_read() 366 munmap(p, mfd_def_size); in mfd_assert_read() 376 mfd_def_size, in mfd_assert_read_shared() 385 munmap(p, mfd_def_size); in mfd_assert_read_shared() 394 mfd_def_size, in mfd_assert_fork_private_write() [all …]
|
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()
|