Searched refs:sbspace (Results 1 – 11 of 11) sorted by relevance
1127 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendrecord_common()1240 if (sb != NULL && space > sbspace(sb)) { in sbconcat_mbufs()1287 if (space != 0 && space > sbspace(sb)) { in sbappendchain()1456 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendcontrol_internal()2257 sbspace(struct sockbuf *sb) in sbspace() function2320 if (sbspace(&(so)->so_snd) >= (so)->so_snd.sb_lowat) { in sowriteable()
912 u_int32_t space = sbspace(sb); in ctl_rcvbspace()958 if ((u_int32_t) sbspace(sb) >= datasize) { in ctl_rcvbspace()1281 avail = sbspace(&so->so_rcv); in ctl_getenqueuespace()
2055 space = sbspace(&so->so_snd); in sosendcheck()2260 space = sbspace(&so->so_snd) - clen; in sosend()5176 int space = sbspace(&so->so_snd); in sosetoptlock()6826 int64_t data = sbspace(&so->so_snd); in filt_sowrite_common()
3540 xfsize = sbspace(&so->so_snd); in sendfile()3689 if (sbspace(&so->so_snd) < (long)so->so_snd.sb_lowat) { in sendfile()
600 *count = sbspace(&rsock->so_rcv); in fifo_freespace()
426 STUB(sbspace);
208 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()
1719 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1731 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1754 if (sbspace(&fd_cb->so->so_snd) >= (int)mbuf_pkthdr_len(data)) { in flow_divert_send_app_data()2593 if (sbspace(&fd_cb->so->so_rcv) == 0) { in flow_divert_handle_data()3199 int space = sbspace(&so->so_rcv); in flow_divert_rcvd()
1287 space = sbspace(&mp_so->so_snd); in mptcp_usr_sosend()
1186 if (sbspace(&so->so_snd) == 0) { in tcp_usr_send()
756 extern int sbspace(struct sockbuf *sb);