Searched refs:sem_op (Results 1 – 8 of 8) sorted by relevance
293 if (op->sem_op == 0) in sem_rollback()296 semp->semval -= op->sem_op; in sem_rollback()299 (void) sem_undo_add(-op->sem_op, op->sem_num, undo); in sem_rollback()978 mode |= op->sem_op ? SEM_A : SEM_R; in semop()983 if ((op->sem_flg & SEM_UNDO) && op->sem_op) in semop()1027 if (op->sem_op > 0) { in semop()1028 if (op->sem_op + (int)semp->semval > USHRT_MAX || in semop()1030 (error = sem_undo_add(op->sem_op, op->sem_num, in semop()1038 semp->semval += op->sem_op; in semop()1044 if (op->sem_op == 1 && sp->sem_binary) in semop()[all …]
133 sem_b.sem_op = -1; in os_obtainmutex()144 sem_b.sem_op = 1; in os_releasemutex()
360 sem_b.sem_op = -1; in os_obtainmutex()371 sem_b.sem_op = 1; in os_releasemutex()
121 semops[0].sem_op = -1;165 semops[0].sem_op = 1;
90 short sem_op; /* semaphore operation */ member
101 short sem_op; /* semaphore operation */ member
910 Sem_buf.sem_op = -1; in child_copy()974 Rstsem_buf.sem_op = 2; in parent_copy()975 Sem_buf.sem_op = 0; in parent_copy()
2469 sembuf.sem_op); in show_semop()