Lines Matching refs:sops
28 static struct sembuf sops; variable
80 sops.sem_num = 4; in child_cnt()
81 sops.sem_flg = 0; in child_cnt()
89 if (semop(sem_id, &sops, 1) != -1) in child_cnt()
97 sops.sem_num = 4; in cnt_setup()
98 sops.sem_flg = 0; in cnt_setup()
103 sops.sem_op = 1; in cnt_setup()
104 SAFE_SEMOP(sem_id, &sops, 1); in cnt_setup()
107 sops.sem_op = opval; in cnt_setup()
129 sops.sem_num = 2; in child_pid()
130 sops.sem_op = 1; in child_pid()
131 sops.sem_flg = 0; in child_pid()
135 SAFE_SEMOP(sem_id, &sops, 1); in child_pid()
209 TST_EXP_FAIL(semop(sem_id, &sops, 1), EINVAL, "semaphore appears to be removed"); in func_rmid()