Searched refs:sbspace (Results 1 – 11 of 11) sorted by relevance
1129 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendrecord_common()1246 if (sb != NULL && space > sbspace(sb)) { in sbconcat_mbufs()1293 if (space != 0 && space > sbspace(sb)) { in sbappendchain()1462 if (space > sbspace(sb) && !(sb->sb_flags & SB_UNIX)) { in sbappendcontrol_internal()2274 sbspace(struct sockbuf *sb) in sbspace() function2342 int64_t data = sbspace(&so->so_snd); in sowriteable()2378 data = MIN(data, sbspace(&so2->so_rcv)); in sowriteable()
921 u_int32_t space = sbspace(sb); in ctl_rcvbspace()967 if ((u_int32_t) sbspace(sb) >= datasize) { in ctl_rcvbspace()1290 avail = sbspace(&so->so_rcv); in ctl_getenqueuespace()
2081 space = sbspace(&so->so_snd); in sosendcheck()2286 space = sbspace(&so->so_snd) - clen; in sosend()4957 int space = sbspace(&so->so_snd); in sosetoptlock()4967 space = sbspace(&so2->so_rcv); in sosetoptlock()6698 int64_t data = sbspace(&so->so_snd); in filt_sowrite_common()6758 data = MIN(data, sbspace(&so2->so_rcv)); in filt_sowrite_common()
4278 xfsize = sbspace(&so->so_snd); in sendfile()4426 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);
213 return MIN(cwnd, sbspace(&so->so_snd)); in mptcp_subflow_cwnd_space()
1894 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1906 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()1940 if (sbspace(&fd_cb->so->so_snd) > 0) { in flow_divert_send_app_data()2811 if (sbspace(&fd_cb->so->so_rcv) == 0) { in flow_divert_handle_data()3438 space = sbspace(&so->so_rcv); in flow_divert_rcvd()
1289 space = sbspace(&mp_so->so_snd); in mptcp_usr_sosend()
1266 if (sbspace(&so->so_snd) == 0) { in tcp_usr_send()
790 extern int sbspace(struct sockbuf *sb);