tag | line | file | source code |
curr | 156 | ipc/sem.c | struct sem *curr; |
curr | 220 | ipc/sem.c | curr = &sma->sem_base[semnum]; |
curr | 231 | ipc/sem.c | case GETVAL : return curr->semval; |
curr | 232 | ipc/sem.c | case GETPID : return curr->sempid; |
curr | 233 | ipc/sem.c | case GETNCNT: return curr->semncnt; |
curr | 234 | ipc/sem.c | case GETZCNT: return curr->semzcnt; |
curr | 301 | ipc/sem.c | curr->semval = val; |
curr | 346 | ipc/sem.c | struct sem *curr = NULL; |
curr | 407 | ipc/sem.c | curr = &sma->sem_base[sop->sem_num]; |
curr | 408 | ipc/sem.c | if (sop->sem_op + curr->semval > SEMVMX) |
curr | 410 | ipc/sem.c | if (!sop->sem_op && curr->semval) { |
curr | 415 | ipc/sem.c | curr->semzcnt++; |
curr | 417 | ipc/sem.c | curr->semzcnt--; |
curr | 420 | ipc/sem.c | if ((sop->sem_op + curr->semval < 0) ) { |
curr | 425 | ipc/sem.c | curr->semncnt++; |
curr | 427 | ipc/sem.c | curr->semncnt--; |
curr | 434 | ipc/sem.c | curr = &sma->sem_base[sop->sem_num]; |
curr | 435 | ipc/sem.c | curr->sempid = current->pid; |
curr | 436 | ipc/sem.c | if (!(curr->semval += sop->sem_op)) |
curr | 455 | ipc/sem.c | return curr->semval; |