Home
last modified time | relevance | path

Searched refs:MFD_DEF_SIZE (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c310 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 …]
Dmemfd_create01.c170 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()
Dmemfd_create_common.h27 #define MFD_DEF_SIZE 8192 macro