Home
last modified time | relevance | path

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

12

/external/strace/tests/
Dipc_shm.c16 if (shmctl(id, IPC_STAT, &ds)) in main()
20 int max = shmctl(0, SHM_INFO, &ds); in main()
25 rc = shmctl(id, SHM_STAT, &ds); in main()
40 if (shmctl(id, IPC_RMID, 0) < 0) 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/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()
Dipcrm.c62 if (ipc == 1) ret = shmctl(id, IPC_RMID, NULL);
/external/mesa3d/src/mesa/drivers/x11/
Dxm_buffer.c107 shmctl(b->shminfo.shmid, IPC_RMID, 0); in alloc_back_shm_ximage()
127 shmctl(b->shminfo.shmid, IPC_RMID, 0); in alloc_back_shm_ximage()
134 shmctl(b->shminfo.shmid, IPC_RMID, 0); /* nobody else needs it */ in alloc_back_shm_ximage()
148 shmctl(b->shminfo.shmid, IPC_RMID, 0); in alloc_back_shm_ximage()
/external/fio/os/windows/posix/include/sys/
Dshm.h36 int shmctl(int shmid, int cmd, struct shmid_ds *buf);
/external/valgrind/none/tests/
Dmap_unmap.c147 if (shmctl(shmid, IPC_RMID, 0) != 0) { in main()
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c135 shmctl(shminfo->shmid, IPC_RMID, 0); in alloc_shm()
254 shmctl(xlib_dt->shminfo.shmid, IPC_RMID, 0); in xlib_displaytarget_destroy()
/external/fio/os/
Dos-android.h70 static inline int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) in shmctl() function
/external/valgrind/memcheck/tests/darwin/
Dscalar.stderr.exp562 Syscall param shmctl(shmid) contains uninitialised byte(s)
565 Syscall param shmctl(cmd) contains uninitialised byte(s)
568 Syscall param shmctl(buf) contains uninitialised byte(s)
571 Syscall param shmctl(IPC_STAT, buf) points to unaddressable byte(s)
/external/fio/
Dmemory.c121 shmctl(td->shm_id, IPC_RMID, &sbuf); in free_mem_shm()
Dinit.c283 shmctl(shm_id, IPC_RMID, &sbuf); in free_threads_shm()
/external/strace/
Dipc.c313 SYS_FUNC(shmctl) in SYS_FUNC() argument
Dsys_func.h238 extern SYS_FUNC(shmctl);
/external/valgrind/coregrind/m_syswrap/
Dpriv_syswrap-darwin.h324 DECL_TEMPLATE(darwin, shmctl); // 263
Dsyswrap-darwin.c2433 PRE(shmctl) in PRE() argument
2440 POST(shmctl) in POST() argument
9680 MACXY(__NR_shmctl, shmctl),
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc32 int shmctl(int, int, struct shmid_ds *);
1190 TEST(MemorySanitizer, shmctl) { in TEST() argument
1195 int res = shmctl(id, IPC_STAT, &ds); in TEST()
1202 res = shmctl(id, IPC_INFO, (struct shmid_ds *)&si); in TEST()
1207 res = shmctl(id, SHM_INFO, (struct shmid_ds *)&s_i); in TEST()
1212 res = shmctl(id, IPC_RMID, 0); in TEST()
1240 res = shmctl(id, IPC_RMID, 0); in TEST()
/external/libvncserver/x11vnc/
Dscan.c345 shmctl(shm->shmid, IPC_RMID, 0); in shm_create()
362 shmctl(shm->shmid, IPC_RMID, 0); in shm_create()
381 shmctl(shm->shmid, IPC_RMID, 0); in shm_delete()
/external/compiler-rt/lib/msan/
Dmsan_interceptors.cc1297 DECLARE_REAL(int, shmctl, int shmid, int cmd, void *buf) in DECLARE_REAL() argument
1304 int res = REAL(shmctl)(shmid, shmctl_ipc_stat, &ds); in DECLARE_REAL()
/external/fio/os/windows/
Dposix.c596 int shmctl(int shmid, int cmd, struct shmid_ds *buf) in shmctl() function
/external/mesa3d/include/GL/
Dvms_x_fix.h1074 #define shmctl SHMCTL macro
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc3401 INTERCEPTOR(int, shmctl, int shmid, int cmd, void *buf) {
3403 COMMON_INTERCEPTOR_ENTER(ctx, shmctl, shmid, cmd, buf);
3407 int res = REAL(shmctl)(shmid, cmd, buf);
3420 #define INIT_SHMCTL COMMON_INTERCEPT_FUNCTION(shmctl);
Dsanitizer_common_syscalls.inc2153 PRE_SYSCALL(shmctl)(long shmid, long cmd, void *buf) {}
2155 POST_SYSCALL(shmctl)(long res, long shmid, long cmd, void *buf) {
/external/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt2889 fun:shmctl=uninstrumented
/external/valgrind/
DNEWS.old1326 86987 semctl and shmctl syscalls family is not handled properly

12