Searched refs:sbspace (Results 1 – 11 of 11) sorted by relevance
1120 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendrecord_common()1238 if (sb != NULL && space > sbspace(sb)) { in sbconcat_mbufs()1459 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendcontrol_internal()2298 sbspace(struct sockbuf *sb) in sbspace() function2366 int64_t data = sbspace(&so->so_snd); in sowriteable()2402 data = MIN(data, sbspace(&so2->so_rcv)); in sowriteable()
922 u_int32_t space = sbspace(sb); in ctl_rcvbspace()967 if ((u_int32_t) sbspace(sb) >= datasize) { in ctl_rcvbspace()1293 avail = sbspace(&so->so_rcv); in ctl_getenqueuespace()
1934 space = sbspace(&so->so_snd); in sosendcheck()2145 space = sbspace(&so->so_snd) - clen; in sosend()4885 int space = sbspace(&so->so_snd); in sosetoptlock()4895 space = sbspace(&so2->so_rcv); in sosetoptlock()6719 int64_t data = sbspace(&so->so_snd); in filt_sowrite_common()6779 data = MIN(data, sbspace(&so2->so_rcv)); in filt_sowrite_common()
3891 xfsize = sbspace(&so->so_snd); in sendfile()4038 if (sbspace(&so->so_snd) < (long)so->so_snd.sb_lowat) { in sendfile()
441 STUB(sbspace);
612 *count = sbspace(&rsock->so_rcv); in fifo_freespace()
216 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()
1906 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1918 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1951 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()2890 if (sbspace(&so->so_rcv) == 0) { in flow_divert_handle_data()3597 space = sbspace(&so->so_rcv); in flow_divert_rcvd()
1294 space = sbspace(&mp_so->so_snd); in mptcp_usr_sosend()
1275 if (sbspace(&so->so_snd) == 0) { in tcp_usr_send()
783 extern int sbspace(struct sockbuf *sb);