Home
last modified time | relevance | path

Searched refs:nsops (Results 1 – 4 of 4) sorted by relevance

/minix3/minix/servers/ipc/
H A Dsem.c294 try_semop(struct sem_struct *sem, struct sembuf *sops, unsigned int nsops, in try_semop() argument
314 for (i = 0; i < nsops; i++) { in try_semop()
350 if (i < nsops) { in try_semop()
367 for (i = 0; i < nsops; i++) in try_semop()
659 unsigned int nsops; in do_semop() local
665 nsops = m->m_lc_ipc_semop.size; in do_semop()
670 if (nsops == 0) in do_semop()
672 if (nsops > SEMOPM) in do_semop()
676 sops = malloc(sizeof(sops[0]) * nsops); in do_semop()
680 (vir_bytes)sops, sizeof(sops[0]) * nsops); in do_semop()
[all …]
/minix3/minix/lib/libc/sys/
H A Dsem.c94 int semop(int semid, struct sembuf *sops, size_t nsops) in semop() argument
107 m.m_lc_ipc_semop.size = nsops; in semop()
/minix3/minix/tests/
H A Dtest88.c655 size_t nsops; in test88b_perm() local
672 nsops = 1; in test88b_perm()
677 nsops = 1; in test88b_perm()
682 nsops = 1; in test88b_perm()
687 nsops = 2; in test88b_perm()
693 nsops = 2; in test88b_perm()
698 nsops = 2; in test88b_perm()
709 nsops = 2; in test88b_perm()
721 nsops = 2; in test88b_perm()
726 r = semop(id[0], sops, nsops); in test88b_perm()
[all …]
/minix3/sys/sys/
H A Dsyscallargs.h1341 syscallarg(size_t) nsops;