Home
last modified time | relevance | path

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

/xnu-12377.61.12/bsd/kern/
H A Dvsock_domain.c140 struct vsockpcb *pcb_match = NULL; in vsock_bind_address_if_free() local
144 LIST_FOREACH(pcb_match, &vsockinfo[protocol].bound, bound) { in vsock_bind_address_if_free()
145 socket_lock(pcb_match->so, 1); in vsock_bind_address_if_free()
146 if (pcb == pcb_match || in vsock_bind_address_if_free()
147 (!check_remote && pcb_match->local_address.port == local_port) || in vsock_bind_address_if_free()
148 (check_remote && pcb_match->local_address.port == local_port && in vsock_bind_address_if_free()
149pcb_match->remote_address.cid == remote_cid && pcb_match->remote_address.port == remote_port)) { in vsock_bind_address_if_free()
150 socket_unlock(pcb_match->so, 1); in vsock_bind_address_if_free()
154 socket_unlock(pcb_match->so, 1); in vsock_bind_address_if_free()