Home
last modified time | relevance | path

Searched refs:shmctl (Results 1 – 25 of 117) sorted by relevance

12345

/external/strace/tests-mx32/
Dipc_shm.c97 shmctl(id, IPC_RMID, NULL); in cleanup()
175 rc = shmctl(bogus_id, bogus_cmd, NULL); in main()
179 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
184 if (shmctl(id, IPC_STAT, &ds)) in main()
199 if (shmctl(id, IPC_SET, &ds)) in main()
207 rc = shmctl(0, SHM_INFO, &ds); in main()
211 rc = shmctl(id, SHM_STAT, &ds); in main()
215 rc = shmctl(id, SHM_STAT_ANY, &ds); in main()
/external/strace/tests-m32/
Dipc_shm.c97 shmctl(id, IPC_RMID, NULL); in cleanup()
175 rc = shmctl(bogus_id, bogus_cmd, NULL); in main()
179 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
184 if (shmctl(id, IPC_STAT, &ds)) in main()
199 if (shmctl(id, IPC_SET, &ds)) in main()
207 rc = shmctl(0, SHM_INFO, &ds); in main()
211 rc = shmctl(id, SHM_STAT, &ds); in main()
215 rc = shmctl(id, SHM_STAT_ANY, &ds); in main()
/external/strace/tests/
Dipc_shm.c97 shmctl(id, IPC_RMID, NULL); in cleanup()
175 rc = shmctl(bogus_id, bogus_cmd, NULL); in main()
179 rc = shmctl(bogus_id, IPC_STAT, bogus_addr); in main()
184 if (shmctl(id, IPC_STAT, &ds)) in main()
199 if (shmctl(id, IPC_SET, &ds)) in main()
207 rc = shmctl(0, SHM_INFO, &ds); in main()
211 rc = shmctl(id, SHM_STAT, &ds); in main()
215 rc = shmctl(id, SHM_STAT_ANY, &ds); in main()
/external/compiler-rt/test/asan/TestCases/Linux/
Dshmctl.cc16 int res = shmctl(id, IPC_STAT, &ds); in main()
20 assert(-1 != shmctl(id, IPC_RMID, 0)); in main()
23 res = shmctl(0, SHM_INFO, (struct shmid_ds *)&shmInfo); in main()
/external/ltp/testcases/kernel/containers/sysvipc/
Dshm_comm.c72 shmctl(id, IPC_RMID, NULL); in chld1_shm()
88 shmctl(id, IPC_RMID, NULL); in chld1_shm()
105 shmctl(id, IPC_RMID, NULL); in chld2_shm()
117 shmctl(id, IPC_RMID, NULL); in chld2_shm()
Dshmnstest.c60 shmctl(id, IPC_RMID, NULL); in check_shmid()
141 shmctl(id, IPC_RMID, NULL); in main()
/external/syzkaller/sys/freebsd/
Dipc.txt53 shmctl$IPC_STAT(shmid ipc_shm, cmd const[IPC_STAT], buf buffer[out])
54 shmctl$IPC_SET(shmid ipc_shm, cmd const[IPC_SET], buf ptr[in, shmid_ds])
55 shmctl$IPC_RMID(shmid ipc_shm, cmd const[IPC_RMID])
56 shmctl$IPC_INFO(shmid ipc_shm, cmd const[IPC_INFO], buf buffer[out])
57 shmctl$SHM_INFO(shmid ipc_shm, cmd const[SHM_INFO], buf buffer[out])
58 shmctl$SHM_STAT(shmid ipc_shm, cmd const[SHM_STAT], buf buffer[out])
59 shmctl$SHM_LOCK(shmid ipc_shm, cmd const[SHM_LOCK])
60 shmctl$SHM_UNLOCK(shmid ipc_shm, cmd const[SHM_UNLOCK])
/external/linux-kselftest/tools/testing/selftests/powerpc/ptrace/
Dptrace-tm-spr.c143 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
144 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
151 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spr()
152 shmctl(shm_id1, IPC_RMID, NULL); in ptrace_tm_spr()
Dptrace-gpr.c99 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
107 shmctl(shm_id, IPC_RMID, NULL); in ptrace_gpr()
Dptrace-vsx.c94 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx()
102 shmctl(shm_id, IPC_RMID, NULL); in ptrace_vsx()
Dptrace-tm-tar.c139 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
145 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_tar()
Dptrace-tm-spd-gpr.c147 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_gpr()
154 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_gpr()
Dptrace-tm-spd-tar.c152 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar()
159 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_tar()
Dptrace-tm-vsx.c147 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
153 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_vsx()
Dptrace-tm-spd-vsx.c164 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx()
170 shmctl(shm_id, IPC_RMID, NULL); in ptrace_tm_spd_vsx()
/external/syzkaller/sys/linux/
Dipc.txt53 shmctl$IPC_STAT(shmid ipc_shm, cmd const[IPC_STAT], buf buffer[out])
54 shmctl$IPC_SET(shmid ipc_shm, cmd const[IPC_SET], buf ptr[in, shmid_ds])
55 shmctl$IPC_RMID(shmid ipc_shm, cmd const[IPC_RMID])
56 shmctl$IPC_INFO(shmid ipc_shm, cmd const[IPC_INFO], buf buffer[out])
57 shmctl$SHM_INFO(shmid ipc_shm, cmd const[SHM_INFO], buf buffer[out])
58 shmctl$SHM_STAT(shmid ipc_shm, cmd const[SHM_STAT], buf buffer[out])
59 shmctl$SHM_LOCK(shmid ipc_shm, cmd const[SHM_LOCK])
60 shmctl$SHM_UNLOCK(shmid ipc_shm, cmd const[SHM_UNLOCK])
/external/linux-kselftest/tools/testing/selftests/vm/
Dhugepage-shm.c71 shmctl(shmid, IPC_RMID, NULL); in main()
94 shmctl(shmid, IPC_RMID, NULL); in main()
98 shmctl(shmid, IPC_RMID, NULL); in main()
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat05.c73 shmctl(shmid, IPC_RMID, NULL); in shm_test()
82 shmctl(shmid, IPC_RMID, NULL); in shm_test()
86 shmctl(shmid, IPC_RMID, NULL); in shm_test()
Dhugeshmat04.c70 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
81 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
/external/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c168 TEST(shmctl(*(TC[i].shmid), TC[i].cmd, TC[i].arg)); in main()
377 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
417 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_lock()
430 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_unlock()
448 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
/external/syzkaller/sys/netbsd/
Dipc.txt49 shmctl$IPC_STAT(shmid ipc_shm, cmd const[IPC_STAT], buf buffer[out])
50 shmctl$IPC_SET(shmid ipc_shm, cmd const[IPC_SET], buf ptr[in, shmid_ds])
51 shmctl$IPC_RMID(shmid ipc_shm, cmd const[IPC_RMID])
52 shmctl$SHM_LOCK(shmid ipc_shm, cmd const[SHM_LOCK])
53 shmctl$SHM_UNLOCK(shmid ipc_shm, cmd const[SHM_UNLOCK])
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c110 if (shmctl(shm_id_1, tcases[i].cmd, &buf) == -1) { in test_hugeshmctl()
274 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
298 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
/external/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget01.c93 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in main()
127 if (shmctl(shm_id_1, IPC_RMID, NULL) == -1) { in main()
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c136 shmctl(shminfo->shmid, IPC_RMID, 0); in alloc_shm()
169 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in alloc_shm_ximage()
184 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in alloc_shm_ximage()
261 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in xlib_displaytarget_destroy()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_test.c264 shmctl(shmid, IPC_RMID, NULL); in shm()
272 shmctl(shmid, IPC_RMID, NULL); in shm()
279 if (shmctl(shmid, IPC_RMID, NULL) == -1) in shm()

12345