/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/ |
D | shmctl02.c | 49 return shmctl(shmid, cmd, buf); in libc_shmctl() 79 int (*shmctl)(int shmid, int cmd, void *buf); member 82 { .shmctl = libc_shmctl, .desc = "libc shmctl()"}, 84 { .shmctl = sys_shmctl, .desc = "__NR_shmctl syscall"}, 92 if (tc[i].error == EFAULT && tv->shmctl == libc_shmctl) { in verify_shmctl() 97 TST_EXP_FAIL(tv->shmctl(*(tc[i].shm_id), tc[i].cmd, tc[i].buf), in verify_shmctl()
|
D | shmctl04.c | 123 TEST(shmctl(0, SHM_INFO, (struct shmid_ds *)&info)); in verify_shminfo() 130 shmid = shmctl(TST_RET, SHM_STAT_ANY, &ds); in verify_shminfo() 141 if (shmctl(i, SHM_STAT_ANY, &ds) != -1) in verify_shminfo() 165 TEST(shmctl(shm_id, SHM_STAT_ANY, &temp_ds)); in setup()
|
D | shmctl07.c | 26 TEST(shmctl(shm_id, SHM_LOCK, NULL)); in verify_shmlock() 41 TEST(shmctl(shm_id, SHM_UNLOCK, NULL)); in verify_shmlock()
|
D | shmctl03.c | 22 TEST(shmctl(0, IPC_INFO, (struct shmid_ds *)&info)); in verify_ipcinfo()
|
/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 | 68 shmctl(shmid, IPC_RMID, NULL); in shared_hugepage() 79 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/mce-test/tsrc/ |
D | hugepage.h | 114 shmctl(shmid, IPC_RMID, NULL); in alloc_shm_hugepage() 160 shmctl(key, IPC_RMID, NULL); in free_shm_hugepage() 163 shmctl(key, IPC_RMID, NULL); in free_shm_hugepage()
|
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmctl/ |
D | hugeshmctl01.c | 83 if (shmctl(shm_id_1, tcases[i].cmd, &buf) == -1) { in test_hugeshmctl() 246 if (shmctl(shm_id_1, IPC_STAT, &buf) == -1) { in func_set() 270 if (shmctl(shm_id_1, IPC_STAT, &buf) != -1) in func_rmid()
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
D | xlib_sw_winsys.c | 137 shmctl(shminfo->shmid, IPC_RMID, 0); in alloc_shm() 170 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in alloc_shm_ximage() 185 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in alloc_shm_ximage() 262 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in xlib_displaytarget_destroy()
|
/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/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/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
D | 9-1.c | 192 SAFE_FUNC(shmctl(shm_id, IPC_RMID, NULL)); in main() 204 SAFE_FUNC(shmctl(shm_id, IPC_RMID, NULL)); in main()
|
/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/docs/ |
D | status.md | 102 - shmctl 135 - shmctl 函数用于对共享内存段进行控制操作,如获取/设置共享内存的状态信息、删除共享内存段等。
|
/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/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/shm_h/ |
D | 9-1-buildonly.c | 22 dummyvar = shmctl; in dummyfcn()
|
/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/porting/liteos_a_newlib/kernel/include/sys/ |
D | shm.h | 56 int shmctl(int, int, struct shmid_ds *);
|
/third_party/musl/ndk_musl_include/sys/ |
D | shm.h | 62 int shmctl(int, int, struct shmid_ds *);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
D | shm.h | 62 int shmctl(int, int, struct shmid_ds *);
|
/third_party/musl/porting/liteos_a/kernel/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 *);
|