Searched refs:locknum (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/ipc/ |
| H A D | sem.c | 457 static inline void sem_unlock(struct sem_array *sma, int locknum) in sem_unlock() argument 459 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() local 2084 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/ |
| H A D | tg3.c | 705 static int tg3_ape_lock(struct tg3 *tp, int locknum) in tg3_ape_lock() argument 714 switch (locknum) { in tg3_ape_lock() 744 off = 4 * locknum; in tg3_ape_lock() 768 static void tg3_ape_unlock(struct tg3 *tp, int locknum) in tg3_ape_unlock() argument 775 switch (locknum) { in tg3_ape_unlock() 802 tg3_ape_write32(tp, gnt + 4 * locknum, bit); in tg3_ape_unlock()
|