Searched refs:MFD_DEF_SIZE (Results 1 – 3 of 3) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 310 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, PROT_READ, in check_mfd_readable() 313 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_readable() 316 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_readable() 319 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_readable() 332 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_writeable() 336 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_writeable() 339 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_writeable() 343 check_munmap(filename, lineno, p, MFD_DEF_SIZE); in check_mfd_writeable() 348 p = check_mmap(filename, lineno, NULL, MFD_DEF_SIZE, in check_mfd_writeable() 351 check_mprotect(filename, lineno, p, MFD_DEF_SIZE, in check_mfd_writeable() [all …]
|
D | memfd_create01.c | 170 p = SAFE_MMAP(NULL, MFD_DEF_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, in test_share_mmap() 177 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap() 180 p = SAFE_MMAP(NULL, MFD_DEF_SIZE, PROT_READ, MAP_PRIVATE, fd, 0); in test_share_mmap() 183 SAFE_MUNMAP(p, MFD_DEF_SIZE); in test_share_mmap() 245 fd = CHECK_MFD_NEW("ltp_memfd_create01", MFD_DEF_SIZE, tc->flags); in verify_memfd_create()
|
D | memfd_create_common.h | 27 #define MFD_DEF_SIZE 8192 macro
|