Searched refs:locknum (Results 1 – 1 of 1) sorted by relevance
438 static inline void sem_unlock(struct sem_array *sma, int locknum) in sem_unlock() argument440 if (locknum == SEM_GLOBAL_LOCK) { in sem_unlock()445 struct sem *sem = &sma->sems[locknum]; in sem_unlock()1974 int max, locknum; in do_semtimedop() local2067 locknum = sem_lock(sma, sops, nsops); in do_semtimedop()2108 sem_unlock(sma, locknum); in do_semtimedop()2155 sem_unlock(sma, locknum); in do_semtimedop()2187 locknum = sem_lock(sma, sops, nsops); in do_semtimedop()2211 sem_unlock(sma, locknum); in do_semtimedop()