Lines Matching refs:space

208  * Based on the assumption that the given amount of space
210 * NOTE: for smooth operation initial space offering should
219 unsigned int space = (__space < 0 ? 0 : __space);
224 space = min(*window_clamp, space);
226 /* Quantize space offering to a multiple of mss if possible. */
227 if (space > mss)
228 space = (space / mss) * mss;
239 (*rcv_wnd) = min(space, MAX_TCP_WINDOW);
241 (*rcv_wnd) = space;
248 space = max_t(u32, sysctl_tcp_rmem[2], sysctl_rmem_max);
249 space = min_t(u32, space, *window_clamp);
250 while (space > 65535 && (*rcv_wscale) < 14) {
251 space >>= 1;
1772 * frame, so if we have space for more than 3 frames
2253 * If the free space is less than the 1/4 of the maximum
2254 * space available and the free space is less than 1/2 mss,
2267 * multiple of MSS, at least until the free space gets quite small.
2309 /* if free space is less than mss estimate, or is below 1/16th
2330 /* Advertise enough space so that it won't get scaled away.
2341 * free space we just keep it. This prevents the divide
2343 * We also don't do any window rounding when the free space
2425 int space)
2440 space -= skb->len;
2447 if (space < 0)
2449 /* Punt if not enough space exists in the first SKB for
2749 /* Reserve space for headers and prepare control bits. */
2775 /* Reserve space for headers and prepare control bits. */
2848 /* Reserve space for headers. */
3001 int syn_loss = 0, space, i, err = 0, iovlen = fo->data->msg_iovlen;
3021 * user-MSS. Reserve maximum option space for middleboxes that add
3022 * private TCP options. The cost is reduced data space in SYN :(
3026 space = __tcp_mtu_to_mss(sk, inet_csk(sk)->icsk_pmtu_cookie) -
3029 space = min_t(size_t, space, fo->size);
3032 space = min_t(size_t, space, SKB_MAX_HEAD(MAX_TCP_HEADER));
3034 syn_data = skb_copy_expand(syn, MAX_TCP_HEADER, space,
3039 for (i = 0; i < iovlen && syn_data->len < space; ++i) {
3044 if (syn_data->len + len > space)
3045 len = space - syn_data->len;
3108 /* Reserve space for headers. */
3219 /* Reserve space for headers and prepare control bits. */
3250 /* Reserve space for headers and set control bits. */