Searched refs:unp2 (Results 1 – 2 of 2) sorted by relevance
298 static void unp_disconnect(struct unpcb *unp, struct unpcb *unp2);351 unp_pcb_lock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_lock_pair() argument354 UNP_PCB_UNLOCK_ASSERT(unp2); in unp_pcb_lock_pair()356 if (unp == unp2) { in unp_pcb_lock_pair()358 } else if ((uintptr_t)unp2 > (uintptr_t)unp) { in unp_pcb_lock_pair()360 UNP_PCB_LOCK(unp2); in unp_pcb_lock_pair()362 UNP_PCB_LOCK(unp2); in unp_pcb_lock_pair()368 unp_pcb_unlock_pair(struct unpcb *unp, struct unpcb *unp2) in unp_pcb_unlock_pair() argument371 if (unp != unp2) in unp_pcb_unlock_pair()372 UNP_PCB_UNLOCK(unp2); in unp_pcb_unlock_pair()[all …]
608 struct unpcb *unp, *unp2; in kern_socketpair() local610 unp2 = sotounpcb(so2); in kern_socketpair()615 unp_copy_peercred(td, unp, unp2, unp); in kern_socketpair()