Lines Matching refs:nsops
1008 int nsops = uap->nsops;
1022 printf("call to semop(%d, 0x%x, %d)\n", semid, sops, nsops);
1049 if (nsops < 0 || nsops > MAX_SOPS) {
1051 printf("too many sops (max=%d, nsops=%d)\n", MAX_SOPS, nsops);
1062 for (i = 0; i < nsops; i++)
1076 if ((eval = copyin(uap->sops, &sops, nsops * sizeof(struct sembuf))) != 0) {
1079 uap->sops, &sops, nsops * sizeof(struct sembuf));
1098 for (i = 0; i < nsops; i++) {
1148 if (i >= nsops)
1252 for (i = 0; i < nsops; i++) {
1289 for (j = 0; j < nsops; j++)
1301 for (i = 0; i < nsops; i++) {