Home
last modified time | relevance | path

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

1234

/third_party/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()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat05.c56 shmctl(shmid, IPC_RMID, NULL); in shm_test()
65 shmctl(shmid, IPC_RMID, NULL); in shm_test()
69 shmctl(shmid, IPC_RMID, NULL); in shm_test()
Dhugeshmat04.c59 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
70 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
/third_party/musl/libc-test/src/functional/
Dipc_shm.c40 T(shmctl(shmid, IPC_RMID, 0)); in set()
52 T(shmctl(shmid, IPC_STAT, &shmid_ds)); in set()
72 T(shmctl(shmid, IPC_STAT, &shmid_ds)); in set()
101 T(shmctl(shmid, IPC_RMID, 0)); in get()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c169 TEST(shmctl(*(TC[i].shmid), TC[i].cmd, TC[i].arg)); in main()
378 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
423 ret = shmctl(shm_id_1, SHM_INFO, (void *)&tmp); in func_sstat_setup()
432 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_lock()
445 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_unlock()
463 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
Dshmctl04.c70 TEST(shmctl(0, SHM_INFO, (struct shmid_ds *)&shm_info)); in main()
Dshmctl05.c91 shmctl(0xF00F, IPC_RMID, NULL); in cleanup()
/third_party/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()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/
Dhugeshmctl01.c88 if (shmctl(shm_id_1, tcases[i].cmd, &buf) == -1) { in test_hugeshmctl()
251 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set()
275 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
/third_party/boost/boost/interprocess/
Dxsi_shared_memory.hpp193 ret = ::shmctl(ret, IPC_STAT, &xsi_ds); in priv_open_or_create()
206 { return -1 != ::shmctl(shmid, IPC_RMID, 0); } in remove()
/third_party/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()
/third_party/gstreamer/gstplugins_base/sys/ximage/
Dximagepool.c302 shmctl (mem->SHMInfo.shmid, IPC_RMID, NULL); in ximage_memory_alloc()
401 shmctl (mem->SHMInfo.shmid, IPC_RMID, NULL); in ximage_memory_alloc()
407 shmctl (mem->SHMInfo.shmid, IPC_RMID, NULL); in ximage_memory_alloc()
470 shmctl (SHMInfo.shmid, IPC_RMID, NULL); in gst_x_image_sink_check_xshm_calls()
480 shmctl (SHMInfo.shmid, IPC_RMID, NULL); in gst_x_image_sink_check_xshm_calls()
490 shmctl (SHMInfo.shmid, IPC_RMID, NULL); in gst_x_image_sink_check_xshm_calls()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/
D9-1-buildonly.c22 dummyvar = shmctl; in dummyfcn()
/third_party/skia/third_party/externals/swiftshader/src/Main/
DFrameBufferX11.cpp83 shmctl(shminfo.shmid, IPC_RMID, 0); in FrameBufferX11()
117 shmctl(shminfo.shmid, IPC_RMID, 0); in ~FrameBufferX11()
/third_party/toybox/toys/pending/
Dipcs.c123 if ((ret = shmctl(TT.id, IPC_STAT, &buf)) < 0) { in show_shm_id()
156 if ((max_nr = shmctl(0, SHM_INFO, (struct shmid_ds*)&shm_buf)) < 0) { in shm_array()
176 if ((shmctl(0, 3, (struct shmid_ds*)&ipc_buf)) < 0) return; //IPC_INFO in shm_array()
209 if ((shmid = shmctl(i, SHM_STAT, &buf)) < 0 ) continue; in shm_array()
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dshm.h62 int shmctl(int, int, struct shmid_ds *);
/third_party/musl/include/sys/
Dshm.h62 int shmctl(int, int, struct shmid_ds *);
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dshm.h62 int shmctl(int, int, struct shmid_ds *);
/third_party/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_process.c227 shmctl(shmid, IPC_RMID, NULL); in shm()
231 if (shmctl(shmid, IPC_RMID, NULL) == -1) in shm()
/third_party/musl/src/ipc/
Dshmctl.c10 int shmctl(int id, int cmd, struct shmid_ds *buf) in shmctl() function
/third_party/ltp/testcases/kernel/mem/shmt/
Dshmt02.c112 if (shmctl(shmid, IPC_RMID, NULL) == -1) { in rm_shm()
Dshmt08.c109 if (shmctl(shmid, IPC_RMID, NULL) == -1) { in rm_shm()
Dshmt07.c123 if (shmctl(shmid, IPC_RMID, NULL) == -1) { in rm_shm()
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/
Dhugetlb.c108 if (shmctl(shm_id, IPC_RMID, NULL) == -1) { in rm_shm()

1234