Lines Matching refs:inp_socket

579 	if (tp->t_inpcb->inp_socket->so_options & SO_NOWAKEFROMSLEEP) {  in add_to_time_wait()
580 socket_post_kev_msg_closed(tp->t_inpcb->inp_socket); in add_to_time_wait()
589 if ((tp->t_inpcb->inp_socket->so_flags & SOF_CONTENT_FILTER) != 0) { in add_to_time_wait()
591 (void) cfil_sock_tcp_add_time_wait(tp->t_inpcb->inp_socket); in add_to_time_wait()
605 socket_unlock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait_now()
607 socket_lock(tp->t_inpcb->inp_socket, 0); in add_to_time_wait_now()
632 so = inp->inp_socket; in tcp_garbage_collect()
944 if (TCP_USE_RLEDBAT(tp, tp->t_inpcb->inp_socket) && in tcp_pmtud_revert_segment_size()
953 tcp_update_mss_locked(tp->t_inpcb->inp_socket, NULL); in tcp_pmtud_revert_segment_size()
1030 so = tp->t_inpcb->inp_socket; in tcp_timers()
1466 if (tp->t_inpcb->inp_socket->so_flags & SOF_FLOW_DIVERT) { in tcp_timers()
1491 (tp->t_inpcb->inp_socket->so_options & SO_KEEPALIVE) || in tcp_timers()
1786 (tp->t_inpcb->inp_socket->so_snd.sb_cc != 0 || tp->t_state == TCPS_SYN_SENT || in tcp_timers()
1854 socket_lock_assert_owned(tp->t_inpcb->inp_socket); in tcp_remove_timer()
1870 if (__improbable(tp->t_inpcb->inp_socket->so_usecount == 0)) { in tcp_remove_timer()
1874 tp->t_inpcb->inp_socket->so_usecount--; in tcp_remove_timer()
1980 socket_lock(tp->t_inpcb->inp_socket, 1); in tcp_run_conn_timer()
1982 so = tp->t_inpcb->inp_socket; in tcp_run_conn_timer()
2188 socket_lock(tp->t_inpcb->inp_socket, 1); in tcp_run_timerlist()
2190 socket_unlock(tp->t_inpcb->inp_socket, 1); in tcp_run_timerlist()
2338 tp->t_inpcb->inp_socket->so_usecount++; in tcp_sched_timers()
2454 socket_lock_assert_owned(tp->t_inpcb->inp_socket); in tcp_check_timer_state()
2868 socket_lock(inp->inp_socket, 1); in tcp_probe_connectivity()
2873 socket_unlock(inp->inp_socket, 1); in tcp_probe_connectivity()
2883 socket_unlock(inp->inp_socket, 1); in tcp_probe_connectivity()
3007 so = inp->inp_socket; in tcp_itimer()