Searched refs:locknum (Results 1 – 1 of 1) sorted by relevance
460 static inline void sem_unlock(struct sem_array *sma, int locknum) in sem_unlock() argument462 if (locknum == SEM_GLOBAL_LOCK) { in sem_unlock()467 struct sem *sem = &sma->sems[locknum]; in sem_unlock()1993 int max, locknum; in __do_semtimedop() local2075 locknum = sem_lock(sma, sops, nsops); in __do_semtimedop()2116 sem_unlock(sma, locknum); in __do_semtimedop()2165 sem_unlock(sma, locknum); in __do_semtimedop()2191 locknum = sem_lock(sma, sops, nsops); in __do_semtimedop()2218 sem_unlock(sma, locknum); in __do_semtimedop()