Searched refs:locknum (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/ipc/ |
H A D | sem.c | 381 static inline void sem_unlock(struct sem_array *sma, int locknum) sem_unlock() argument 383 if (locknum == -1) { sem_unlock() 387 struct sem *sem = sma->sem_base + locknum; sem_unlock() 399 int id, struct sembuf *sops, int nsops, int *locknum) sem_obtain_lock() 409 *locknum = sem_lock(sma, sops, nsops); sem_obtain_lock() 417 sem_unlock(sma, *locknum); sem_obtain_lock() 1800 int undos = 0, alter = 0, max, locknum; SYSCALL_DEFINE4() local 1878 locknum = sem_lock(sma, sops, nsops); SYSCALL_DEFINE4() 1955 sem_unlock(sma, locknum); SYSCALL_DEFINE4() 1979 sma = sem_obtain_lock(ns, semid, sops, nsops, &locknum); SYSCALL_DEFINE4() 2017 sem_unlock(sma, locknum); SYSCALL_DEFINE4() 398 sem_obtain_lock(struct ipc_namespace *ns, int id, struct sembuf *sops, int nsops, int *locknum) sem_obtain_lock() argument
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 708 static int tg3_ape_lock(struct tg3 *tp, int locknum) tg3_ape_lock() argument 717 switch (locknum) { tg3_ape_lock() 746 off = 4 * locknum; tg3_ape_lock() 770 static void tg3_ape_unlock(struct tg3 *tp, int locknum) tg3_ape_unlock() argument 777 switch (locknum) { tg3_ape_unlock() 803 tg3_ape_write32(tp, gnt + 4 * locknum, bit); tg3_ape_unlock()
|
Completed in 181 milliseconds