Home
last modified time | relevance | path

Searched refs:unp2 (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Duipc_usrreq.c298 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() argument
354 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() argument
371 if (unp != unp2) in unp_pcb_unlock_pair()
372 UNP_PCB_UNLOCK(unp2); in unp_pcb_unlock_pair()
[all …]
H A Duipc_syscalls.c608 struct unpcb *unp, *unp2; in kern_socketpair() local
610 unp2 = sotounpcb(so2); in kern_socketpair()
615 unp_copy_peercred(td, unp, unp2, unp); in kern_socketpair()