Home
last modified time | relevance | path

Searched refs:free_space (Results 1 – 4 of 4) sorted by relevance

/net/ipv4/
Dtcp_output.c3036 int free_space = tcp_space(sk); in __tcp_select_window() local
3041 mptcp_space(sk, &free_space, &allowed_space); in __tcp_select_window()
3059 if (free_space < (full_space >> 1)) { in __tcp_select_window()
3068 free_space = round_down(free_space, 1 << tp->rx_opt.rcv_wscale); in __tcp_select_window()
3077 if (free_space < (allowed_space >> 4) || free_space < mss) in __tcp_select_window()
3081 if (free_space > tp->rcv_ssthresh) in __tcp_select_window()
3082 free_space = tp->rcv_ssthresh; in __tcp_select_window()
3088 window = free_space; in __tcp_select_window()
3105 if (window <= free_space - mss || window > free_space) in __tcp_select_window()
3106 window = rounddown(free_space, mss); in __tcp_select_window()
[all …]
/net/vmw_vsock/
Dvmci_transport_notify_qstate.c263 u64 free_space; in vmci_transport_notify_pkt_recv_post_dequeue() local
271 free_space = in vmci_transport_notify_pkt_recv_post_dequeue()
273 was_full = free_space == copied; in vmci_transport_notify_pkt_recv_post_dequeue()
Dvirtio_transport_common.c408 u32 free_space; in virtio_transport_stream_do_dequeue() local
449 free_space = vvs->buf_alloc - fwd_cnt_delta; in virtio_transport_stream_do_dequeue()
465 (free_space < VIRTIO_VSOCK_MAX_PKT_BUF_SIZE || low_rx_bytes)) in virtio_transport_stream_do_dequeue()
773 s64 free_space; in virtio_transport_notify_poll_out() local
775 free_space = vsock_stream_has_space(vsk); in virtio_transport_notify_poll_out()
776 if (free_space > 0) in virtio_transport_notify_poll_out()
778 else if (free_space == 0) in virtio_transport_notify_poll_out()
/net/sunrpc/
Dxdr.c563 unsigned int free_space, newlen; in xdr_buf_try_expand() local
566 free_space = min_t(unsigned int, sum - buf->len, len); in xdr_buf_try_expand()
567 newlen = xdr_buf_pages_fill_sparse(buf, buf->len + free_space, in xdr_buf_try_expand()
569 free_space = newlen - buf->len; in xdr_buf_try_expand()
571 len -= free_space; in xdr_buf_try_expand()
578 free_space = min_t(unsigned int, buf->buflen - sum, len); in xdr_buf_try_expand()
579 tail->iov_len += free_space; in xdr_buf_try_expand()
580 buf->len += free_space; in xdr_buf_try_expand()