Searched refs:sbspace (Results 1 – 11 of 11) sorted by relevance
1129 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendrecord_common()1242 if (sb != NULL && space > sbspace(sb)) { in sbconcat_mbufs()1289 if (space != 0 && space > sbspace(sb)) { in sbappendchain()1458 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendcontrol_internal()2259 sbspace(struct sockbuf *sb) in sbspace() function2322 int64_t data = sbspace(&so->so_snd); in sowriteable()2358 data = MIN(data, sbspace(&so2->so_rcv)); in sowriteable()
914 u_int32_t space = sbspace(sb); in ctl_rcvbspace()960 if ((u_int32_t) sbspace(sb) >= datasize) { in ctl_rcvbspace()1283 avail = sbspace(&so->so_rcv); in ctl_getenqueuespace()
2058 space = sbspace(&so->so_snd); in sosendcheck()2263 space = sbspace(&so->so_snd) - clen; in sosend()5183 int space = sbspace(&so->so_snd); in sosetoptlock()5193 space = sbspace(&so2->so_rcv); in sosetoptlock()6883 int64_t data = sbspace(&so->so_snd); in filt_sowrite_common()6943 data = MIN(data, sbspace(&so2->so_rcv)); in filt_sowrite_common()
3572 xfsize = sbspace(&so->so_snd); in sendfile()3721 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);
213 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()
1757 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1769 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1792 if (sbspace(&fd_cb->so->so_snd) >= (int)mbuf_pkthdr_len(data)) { in flow_divert_send_app_data()2609 if (sbspace(&fd_cb->so->so_rcv) == 0) { in flow_divert_handle_data()3229 space = sbspace(&so->so_rcv); in flow_divert_rcvd()
1291 space = sbspace(&mp_so->so_snd); in mptcp_usr_sosend()
1243 if (sbspace(&so->so_snd) == 0) { in tcp_usr_send()
778 extern int sbspace(struct sockbuf *sb);