Lines Matching defs:sops
216 struct netbsd32_sembuf *sops;
227 sops = small_sops;
229 sops = kmem_alloc(nsops * sizeof(*sops), KM_SLEEP);
231 SEM_PRINTF(("too many sops (max=%d, nsops=%zu)\n",
237 error = copyin(NETBSD32PTR64(usops), sops, nsops * sizeof(sops[0]));
240 NETBSD32PTR64(usops), &sops, nsops * sizeof(sops[0])));
241 if (sops != small_sops)
242 kmem_free(sops, nsops * sizeof(*sops));
256 error = do_semop1(l, semid, (struct sembuf*)sops, nsops,
259 if (sops != small_sops)
260 kmem_free(sops, nsops * sizeof(*sops));
271 syscallarg(netbsd32_sembufp_t) sops;
275 return netbsd32_do_semop(l, SCARG(uap, semid), SCARG(uap,sops),
285 syscallarg(netbsd32_sembufp_t) sops;
290 return netbsd32_do_semop(l, SCARG(uap, semid), SCARG(uap,sops),