Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c320 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 …]
Dmemfd_create01.c179 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()
Dmemfd_create_common.h27 #define MFD_DEF_SIZE 8192 macro
/external/linux-kselftest/tools/testing/selftests/memfd/
Dfuse_test.c38 #define MFD_DEF_SIZE 8192 macro
41 static size_t mfd_def_size = MFD_DEF_SIZE;
Dmemfd_test.c28 #define MFD_DEF_SIZE 8192 macro
34 static size_t mfd_def_size = MFD_DEF_SIZE;