Home
last modified time | relevance | path

Searched refs:SAFE_SHMCTL (Results 1 – 19 of 19) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/ipc/shmctl/
Dshmctl01.c106 SAFE_SHMCTL(shm_id, IPC_STAT, &ds1); in check_nattch()
107 SAFE_SHMCTL(shm_idx, SHM_STAT, &ds2); in check_nattch()
199 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in shmstat_basic_check()
204 SAFE_SHMCTL(shm_idx, SHM_STAT, &ds); in shmstat_basic_check()
235 max_idx = SAFE_SHMCTL(shm_id, SHM_INFO, (void *)&dummy); in get_shm_idx_from_id()
264 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
Dshmctl08.c56 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmset()
71 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmset()
87 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmset()
99 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
Dshmctl02.c123 SAFE_SHMCTL(tmp, IPC_RMID, NULL); in setup()
129 SAFE_SHMCTL(shm_id1, IPC_RMID, NULL); in cleanup()
132 SAFE_SHMCTL(shm_id2, IPC_RMID, NULL); in cleanup()
136 SAFE_SHMCTL(shm_id3, IPC_RMID, NULL); in cleanup()
Dshmctl07.c34 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmlock()
48 SAFE_SHMCTL(shm_id, IPC_STAT, &ds); in verify_shmlock()
64 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
Dshmctl05.c39 SAFE_SHMCTL(id, IPC_RMID, NULL); in thrproc()
105 SAFE_SHMCTL(id, IPC_RMID, NULL); in cleanup()
Dshmctl06.c46 SAFE_SHMCTL(shmid, IPC_RMID, NULL); in run()
Dshmctl04.c178 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
Dshmget05.c43 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in verify_shmget()
56 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
Dshmget06.c43 SAFE_SHMCTL(shm_id[1], IPC_RMID, NULL); in verify_shmget()
61 SAFE_SHMCTL(shm_id[i], IPC_RMID, NULL); in cleanup()
Dshmget04.c61 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
Dshmget03.c64 SAFE_SHMCTL(queues[num], IPC_RMID, NULL); in cleanup()
Dshmget02.c140 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat01.c96 SAFE_SHMCTL(shm_id, IPC_STAT, &buf); in verify_shmat()
143 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
Dshmat03.c60 SAFE_SHMCTL(shm_id, IPC_RMID, 0); in cleanup()
Dshmat02.c98 SAFE_SHMCTL(shm_id2, IPC_RMID, NULL); in cleanup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap05.c151 SAFE_SHMCTL(shmid, IPC_RMID, NULL); in test_overcommit()
164 SAFE_SHMCTL(shmid, IPC_RMID, NULL); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill05.c98 SAFE_SHMCTL(shm_id, IPC_RMID, NULL); in cleanup()
/third_party/ltp/include/
Dtst_safe_sysv_ipc.h50 #define SAFE_SHMCTL(shmid, cmd, buf) ({ \ macro
/third_party/ltp/testcases/kernel/syscalls/setns/
Dsetns02.c175 SAFE_SHMCTL(shmid, IPC_RMID, NULL); in cleanup()