tag | line | file | source code |
sop | 347 | ipc/sem.c | struct sembuf sops[SEMOPM], *sop; |
sop | 362 | ipc/sem.c | sop = &sops[i]; |
sop | 363 | ipc/sem.c | if (sop->sem_num > sma->sem_nsems) |
sop | 365 | ipc/sem.c | if (sop->sem_flg & SEM_UNDO) |
sop | 367 | ipc/sem.c | if (sop->sem_op) { |
sop | 369 | ipc/sem.c | if (sop->sem_op > 0) |
sop | 406 | ipc/sem.c | sop = &sops[i]; |
sop | 407 | ipc/sem.c | curr = &sma->sem_base[sop->sem_num]; |
sop | 408 | ipc/sem.c | if (sop->sem_op + curr->semval > SEMVMX) |
sop | 410 | ipc/sem.c | if (!sop->sem_op && curr->semval) { |
sop | 411 | ipc/sem.c | if (sop->sem_flg & IPC_NOWAIT) |
sop | 420 | ipc/sem.c | if ((sop->sem_op + curr->semval < 0) ) { |
sop | 421 | ipc/sem.c | if (sop->sem_flg & IPC_NOWAIT) |
sop | 433 | ipc/sem.c | sop = &sops[i]; |
sop | 434 | ipc/sem.c | curr = &sma->sem_base[sop->sem_num]; |
sop | 436 | ipc/sem.c | if (!(curr->semval += sop->sem_op)) |
sop | 438 | ipc/sem.c | if (!(sop->sem_flg & SEM_UNDO)) |
sop | 442 | ipc/sem.c | (un->sem_num == sop->sem_num)) |
sop | 448 | ipc/sem.c | un->semadj -= sop->sem_op; |