Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dsys_socket.c224 if ((so->so_snd.sb_hiwat < sbused(&so->so_snd)) || in soo_ioctl()
397 sbused(&so->so_snd); in soo_fill_kinfo()
399 sbused(&so->so_rcv); in soo_fill_kinfo()
412 sbused(&so->so_snd); in soo_fill_kinfo()
414 sbused(&so->so_rcv); in soo_fill_kinfo()
H A Duipc_socket.c4628 kn->kn_data = sbused(&so->so_snd);
4803 sbdrop_locked(&so->so_snd, sbused(&so->so_snd));
/freebsd/sys/netinet/
H A Daccf_tls.c50 return (sbused(sb) >= sb->sb_hiwat || sb->sb_mbcnt >= sb->sb_mbmax); in sbfull()
H A Daccf_dns.c65 if (sbused(sb) >= sb->sb_hiwat || sb->sb_mbcnt >= sb->sb_mbmax) in sohasdns()
H A Dtcp_output.c391 if (off < sbused(&so->so_snd)) in tcp_default_output()
571 tp->snd_una + sbused(&so->so_snd))) { in tcp_default_output()
1125 if (((uint32_t)off + (uint32_t)len == sbused(&so->so_snd)) && in tcp_default_output()
2180 sbused(&so->so_snd) >= in tcp_sndbuf_autoscale()
2182 sbused(&so->so_snd) < V_tcp_autosndbuf_max && in tcp_sndbuf_autoscale()
2183 sendwin >= (sbused(&so->so_snd) - in tcp_sndbuf_autoscale()
H A Daccf_http.c83 return (sbused(sb) >= sb->sb_hiwat || sb->sb_mbcnt >= sb->sb_mbmax); in sbfull()
H A Dsiftr.c692 pn->snd_buf_cc = sbused(&inp->inp_socket->so_snd); in siftr_siftdata()
694 pn->rcv_buf_cc = sbused(&inp->inp_socket->so_rcv); in siftr_siftdata()
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c417 sbused(sb)); in parse_pdus()
420 while (sbused(sb) != 0 && (sb->sb_state & SBS_CANTRCVMORE) == 0) { in parse_pdus()
421 total_len = sbused(sb); in parse_pdus()
H A Dicl_cxgbei.c519 if (__predict_false(sbused(sb)) != 0) { in icl_cxgbei_rx_main()
/freebsd/sys/sys/
H A Dsockbuf.h271 sbused(struct sockbuf *sb) in sbused() function
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_cpl_io.c428 sbused(sb) + tp->rcv_wnd < sb->sb_lowat)) { in t4_rcvd_locked()
762 if (sbused(sb) > sb->sb_hiwat * 5 / 8 && in t4_push_frames()
771 sbused(sb) >= sb->sb_hiwat * 7 / 8) { in t4_push_frames()
1159 if (__predict_false(sbused(sb)) > 0) { in t4_push_pdus()
1161 sbu = sbused(sb); in t4_push_pdus()
1911 sbu = sbused(sb); in do_fw4_ack()
H A Dt4_tls.c623 sbused(sb) >= sb->sb_hiwat * 7 / 8) { in t4_push_ktls()
/freebsd/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_rx.c187 bytes_in_process += sbused(&ssk->socket->so_rcv); in sdp_post_recvs_needed()
H A Dsdp_main.c713 unread = sbused(&so->so_rcv); in sdp_start_disconnect()
1510 so->so_oobmark = sbused(&so->so_rcv) + mb->m_pkthdr.len - 1; in sdp_urg()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dcm.c876 ep->com.so, ep, states[ep->com.state], sbused(&ep->com.so->so_rcv)); in process_data()
900 ep->com.so->so_state, sbused(&ep->com.so->so_rcv)); in process_data()
1184 if (sbused(&ep->com.so->so_rcv)) { in process_socket_event()
/freebsd/sys/rpc/
H A Dsvc_vc.c619 *ack -= sbused(&xprt->xp_socket->so_snd); in svc_vc_ack()
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c11977 if ((sbused(&so->so_snd) == 0) && in rack_process_ack()
16035 if ((sbused(&so->so_snd) == 0) && in rack_do_compressed_ack_processing()
16179 if ((sbused(&so->so_snd) == 0) && in rack_do_compressed_ack_processing()
19020 sbused(&so->so_snd) >= in rack_sndbuf_autoscale()
19022 sbused(&so->so_snd) < V_tcp_autosndbuf_max && in rack_sndbuf_autoscale()
19023 sendwin >= (sbused(&so->so_snd) - in rack_sndbuf_autoscale()
20849 (sbused(sb) == (tp->snd_max - tp->snd_una)) && in rack_output()
21112 (sbused(sb) == (tp->snd_max - tp->snd_una)) && in rack_output()
21443 (sbused(sb))) { in rack_output()
21449 if ((sbused(sb) == (tp->snd_max - tp->snd_una)) && in rack_output()
[all …]
H A Dbbr.c7839 if ((sbused(&so->so_snd) == 0) && in bbr_process_ack()
12783 if (sbused(sb) > 0) { in bbr_output_wtime()
13054 (sbused(sb))) { in bbr_output_wtime()
13221 if (sb_offset + len == sbused(sb) && in bbr_output_wtime()
13222 sbused(sb) && in bbr_output_wtime()
/freebsd/sys/dev/nvmf/
H A Dnvmf_tcp.c1351 if (space < m->m_len && sbused(&so->so_snd) != 0) { in nvmf_tcp_send()