/external/strace/tests-mx32/ |
D | ipc_shm.c | 130 rc = shmget(bogus_key, bogus_size, 0); in main() 135 rc = shmget(bogus_key, bogus_size, huge_flags); in main() 141 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 148 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 155 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 162 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 169 id = shmget(private_key, 1, 0600); in main()
|
/external/strace/tests/ |
D | ipc_shm.c | 130 rc = shmget(bogus_key, bogus_size, 0); in main() 135 rc = shmget(bogus_key, bogus_size, huge_flags); in main() 141 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 148 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 155 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 162 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 169 id = shmget(private_key, 1, 0600); in main()
|
/external/strace/tests-m32/ |
D | ipc_shm.c | 130 rc = shmget(bogus_key, bogus_size, 0); in main() 135 rc = shmget(bogus_key, bogus_size, huge_flags); in main() 141 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 148 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 155 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 162 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 169 id = shmget(private_key, 1, 0600); in main()
|
/external/ltp/testcases/kernel/containers/sysvipc/ |
D | shmem_2nstest.c | 73 id1 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem1() 97 id2 = shmget(TESTKEY, 100, 0); in check_shmem2() 99 id2 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem2() 183 id = shmget(TESTKEY, 100, 0); in main()
|
D | shmnstest.c | 55 id = shmget(TESTKEY, 100, 0); in check_shmid() 108 id = shmget(TESTKEY, 100, IPC_CREAT); in main()
|
D | shm_comm.c | 64 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld1_shm() 97 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld2_shm()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget03.c | 50 TEST(shmget(IPC_PRIVATE, shm_size, in test_hugeshmget() 85 shm_id_1 = shmget(IPC_PRIVATE, shm_size, in setup() 94 shm_id_1 = shmget(IPC_PRIVATE, shm_size, in setup()
|
D | hugeshmget02.c | 62 shm_id_2 = shmget(*(tcases[i].skey), 0, 0); in test_hugeshmget() 67 TEST(shmget(*(tcases[i].skey), tcases[i].size_coe * shm_size, in test_hugeshmget() 101 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
D | hugeshmget05.c | 65 TEST(shmget(shmkey, shm_size, SHM_HUGETLB | SHM_RW)); in do_child() 92 shm_id_1 = shmget(shmkey, shm_size, in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget02.c | 110 TEST(shmget(*(TC[i].skey), TC[i].size, TC[i].flags)); in main() 157 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup() 165 while (-1 != shmget(shm_nonexisting_key, 1, SHM_RD)) { in setup()
|
D | shmget04.c | 81 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in main() 136 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup()
|
D | shmget03.c | 87 TEST(shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | IPC_EXCL in main() 137 while ((shm_id_1 = shmget(IPC_PRIVATE, SHM_SIZE, IPC_CREAT | in setup()
|
D | shmget05.c | 125 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in do_child() 168 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, in setup()
|
/external/ltp/testcases/kernel/mem/shmt/ |
D | shmt05.c | 73 if ((shmid = shmget(key[0], SIZE, IPC_CREAT | 0666)) < 0) { in main() 91 if ((shmid1 = shmget(key[1], SIZE, IPC_CREAT | 0666)) < 0) { in main()
|
D | shmt04.c | 88 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { in main() 155 if ((shmid = shmget(key, SIZE, 0)) < 0) { in child()
|
D | shmt06.c | 87 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { in main() 153 if ((shmid = shmget(key, SIZE, 0)) < 0) { in child()
|
D | shmt02.c | 67 if ((shmid = shmget(key, 16 * K_1, IPC_CREAT | 0666)) < 0) { in main()
|
D | shmt08.c | 65 if ((shmid = shmget(key, 24 * K_1, IPC_CREAT | 0666)) < 0) { in main()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl02.c | 108 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup() 113 shm_id_2 = shmget(shmkey + 1, shm_size, in setup()
|
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl02.c | 185 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, IPC_CREAT | IPC_EXCL)) == -1) { in setup() 194 if ((shm_id_2 = shmget(shmkey2, SHM_SIZE, IPC_CREAT | IPC_EXCL | in setup()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-tm-spr.c | 117 shm_id = shmget(IPC_PRIVATE, sizeof(struct shared), 0777|IPC_CREAT); in ptrace_tm_spr() 118 shm_id1 = shmget(IPC_PRIVATE, sizeof(int), 0777|IPC_CREAT); in ptrace_tm_spr()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 11-1-buildonly.c | 22 dummyvar = shmget; in dummyfcn()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | shmctl.cc | 13 int id = shmget(IPC_PRIVATE, 4096, 0644 | IPC_CREAT); in main()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/syscalls/ |
D | ipc.h | 43 DO_TEST(shmget, __NR_shmget)
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | hugepage-shm.c | 61 shmid = shmget(2, LENGTH, SHM_HUGETLB | IPC_CREAT | SHM_R | SHM_W); in main()
|