Searched refs:locknum (Results 1 – 1 of 1) sorted by relevance
457 static inline void sem_unlock(struct sem_array *sma, int locknum) in sem_unlock() argument459 if (locknum == SEM_GLOBAL_LOCK) { in sem_unlock()464 struct sem *sem = &sma->sems[locknum]; in sem_unlock()1991 int max, locknum; in do_semtimedop() local2084 locknum = sem_lock(sma, sops, nsops); in do_semtimedop()2125 sem_unlock(sma, locknum); in do_semtimedop()2174 sem_unlock(sma, locknum); in do_semtimedop()2202 locknum = sem_lock(sma, sops, nsops); in do_semtimedop()2229 sem_unlock(sma, locknum); in do_semtimedop()