Home
last modified time | relevance | path

Searched refs:SAFE_SEMCTL (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/testcases/kernel/containers/sysvipc/
Dsem_comm.c50 SAFE_SEMCTL(id, 0, SETVAL, su); in chld1_sem()
58 SAFE_SEMCTL(id, 0, IPC_RMID); in chld1_sem()
77 SAFE_SEMCTL(id, 0, SETVAL, su); in chld2_sem()
93 SAFE_SEMCTL(id, 0, IPC_RMID); in chld2_sem()
Dsemtest_2ns.c64 SAFE_SEMCTL(id, IPC_RMID, 0); in check_sem1()
133 SAFE_SEMCTL(id, IPC_RMID, 0); in cleanup()
Dsem_nstest.c76 SAFE_SEMCTL(ipc_id, IPC_RMID, 0); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semget/
Dsemget01.c28 SAFE_SEMCTL(sem_id, 0, IPC_STAT, un_arg); in check_functionality()
46 SAFE_SEMCTL(sem_id, PSEMS, IPC_RMID); in verify_semget()
57 SAFE_SEMCTL(sem_id, PSEMS, IPC_RMID); in cleanup()
Dsemget05.c68 SAFE_SEMCTL(sem_id_arr[num], PSEMS, IPC_RMID); in cleanup()
Dsemget02.c91 SAFE_SEMCTL(sem_id, PSEMS, IPC_RMID); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semctl/
Dsemctl01.c57 SAFE_SEMCTL(sem_id, 0, IPC_STAT, (union semun)&buf); in func_set()
186 SAFE_SEMCTL(sem_id, 0, GETALL, (union semun)rarray); in func_sall()
199 int semv = SAFE_SEMCTL(sem_id, 4, GETVAL); in func_sval()
284 rval = SAFE_SEMCTL(*(tc->semid), tc->semnum, tc->cmd, tc->arg); in verify_semctl()
306 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()
Dsemctl02.c47 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()
Dsemctl05.c60 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()
Dsemctl04.c78 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()
Dsemctl03.c104 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()
Dsemctl09.c215 SAFE_SEMCTL(sem_id, 0, IPC_RMID); in cleanup()
Dsemctl07.c144 SAFE_SEMCTL(semid, 0, IPC_RMID); in cleanup()
/third_party/ltp/testcases/kernel/syscalls/ipc/semop/
Dsemop04.c74 SAFE_SEMCTL(semid, 0, SETVAL, semunion); in run()
/third_party/ltp/include/
Dtst_safe_sysv_ipc.h62 #define SAFE_SEMCTL(semid, semnum, cmd, ...) ({ \ macro