Searched refs:sbspace (Results 1 – 11 of 11) sorted by relevance
1121 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendrecord_common()1235 if (sb != NULL && space > sbspace(sb)) { in sbconcat_mbufs()1282 if (space != 0 && space > sbspace(sb)) { in sbappendchain()1451 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendcontrol_internal()2261 sbspace(struct sockbuf *sb) in sbspace() function2329 int64_t data = sbspace(&so->so_snd); in sowriteable()2365 data = MIN(data, sbspace(&so2->so_rcv)); in sowriteable()
904 u_int32_t space = sbspace(sb); in ctl_rcvbspace()949 if ((u_int32_t) sbspace(sb) >= datasize) { in ctl_rcvbspace()1276 avail = sbspace(&so->so_rcv); in ctl_getenqueuespace()
2073 space = sbspace(&so->so_snd); in sosendcheck()2278 space = sbspace(&so->so_snd) - clen; in sosend()4947 int space = sbspace(&so->so_snd); in sosetoptlock()4957 space = sbspace(&so2->so_rcv); in sosetoptlock()6707 int64_t data = sbspace(&so->so_snd); in filt_sowrite_common()6767 data = MIN(data, sbspace(&so2->so_rcv)); in filt_sowrite_common()
3886 xfsize = sbspace(&so->so_snd); in sendfile()4034 if (sbspace(&so->so_snd) < (long)so->so_snd.sb_lowat) { in sendfile()
612 *count = sbspace(&rsock->so_rcv); in fifo_freespace()
427 STUB(sbspace);
214 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()
1903 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1915 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1948 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()2819 if (sbspace(&fd_cb->so->so_rcv) == 0) { in flow_divert_handle_data()3512 space = sbspace(&so->so_rcv); in flow_divert_rcvd()
1290 space = sbspace(&mp_so->so_snd); in mptcp_usr_sosend()
1276 if (sbspace(&so->so_snd) == 0) { in tcp_usr_send()
786 extern int sbspace(struct sockbuf *sb);