/external/ltp/testcases/kernel/containers/sysvipc/ |
D | shmem_2nstest.c | 72 id1 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem1() 96 id2 = shmget(TESTKEY, 100, 0); in check_shmem2() 98 id2 = shmget(TESTKEY, 100, IPC_CREAT); in check_shmem2() 184 id = shmget(TESTKEY, 100, 0); in main()
|
D | shmnstest.c | 56 id = shmget(TESTKEY, 100, 0); in check_shmid() 109 id = shmget(TESTKEY, 100, IPC_CREAT); in main()
|
D | shm_comm.c | 65 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld1_shm() 98 id = shmget(TESTKEY, SHMSIZE, IPC_CREAT); in chld2_shm()
|
/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 | 126 TEST(shmget(shmkey, SHM_SIZE, SHM_RW)); in do_child() 169 if ((shm_id_1 = shmget(shmkey, SHM_SIZE, in setup()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmget/ |
D | hugeshmget03.c | 95 TEST(shmget(IPC_PRIVATE, shm_size, in main() 134 shm_id_1 = shmget(IPC_PRIVATE, shm_size, in setup() 143 shm_id_1 = shmget(IPC_PRIVATE, shm_size, in setup()
|
D | hugeshmget02.c | 111 shm_id_2 = shmget(*(TC[i].skey), 0, 0); in main() 116 TEST(shmget(*(TC[i].skey), TC[i].size_coe * shm_size, in main() 154 shm_id_1 = shmget(shmkey, shm_size, IPC_CREAT | IPC_EXCL | SHM_RW); in setup()
|
D | hugeshmget05.c | 120 TEST(shmget(shmkey, shm_size, SHM_HUGETLB | SHM_RW)); in do_child() 149 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()
|
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl02.c | 147 shm_id_1 = shmget(shmkey, shm_size, SHM_HUGETLB | IPC_CREAT | IPC_EXCL); in setup() 152 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/ltp/testcases/kernel/syscalls/ipc/shmat/ |
D | shmat02.c | 168 shm_id_2 = shmget(shmkey, INT_SIZE, SHM_RW | IPC_CREAT | IPC_EXCL); in setup() 176 shm_id_3 = shmget(shmkey2, INT_SIZE, IPC_CREAT | IPC_EXCL); in setup()
|
/external/strace/tests/ |
D | ipc_shm.c | 72 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 81 id = shmget(private_key, 1, 0600); in main()
|
/external/strace/tests-m32/ |
D | ipc_shm.c | 72 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 81 id = shmget(private_key, 1, 0600); in main()
|
/external/strace/tests-mx32/ |
D | ipc_shm.c | 72 rc = shmget(bogus_key, bogus_size, bogus_flags); in main() 81 id = shmget(private_key, 1, 0600); in main()
|
/external/ltp/testcases/kernel/ipc/ipc_stress/ |
D | shmem_test_07.c | 277 if ((shmid[j] = shmget(IPC_PRIVATE, Size, SHMEM_MODE)) < 0) in main() 293 if ((shmid[j] = shmget(IPC_PRIVATE, Size, SHMEM_MODE)) < 0) in main() 315 if ((shmid[j] = shmget(IPC_PRIVATE, Size, SHMEM_MODE)) < 0) in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 11-1-buildonly.c | 22 dummyvar = shmget; in dummyfcn()
|
/external/valgrind/none/tests/linux/ |
D | mremap4.c | 12 int shmid = shmget(IPC_PRIVATE, 100 * 4096, in main()
|
D | mremap5.c | 12 int shmid = shmget(IPC_PRIVATE, 100 * 4096, in main()
|
D | mremap6.c | 12 int shmid = shmget(IPC_PRIVATE, sz, in mkmap()
|
/external/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_process.c | 235 shmid = shmget(key, memsize, flag); in shm() 240 shmid = shmget(key, memsize, flag); in shm()
|