Searched refs:sbspace (Results 1 – 24 of 24) sorted by relevance
213 sbspace(struct sockbuf *sb) in sbspace() function
218 ((sbspace(&(so)->so_snd) >= (so)->so_snd.sb_lowat && \
192 *(int *)data = sbspace(&so->so_snd); in soo_ioctl()
837 if (space > sbspace(sb)) in sbappendaddr_locked()891 if (space > sbspace(sb)) in sbappendcontrol_locked()
1117 space = sbspace(&so->so_snd);1284 space = sbspace(&so->so_snd);3308 kn->kn_data = sbspace(&so->so_snd);
2473 space = sbspace(&so->so_snd); in vn_sendfile()
450 if (sbspace(&so->so_rcv) > m->m_pkthdr.len) { in natmintr()
2382 } else if (m0->m_pkthdr.len > sbspace(&pcb->so->so_rcv)) { in ng_btsocket_rfcomm_receive_uih()2394 m0->m_pkthdr.len, sbspace(&pcb->so->so_rcv)); in ng_btsocket_rfcomm_receive_uih()3218 sbspace(&pcb->so->so_rcv), pcb->tx_cred, pcb->rx_cred); in ng_btsocket_rfcomm_send_credits()3220 credits = sbspace(&pcb->so->so_rcv) / pcb->mtu; in ng_btsocket_rfcomm_send_credits()3241 pcb->flags, pcb->mtu, sbspace(&pcb->so->so_rcv), in ng_btsocket_rfcomm_send_credits()
784 if (m->m_pkthdr.len > sbspace(&pcb->so->so_rcv)) { in ng_btsocket_sco_data_input()792 sbspace(&pcb->so->so_rcv)); in ng_btsocket_sco_data_input()
1525 if (m->m_pkthdr.len > sbspace(&pcb->so->so_rcv)) { in ng_btsocket_l2cap_data_input()1541 sbspace(&pcb->so->so_rcv)); in ng_btsocket_l2cap_data_input()1612 m->m_pkthdr.len > sbspace(&pcb->so->so_rcv)) in ng_btsocket_l2cap_data_input()
894 available = sbspace(&so->so_snd); in icl_conn_send_pdus()915 available = sbspace(&so->so_snd); in icl_conn_send_pdus()
310 bufsize = sbspace(&so->so_snd); in make_established()642 space = sbspace(sb); in t4_push_frames()1435 len > (sbspace(sb) / 8 * 7)) { in do_rx_data()
499 wnd = sbspace(&so->so_rcv); in select_rcv_wnd()
440 len > (sbspace(sb) / 8 * 7)) { in handle_ddp_data()
568 recwin = sbspace(&so->so_rcv); in tcp_output()1216 (min(sbspace(&so->so_rcv), TCP_MAXWIN))); in tcp_output()
1189 win = sbspace(&so->so_rcv); in syncache_add()2005 wnd = sbspace(&lso->so_rcv); in syncookie_lookup()
1791 tlen <= sbspace(&so->so_rcv)) { in tcp_do_segment()1918 win = sbspace(&so->so_rcv); in tcp_do_segment()
946 if (sbspace(&so->so_snd) < -512) { in tcp_usr_send()
877 win = sbspace(&inp->inp_socket->so_rcv); in tcp_respond()
2774 sasoc->sasoc_local_rwnd = sbspace(&inp->sctp_socket->so_rcv);
994 if (sbspace(&so->so_snd) < -512) { in sdp_send()1109 space = sbspace(&so->so_snd); in sdp_sosend()
741 wnd = sbspace(&so->so_rcv); in select_rcv_wnd()1190 (m->m_pkthdr.len > (sbspace(so_rcv) / 8 * 7) || tp->rcv_wnd < 32768)) { in do_rx_data()
529 win = sbspace(&so->so_rcv); in tcp_do_slowpath()1964 tlen <= sbspace(&so->so_rcv))) { in tcp_do_segment_fastslow()
346 if (sbspace(&so->so_snd) < softc->ha_sending->m_pkthdr.len) { in ctl_ha_send()