Lines Matching refs:pcb

408 	if ((isp->pcb = bkmem_alloc(sizeof (tcp_t))) == NULL) {  in tcp_socket_init()
412 if ((errno = tcp_init_values((tcp_t *)isp->pcb, isp)) != 0) { in tcp_socket_init()
413 bkmem_free(isp->pcb, sizeof (tcp_t)); in tcp_socket_init()
531 if (sockets[sock_id].pcb == NULL) in tcp_drain_input()
535 if (tcp == NULL || sockets[sock_id].pcb == NULL) { in tcp_drain_input()
569 if ((tcp = sockets[sock_id].pcb) == NULL) in tcp_input()
587 if (sockets[sock_id].pcb == NULL) in tcp_input()
829 if ((tcp = sockets[sock_id].pcb) == NULL) { in tcp_shutdown()
843 if (sockets[sock_id].pcb != NULL) in tcp_shutdown()
865 if (sockets[sock_id].pcb == NULL) in tcp_shutdown()
886 if ((tcp = sockets[sock_id].pcb) == NULL) { in tcp_close()
902 if (sockets[sock_id].pcb != NULL) in tcp_close()
959 if (sockets[sock_id].pcb == NULL) in tcp_close()
979 if (sockets[sock_id].pcb != NULL) { in tcp_close()
990 if (sockets[sock_id].pcb == NULL) in tcp_close()
1013 sockets[sock_id].pcb = NULL; in tcp_close()
1023 if ((tcp = (tcp_t *)(sockets[sock_id].pcb)) == NULL) { in tcp_listen()
1059 if ((listener = (tcp_t *)(sockets[sock_id].pcb)) == NULL || in tcp_accept()
1100 bkmem_free((caddr_t)(sockets[new_sock_id].pcb), sizeof (tcp_t)); in tcp_accept()
1107 sockets[new_sock_id].pcb = eager; in tcp_accept()
1147 ((tcp = (tcp_t *)sockets[i].pcb) == NULL) || in tcp_bindi()
1186 if ((tcp = (tcp_t *)sockets[sock_id].pcb) == NULL) { in tcp_bind()
1241 if ((tmp_tcp = (tcp_t *)sockets[i].pcb) == NULL) in tcp_conn_check()
1269 if ((tcp = (tcp_t *)(sockets[sock_id].pcb)) == NULL) { in tcp_connect()
1760 if (sockets[sock_id].pcb == NULL) { in tcp_state_wait()
1766 if (tcp == NULL || sockets[sock_id].pcb == NULL) { in tcp_state_wait()
1836 (tcp = (tcp_t *)sockets[i].pcb) != NULL) { in tcp_lookup_ipv4()
1871 (tcp = (tcp_t *)sockets[i].pcb) != NULL) { in tcp_lookup_listener_ipv4()
1927 sockets[sock_id].pcb = NULL; in tcp_clean_death()
4175 if (sockets[sock_id].pcb == NULL) in tcp_rput_data()
5218 if ((sockets[sock_id].pcb == NULL) || (sockets[sock_id].pcb != tcp)) in tcp_time_wait_processing()
6801 if ((tcp = sockets[sock_id].pcb) == NULL) in tcp_rcv_drain_sock()