Home
last modified time | relevance | path

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

/xnu-10002.1.13/bsd/kern/
H A Dvsock_domain.c112 struct vsockpcb *pcb_match = NULL; in vsock_bind_address_if_free() local
116 LIST_FOREACH(pcb_match, &vsockinfo.bound, bound) { in vsock_bind_address_if_free()
117 socket_lock(pcb_match->so, 1); in vsock_bind_address_if_free()
118 if (pcb == pcb_match || in vsock_bind_address_if_free()
119 (!check_remote && pcb_match->local_address.port == local_port) || in vsock_bind_address_if_free()
120 (check_remote && pcb_match->local_address.port == local_port && in vsock_bind_address_if_free()
121pcb_match->remote_address.cid == remote_cid && pcb_match->remote_address.port == remote_port)) { in vsock_bind_address_if_free()
122 socket_unlock(pcb_match->so, 1); in vsock_bind_address_if_free()
126 socket_unlock(pcb_match->so, 1); in vsock_bind_address_if_free()