Lines Matching refs:sops
79 static struct sembuf sops; variable
299 sops.sem_num = SEM4; in cnt_setup()
300 sops.sem_flg = 0; in cnt_setup()
307 sops.sem_op = ONE; in cnt_setup()
308 if (semop(sem_id_1, &sops, 1) == -1) in cnt_setup()
313 sops.sem_op = opval; in cnt_setup()
322 sem_op = sops.sem_op; in cnt_setup()
340 sops.sem_op = (short int)sem_op; in child_cnt()
343 sops.sem_num = SEM4; in child_cnt()
344 sops.sem_flg = 0; in child_cnt()
352 if (semop(sem_id_1, &sops, 1) != -1) in child_cnt()
401 sops.sem_num = SEM2; in child_pid()
402 sops.sem_op = ONE; in child_pid()
403 sops.sem_flg = 0; in child_pid()
407 if (semop(sem_id_1, &sops, 1) == -1) in child_pid()
508 if (semop(sem_id_1, &sops, 1) != -1) in func_rmid()