Home
last modified time | relevance | path

Searched refs:tptoinpcb (Results 1 – 25 of 32) sorted by relevance

12

/freebsd/sys/netinet/
H A Dtcp_offload.c116 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_listen_start()
125 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_listen_stop()
136 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_input()
148 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_output()
172 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_rcvd()
183 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_ctloutput()
194 INP_LOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_tcp_info()
206 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_alloc_tls_session()
217 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_detach()
228 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_offload_pmtu_update()
H A Dtcp_timer.c296 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_output_locked()
313 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_delack()
333 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_2msl()
383 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_keep()
490 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_persist()
554 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_rexmt()
830 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_bblog_timer()
876 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_enter()
906 struct inpcb *inp = tptoinpcb(tp); in tcp_timer_activate()
940 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_timer_active()
[all …]
H A Dtcp_sack.c182 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_update_dsack_list()
283 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_update_sack_list()
414 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_clean_dsack_blocks()
455 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_clean_sackreport()
573 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_sack_doack()
912 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_free_sackholes()
937 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_resend_sackholes()
960 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_sack_partialack()
1048 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_sack_output()
1095 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_sack_adjust()
H A Dtcp_log_buf.c524 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_log_grow_tlb()
543 struct inpcb *inp = tptoinpcb(tp); in tcp_log_apply_ratio()
605 struct inpcb *inp = tptoinpcb(tp); in tcp_log_set_tag()
646 struct inpcb *inp = tptoinpcb(tp); in tcp_log_set_id()
1029 INP_LOCK_ASSERT(tptoinpcb(tp)); in tcp_log_get_id()
1051 struct inpcb *inp = tptoinpcb(tp); in tcp_log_get_tag()
1098 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_log_get_id_cnt()
1406 struct inpcb *inp = tptoinpcb(tp); in tcp_log_move_tp_to_node()
1433 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_log_tcpcbfini()
1539 struct inpcb *inp = tptoinpcb(tp); in tcp_log_tcpcbfini()
[all …]
H A Dtcp_lro_hpts.c468 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_queue_pkts()
573 INP_WUNLOCK(tptoinpcb(tp)); in _tcp_lro_flush_tcphpts()
580 INP_WUNLOCK(tptoinpcb(tp)); in _tcp_lro_flush_tcphpts()
658 INP_WUNLOCK(tptoinpcb(tp));
H A Dtcp_hpts.c497 struct inpcb *inp = tptoinpcb(tp); in tcp_hpts_insert_internal()
526 INP_LOCK_ASSERT(tptoinpcb(tp)); in tcp_hpts_lock()
540 released = in_pcbrele_wlocked(tptoinpcb(tp)); in tcp_hpts_release()
576 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_hpts_remove()
824 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_hpts_insert_diag()
825 MPASS(!(tptoinpcb(tp)->inp_flags & INP_DROPPED)); in tcp_hpts_insert_diag()
995 struct inpcb *inp = tptoinpcb(tp); in hpts_cpuid()
1215 struct inpcb *inp = tptoinpcb(tp); in tcp_hptsi()
1495 INP_WLOCK_ASSERT(tptoinpcb(tp)); in __tcp_set_hpts()
H A Dtcp_input.c300 INP_WLOCK_ASSERT(tptoinpcb(tp)); in cc_ack_received()
367 struct inpcb *inp = tptoinpcb(tp); in cc_conn_init()
421 INP_WLOCK_ASSERT(tptoinpcb(tp)); in cc_cong_signal()
487 INP_WLOCK_ASSERT(tptoinpcb(tp)); in cc_post_recovery()
523 INP_WLOCK_ASSERT(tptoinpcb(tp)); in cc_ecnpkt_handler_flags()
1507 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_handle_wakeup()
1529 struct inpcb *inp = tptoinpcb(tp); in tcp_do_segment()
3494 INP_LOCK_ASSERT(tptoinpcb(tp)); in tcp_dropwithreset()
3666 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_pulloutofband()
3693 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_xmit_timer()
[all …]
H A Dtcp_var.h658 #define tptoinpcb(tp) (&(tp)->t_inpcb) macro
670 struct inpcb *inp = tptoinpcb(tp); in tcp_output()
696 struct inpcb *inp = tptoinpcb(tp); in tcp_output_unlock()
731 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_output_nodrop()
748 struct inpcb *inp = tptoinpcb(tp); in tcp_unlock_or_drop()
H A Dtoecore.c241 struct inpcb *inp = tptoinpcb(tp); in toe_listen_start_event()
255 struct inpcb *inp = tptoinpcb(tp); in toe_listen_stop_event()
H A Dtcp_timewait.c109 struct inpcb *inp = tptoinpcb(tp); in tcp_twstart()
H A Dtcp_stats.c199 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_stats_sample_rollthedice()
H A Dtcp_fastopen.c869 struct inpcb *inp = tptoinpcb(tp); in tcp_fastopen_connect()
956 struct in_conninfo *inc = &tptoinpcb(tp)->inp_inc; in tcp_fastopen_disable_path()
982 struct in_conninfo *inc = &tptoinpcb(tp)->inp_inc; in tcp_fastopen_update_cache()
H A Dtcp_usrreq.c136 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_bblog_pru()
1471 struct inpcb *inp = tptoinpcb(tp); in tcp_connect()
1514 struct inpcb *inp = tptoinpcb(tp); in tcp6_connect()
1559 INP_LOCK_ASSERT(tptoinpcb(tp)); in tcp_fill_info()
2018 struct inpcb *inp = tptoinpcb(tp); in tcp_default_ctloutput()
2670 struct inpcb *inp = tptoinpcb(tp); in tcp_disconnect()
2714 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_usrclosed()
H A Dtcp_ratelimit.c1338 struct inpcb *inp = tptoinpcb(tp); in tcp_set_pacing_rate()
1403 struct inpcb *inp = tptoinpcb(tp); in tcp_chg_pacing_rate()
1531 struct inpcb *inp = tptoinpcb(tp); in tcp_rel_pacing_rate()
H A Dtcp_subr.c1034 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_default_fb_init()
1116 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_default_fb_fini()
1770 inp = tptoinpcb(tp); in tcp_respond()
2232 INP_LOCK_ASSERT(tptoinpcb(listening_tcb)); in tcp_newtcpcb()
2385 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_drop()
2403 struct inpcb *inp = tptoinpcb(tp); in tcp_discardcb()
2526 struct inpcb *inp = tptoinpcb(tp); in tcp_close()
3464 struct inpcb *inp = tptoinpcb(tp); in tcp6_use_min_mtu()
H A Dtcp_reass.c299 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_reass_flush()
524 struct inpcb *inp = tptoinpcb(tp); in tcp_reass()
/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c366 inp = tptoinpcb(tp); in ctf_process_inbound_raw()
514 INP_WUNLOCK(tptoinpcb(tp)); in ctf_do_dropwithreset()
692 INP_WUNLOCK(tptoinpcb(tp)); in ctf_do_drop()
875 INP_WUNLOCK(tptoinpcb(tp)); in ctf_do_dropwithreset_conn()
H A Dbbr.c731 struct inpcb *inp = tptoinpcb(tp); in bbr_start_hpts_timer()
3590 INP_WLOCK_ASSERT(tptoinpcb(tp)); in bbr_ack_received()
3742 INP_WLOCK_ASSERT(tptoinpcb(tp)); in tcp_bbr_partialack()
3756 INP_WLOCK_ASSERT(tptoinpcb(tp)); in bbr_post_recovery()
3911 INP_WLOCK_ASSERT(tptoinpcb(tp)); in bbr_cong_signal()
4804 struct inpcb *inp = tptoinpcb(tp); in bbr_timeout_keepalive()
4947 struct inpcb *inp = tptoinpcb(tp); in bbr_timeout_rxt()
5896 INP_WLOCK_ASSERT(tptoinpcb(tp)); in bbr_log_output()
7296 INP_WLOCK_ASSERT(tptoinpcb(tp)); in bbr_log_ack()
7789 INP_WLOCK_ASSERT(tptoinpcb(tp)); in bbr_process_ack()
[all …]
/freebsd/sys/netinet/khelp/
H A Dh_ertt.c219 INP_WLOCK_ASSERT(tptoinpcb(tp)); in ertt_packet_measurement_hook()
452 INP_WLOCK_ASSERT(tptoinpcb(tp)); in ertt_add_tx_segment_info_hook()
/freebsd/sys/netinet/cc/
H A Dcc_vegas.c187 INP_WLOCK_ASSERT(tptoinpcb(ccv->tp)); in vegas_cb_init()
H A Dcc_htcp.c257 INP_WLOCK_ASSERT(tptoinpcb(ccv->tp)); in htcp_cb_init()
H A Dcc_chd.c326 INP_WLOCK_ASSERT(tptoinpcb(ccv->tp)); in chd_cb_init()
H A Dcc_dctcp.c205 INP_WLOCK_ASSERT(tptoinpcb(ccv->tp)); in dctcp_cb_init()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c299 struct inpcb *inp = tptoinpcb(tp); in assign_rxopt()
415 struct inpcb *inp = tptoinpcb(tp); in t4_rcvd_locked()
438 struct inpcb *inp = tptoinpcb(tp); in t4_rcvd()
1248 struct inpcb *inp = tptoinpcb(tp); in t4_tod_output()
1267 struct inpcb *inp = tptoinpcb(tp); in t4_send_fin()
1288 struct inpcb *inp = tptoinpcb(tp); in t4_send_rst()
H A Dt4_tom.c382 struct inpcb *inp = tptoinpcb(tp); in t4_pcb_detach()
837 INP_LOCK_ASSERT(tptoinpcb(tp)); in t4_tcp_info()
850 INP_WLOCK_ASSERT(tptoinpcb(tp)); in t4_alloc_tls_session()
901 struct inpcb *inp = tptoinpcb(tp); in t4_pmtu_update()

12