Searched refs:unp2 (Results 1 – 2 of 2) sorted by relevance
296 static void unp_disconnect(struct unpcb *unp, struct unpcb *unp2);347 unp_pcb_lock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_lock_pair() argument350 UNP_PCB_UNLOCK_ASSERT(unp2); in unp_pcb_lock_pair()352 if (unp == unp2) { in unp_pcb_lock_pair()354 } else if ((uintptr_t)unp2 > (uintptr_t)unp) { in unp_pcb_lock_pair()356 UNP_PCB_LOCK(unp2); in unp_pcb_lock_pair()358 UNP_PCB_LOCK(unp2); in unp_pcb_lock_pair()364 unp_pcb_unlock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_unlock_pair() argument367 if (unp != unp2) in unp_pcb_unlock_pair()368 UNP_PCB_UNLOCK(unp2); in unp_pcb_unlock_pair()[all …]
598 struct unpcb *unp, *unp2; in kern_socketpair() local 600 unp2 = sotounpcb(so2); in kern_socketpair() 605 unp_copy_peercred(td, unp, unp2, unp); in kern_socketpair()