Searched refs:MFD_DEF_SIZE (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 320 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, PROT_READ, in check_mfd_readable() 323 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_readable() 326 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_readable() 329 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_readable() 342 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_writeable() 346 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_writeable() 349 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_writeable() 353 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_writeable() 358 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_writeable() 361 check_mprotect(filename, lineno, p, MFD_DEF_SIZE, in check_mfd_writeable() [all …]
|
D | memfd_create01.c | 179 p = SAFE_MMAP(NULL, MFD_DEF_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, in test_share_mmap() 186 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap() 189 p = SAFE_MMAP(NULL, MFD_DEF_SIZE, PROT_READ, MAP_PRIVATE, fd, 0); in test_share_mmap() 192 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap() 254 fd = CHECK_MFD_NEW(TCID, MFD_DEF_SIZE, tc->flags); in verify_memfd_create()
|
D | memfd_create_common.h | 27 #define MFD_DEF_SIZE 8192 macro
|
/external/linux-kselftest/tools/testing/selftests/memfd/ |
D | fuse_test.c | 38 #define MFD_DEF_SIZE 8192 macro 41 static size_t mfd_def_size = MFD_DEF_SIZE;
|
D | memfd_test.c | 28 #define MFD_DEF_SIZE 8192 macro 34 static size_t mfd_def_size = MFD_DEF_SIZE;
|