/third_party/ltp/testcases/kernel/containers/sysvipc/ |
D | shm_comm.c | 72 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()
|
D | shmnstest.c | 60 shmctl(id, IPC_RMID, NULL); in check_shmid() 141 shmctl(id, IPC_RMID, NULL); in main()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat05.c | 56 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()
|
D | hugeshmat04.c | 59 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage() 70 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage()
|
/third_party/musl/libc-test/src/functional/ |
D | ipc_shm.c | 40 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/ |
D | shmctl01.c | 169 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()
|
D | shmctl04.c | 70 TEST(shmctl(0, SHM_INFO, (struct shmid_ds *)&shm_info)); in main()
|
D | shmctl05.c | 91 shmctl(0xF00F, IPC_RMID, NULL); in cleanup()
|
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/ |
D | shmget01.c | 93 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/ |
D | hugeshmctl01.c | 88 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/ |
D | xsi_shared_memory.hpp | 193 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/ |
D | cpuset_memory_test.c | 264 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/ |
D | ximagepool.c | 302 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/ |
D | 9-1-buildonly.c | 22 dummyvar = shmctl; in dummyfcn()
|
/third_party/skia/third_party/externals/swiftshader/src/Main/ |
D | FrameBufferX11.cpp | 83 shmctl(shminfo.shmid, IPC_RMID, 0); in FrameBufferX11() 117 shmctl(shminfo.shmid, IPC_RMID, 0); in ~FrameBufferX11()
|
/third_party/toybox/toys/pending/ |
D | ipcs.c | 123 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/ |
D | shm.h | 62 int shmctl(int, int, struct shmid_ds *);
|
/third_party/musl/include/sys/ |
D | shm.h | 62 int shmctl(int, int, struct shmid_ds *);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | shm.h | 62 int shmctl(int, int, struct shmid_ds *);
|
/third_party/ltp/testcases/kernel/controllers/memcg/functional/ |
D | memcg_process.c | 227 shmctl(shmid, IPC_RMID, NULL); in shm() 231 if (shmctl(shmid, IPC_RMID, NULL) == -1) in shm()
|
/third_party/musl/src/ipc/ |
D | shmctl.c | 10 int shmctl(int id, int cmd, struct shmid_ds *buf) in shmctl() function
|
/third_party/ltp/testcases/kernel/mem/shmt/ |
D | shmt02.c | 112 if (shmctl(shmid, IPC_RMID, NULL) == -1) { in rm_shm()
|
D | shmt08.c | 109 if (shmctl(shmid, IPC_RMID, NULL) == -1) { in rm_shm()
|
D | shmt07.c | 123 if (shmctl(shmid, IPC_RMID, NULL) == -1) { in rm_shm()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/lib/ |
D | hugetlb.c | 108 if (shmctl(shm_id, IPC_RMID, NULL) == -1) { in rm_shm()
|