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()2268 sbspace(struct sockbuf *sb) in sbspace() function2331 int64_t data = sbspace(&so->so_snd); in sowriteable()2367 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()
2077 space = sbspace(&so->so_snd); in sosendcheck()2282 space = sbspace(&so->so_snd) - clen; in sosend()5217 int space = sbspace(&so->so_snd); in sosetoptlock()5227 space = sbspace(&so2->so_rcv); in sosetoptlock()6917 int64_t data = sbspace(&so->so_snd); in filt_sowrite_common()6977 data = MIN(data, sbspace(&so2->so_rcv)); in filt_sowrite_common()
3577 xfsize = sbspace(&so->so_snd); in sendfile()3726 if (sbspace(&so->so_snd) < (long)so->so_snd.sb_lowat) { in sendfile()
426 STUB(sbspace);
600 *count = sbspace(&rsock->so_rcv); in fifo_freespace()
213 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()
1858 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1870 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1904 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()2719 if (sbspace(&fd_cb->so->so_rcv) == 0) { in flow_divert_handle_data()3339 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);