Home
last modified time | relevance | path

Searched refs:shmget (Results 1 – 25 of 129) sorted by relevance

123456

/external/ltp/testcases/kernel/containers/sysvipc/
Dshmem_2nstest.c72 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()
Dshmnstest.c56 id = shmget(TESTKEY, 100, 0); in check_shmid()
109 id = shmget(TESTKEY, 100, IPC_CREAT); in main()
Dshm_comm.c65 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/
Dshmget02.c110 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()
Dshmget04.c81 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()
Dshmget03.c87 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()
Dshmget05.c126 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/
Dhugeshmget03.c95 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()
Dhugeshmget02.c111 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()
Dhugeshmget05.c120 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/
Dshmt05.c73 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()
Dshmt04.c88 if ((shmid = shmget(key, SIZE, IPC_CREAT | 0666)) < 0) { in main()
155 if ((shmid = shmget(key, SIZE, 0)) < 0) { in child()
Dshmt06.c87 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/
Dhugeshmctl02.c147 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/
Dshmctl02.c185 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/
Dshmat02.c168 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/
Dipc_shm.c72 rc = shmget(bogus_key, bogus_size, bogus_flags); in main()
81 id = shmget(private_key, 1, 0600); in main()
/external/strace/tests-m32/
Dipc_shm.c72 rc = shmget(bogus_key, bogus_size, bogus_flags); in main()
81 id = shmget(private_key, 1, 0600); in main()
/external/strace/tests-mx32/
Dipc_shm.c72 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/
Dshmem_test_07.c277 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/
D11-1-buildonly.c22 dummyvar = shmget; in dummyfcn()
/external/valgrind/none/tests/linux/
Dmremap4.c12 int shmid = shmget(IPC_PRIVATE, 100 * 4096, in main()
Dmremap5.c12 int shmid = shmget(IPC_PRIVATE, 100 * 4096, in main()
Dmremap6.c12 int shmid = shmget(IPC_PRIVATE, sz, in mkmap()
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_process.c235 shmid = shmget(key, memsize, flag); in shm()
240 shmid = shmget(key, memsize, flag); in shm()

123456