Home
last modified time | relevance | path

Searched refs:SHM_HUGETLB (Results 1 – 25 of 32) sorted by relevance

12

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/
Dhugeshmget02.c47 {&shmkey2, 0, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EINVAL},
49 {&shmkey, 2, SHM_HUGETLB | SHM_RW, EINVAL},
51 {&shmkey, 1, SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW, EEXIST},
54 {&shm_nonexistent_key, 1, SHM_HUGETLB | SHM_RW, ENOENT}
101 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget03.c51 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW)); in test_hugeshmget()
85 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
94 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmget05.c65 TEST(shmget(shmkey, shm_size, SHM_HUGETLB | SHM_RW)); in do_child()
92 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
Dhugeshmget01.c82 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
/external/linux-kselftest/tools/testing/selftests/vm/
Dhugepage-shm.c38 #ifndef SHM_HUGETLB
39 #define SHM_HUGETLB 04000 macro
61 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
Dthuge-gen.c38 #define SHM_HUGETLB 04000 /* segment will use huge TLB pages */ macro
242 test_mmap(default_hps, SHM_HUGETLB); in main()
251 test_shmget(ps, SHM_HUGETLB | arg); in main()
254 test_shmget(default_hps, SHM_HUGETLB); in main()
/external/valgrind/none/tests/
Dmap_unmap.c39 #ifndef SHM_HUGETLB
40 #define SHM_HUGETLB 04000 macro
133 IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR | SHM_HUGETLB); in main()
/external/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.h40 #ifndef SHM_HUGETLB
41 #define SHM_HUGETLB 04000 /* segment is mapped via hugetlb */ macro
/external/strace/xlat/
Dshm_resource_flags.h17 #if defined(SHM_HUGETLB) || (defined(HAVE_DECL_SHM_HUGETLB) && HAVE_DECL_SHM_HUGETLB)
18 XLAT(SHM_HUGETLB),
Dshm_resource_flags.in3 SHM_HUGETLB
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl02.c107 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup()
113 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmctl03.c131 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
Dhugeshmctl01.c98 SHM_HUGETLB | IPC_CREAT | IPC_EXCL | SHM_RW); in test_hugeshmctl()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c62 #ifndef SHM_HUGETLB
63 #define SHM_HUGETLB 04000 macro
97 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in test_overcommit()
/external/kernel-headers/original/uapi/linux/
Dshm.h52 #define SHM_HUGETLB 04000 /* segment will use huge TLB pages */ macro
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat03.c101 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
Dhugeshmat05.c67 shmid = shmget(IPC_PRIVATE, size, 0600 | IPC_CREAT | SHM_HUGETLB); in shm_test()
Dhugeshmat02.c108 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
Dhugeshmat04.c64 shmid = shmget(IPC_PRIVATE, size, SHM_HUGETLB | IPC_CREAT | 0777); in shared_hugepage()
Dhugeshmat01.c181 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmdt/
Dhugeshmdt01.c148 SHM_HUGETLB | SHM_RW | IPC_CREAT | IPC_EXCL); in setup()
/external/stressapptest/src/
Dos.cc40 #ifndef SHM_HUGETLB
41 #define SHM_HUGETLB 04000 // remove when glibc defines it macro
529 SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W)) < 0) { in AllocateTestMem()
/external/strace/tests/
Dipc_shm.c77 IPC_CREAT | IPC_EXCL | SHM_HUGETLB | SHM_NORESERVE; in main()
/external/strace/tests-mx32/
Dipc_shm.c77 IPC_CREAT | IPC_EXCL | SHM_HUGETLB | SHM_NORESERVE; in main()
/external/strace/tests-m32/
Dipc_shm.c77 IPC_CREAT | IPC_EXCL | SHM_HUGETLB | SHM_NORESERVE; in main()

12