Searched refs:nsops (Results 1 – 4 of 4) sorted by relevance
294 try_semop(struct sem_struct *sem, struct sembuf *sops, unsigned int nsops, in try_semop() argument314 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() local665 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 …]
94 int semop(int semid, struct sembuf *sops, size_t nsops) in semop() argument107 m.m_lc_ipc_semop.size = nsops; in semop()
655 size_t nsops; in test88b_perm() local672 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 …]
1341 syscallarg(size_t) nsops;