tag | line | file | source code |
nsops | 93 | include/linux/sem.h | int nsops; /* number of operations */ |
nsops | 177 | ipc/sem.c | static int try_semop (struct semid_ds * sma, struct sembuf * sops, int nsops) |
nsops | 182 | ipc/sem.c | while (i < nsops) { |
nsops | 216 | ipc/sem.c | static int do_semop (struct semid_ds * sma, struct sembuf * sops, int nsops, |
nsops | 221 | ipc/sem.c | for (i = 0; i < nsops; i++) { |
nsops | 265 | ipc/sem.c | error = try_semop(sma, q->sops, q->nsops); |
nsops | 271 | ipc/sem.c | error = do_semop(sma, q->sops, q->nsops, q->undo, q->pid); |
nsops | 299 | ipc/sem.c | int nsops = q->nsops; |
nsops | 301 | ipc/sem.c | for (i = 0; i < nsops; i++) |
nsops | 317 | ipc/sem.c | int nsops = q->nsops; |
nsops | 319 | ipc/sem.c | for (i = 0; i < nsops; i++) |
nsops | 557 | ipc/sem.c | int sys_semop (int semid, struct sembuf *tsops, unsigned nsops) |
nsops | 565 | ipc/sem.c | if (nsops < 1 || semid < 0) |
nsops | 567 | ipc/sem.c | if (nsops > SEMOPM) |
nsops | 571 | ipc/sem.c | if ((i = verify_area (VERIFY_READ, tsops, nsops * sizeof(*tsops)))) |
nsops | 573 | ipc/sem.c | memcpy_fromfs (sops, tsops, nsops * sizeof(*tsops)); |
nsops | 579 | ipc/sem.c | for (i = 0; i < nsops; i++) { |
nsops | 590 | ipc/sem.c | error = try_semop(sma, sops, nsops); |
nsops | 617 | ipc/sem.c | error = do_semop(sma, sops, nsops, un, current->pid); |
nsops | 629 | ipc/sem.c | queue.nsops = nsops; |
nsops | 24 | ipc/util.c | extern int sys_semop (int semid, struct sembuf *sops, unsigned nsops); |