tag | line | file | source code |
semid | 102 | include/linux/sem.h | int semid; /* semaphore set identifier */ |
semid | 107 | include/linux/sem.h | asmlinkage int sys_semop (int semid, struct sembuf *sops, unsigned nsops); |
semid | 108 | include/linux/sem.h | asmlinkage int sys_semctl (int semid, int semnum, int cmd, union semun arg); |
semid | 348 | ipc/sem.c | un->semid = -1; |
semid | 360 | ipc/sem.c | asmlinkage int sys_semctl (int semid, int semnum, int cmd, union semun arg) |
semid | 373 | ipc/sem.c | if (semid < 0 || semnum < 0 || cmd < 0) |
semid | 407 | ipc/sem.c | if (semid > max_semid) |
semid | 409 | ipc/sem.c | sma = semary[semid]; |
semid | 414 | ipc/sem.c | id = (unsigned int) sma->sem_perm.seq * SEMMNI + semid; |
semid | 423 | ipc/sem.c | id = (unsigned int) semid % SEMMNI; |
semid | 429 | ipc/sem.c | if (sma->sem_perm.seq != (unsigned int) semid / SEMMNI) |
semid | 499 | ipc/sem.c | if (sma->sem_perm.seq != (unsigned int) semid / SEMMNI) |
semid | 557 | ipc/sem.c | asmlinkage int sys_semop (int semid, struct sembuf *tsops, unsigned nsops) |
semid | 565 | ipc/sem.c | if (nsops < 1 || semid < 0) |
semid | 574 | ipc/sem.c | id = (unsigned int) semid % SEMMNI; |
semid | 577 | ipc/sem.c | if (sma->sem_perm.seq != (unsigned int) semid / SEMMNI) |
semid | 598 | ipc/sem.c | if (un->semid == semid) |
semid | 607 | ipc/sem.c | un->semid = semid; |
semid | 680 | ipc/sem.c | if (u->semid == -1) |
semid | 682 | ipc/sem.c | sma = semary[(unsigned int) u->semid % SEMMNI]; |
semid | 685 | ipc/sem.c | if (sma->sem_perm.seq != (unsigned int) u->semid / SEMMNI) |
semid | 692 | ipc/sem.c | printk ("sem_exit undo list error id=%d\n", u->semid); |
semid | 70 | ipc/util.c | asmlinkage int sys_semop (int semid, struct sembuf *sops, unsigned nsops) |
semid | 75 | ipc/util.c | asmlinkage int sys_semctl (int semid, int semnum, int cmd, union semun arg) |