Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 37) sorted by relevance

12

/net/ceph/
A Dpagelist.c102 int ceph_pagelist_reserve(struct ceph_pagelist *pl, size_t space) in ceph_pagelist_reserve() argument
104 if (space <= pl->room) in ceph_pagelist_reserve()
106 space -= pl->room; in ceph_pagelist_reserve()
107 space = (space + PAGE_SIZE - 1) >> PAGE_SHIFT; /* conv to num pages */ in ceph_pagelist_reserve()
109 while (space > pl->num_pages_free) { in ceph_pagelist_reserve()
/net/ipv4/
A Dtcp_output.c218 space = min(window_clamp, space); in tcp_select_initial_window()
221 if (space > mss) in tcp_select_initial_window()
222 space = rounddown(space, mss); in tcp_select_initial_window()
244 space = max_t(u32, space, READ_ONCE(sysctl_rmem_max)); in tcp_select_initial_window()
245 space = min_t(u32, space, window_clamp); in tcp_select_initial_window()
4006 space = min_t(size_t, space, fo->size); in tcp_send_syn_data()
4008 if (space && in tcp_send_syn_data()
4016 if (space) { in tcp_send_syn_data()
4017 space = min_t(size_t, space, pfrag->size - pfrag->offset); in tcp_send_syn_data()
4018 space = tcp_wmem_schedule(sk, space); in tcp_send_syn_data()
[all …]
A Dtcp.c1774 int space, cap; in tcp_set_rcvlowat() local
1789 space = tcp_space_from_win(sk, val); in tcp_set_rcvlowat()
1790 if (space > sk->sk_rcvbuf) { in tcp_set_rcvlowat()
1791 WRITE_ONCE(sk->sk_rcvbuf, space); in tcp_set_rcvlowat()
4226 info->tcpi_rcv_space = tp->rcvq_space.space; in tcp_get_info()
A Dtcp_input.c255 if (tp->window_clamp < tp->rcvq_space.space) in tcp_measure_rcv_mss()
256 tp->rcvq_space.space = tp->window_clamp; in tcp_measure_rcv_mss()
608 tp->rcvq_space.space = min3(tp->rcv_ssthresh, tp->rcv_wnd, in tcp_init_buffer_space()
758 rcvwin = tp->rcvq_space.space << 1; in tcp_rcvbuf_grow()
794 if (copied <= tp->rcvq_space.space) in tcp_rcv_space_adjust()
799 tp->rcvq_space.space = copied; in tcp_rcv_space_adjust()
/net/batman-adv/
A DKconfig17 https://www.open-mesh.org/ for more information and user space
44 this feature and save some space.
54 this option you can safely remove it and save some space.
67 can safely disable it and save some space.
/net/rxrpc/
A Dcall_event.c197 int space = rxrpc_tx_window_space(call); in rxrpc_transmit_fresh_data() local
205 while (space > 0) { in rxrpc_transmit_fresh_data()
215 int limit = min(space, max(call->peer->pmtud_jumbo, 1)); in rxrpc_transmit_fresh_data()
224 trace_rxrpc_transmit(call, send_top, space); in rxrpc_transmit_fresh_data()
254 space -= req.n; in rxrpc_transmit_fresh_data()
A Dtxbuf.c50 txb->space = data_size; in rxrpc_alloc_data_txbuf()
A Dsendmsg.c419 size_t copy = umin(txb->space, msg_data_left(msg)); in rxrpc_send_data()
426 txb->space -= copy; in rxrpc_send_data()
440 if (!txb->space || in rxrpc_send_data()
/net/sunrpc/
A DKconfig30 Secure RPC calls with Kerberos require an auxiliary user-space
32 available from http://linux-nfs.org/. In addition, user-space
A Dsvc_xprt.c521 void svc_reserve(struct svc_rqst *rqstp, int space) in svc_reserve() argument
525 space += rqstp->rq_res.head[0].iov_len; in svc_reserve()
527 if (xprt && space < rqstp->rq_reserved) { in svc_reserve()
528 atomic_sub((rqstp->rq_reserved - space), &xprt->xpt_reserved); in svc_reserve()
529 rqstp->rq_reserved = space; in svc_reserve()
/net/ieee802154/
A DKconfig9 operating space around 10m.
/net/qrtr/
A DKconfig27 Say Y here to expose a character device that allows user space to
/net/ipv6/
A Dndisc.c149 int space = __ndisc_opt_addr_space(data_len, pad); in __ndisc_fill_addr_option() local
150 u8 *opt = skb_put(skb, space); in __ndisc_fill_addr_option()
153 opt[1] = space>>3; in __ndisc_fill_addr_option()
157 space -= pad; in __ndisc_fill_addr_option()
162 space -= data_len; in __ndisc_fill_addr_option()
163 if (space > 0) in __ndisc_fill_addr_option()
164 memset(opt, 0, space); in __ndisc_fill_addr_option()
/net/mptcp/
A Dsockopt.c1615 int space, cap; in mptcp_set_rcvlowat() local
1635 space = mptcp_space_from_win(sk, val); in mptcp_set_rcvlowat()
1636 if (space <= sk->sk_rcvbuf) in mptcp_set_rcvlowat()
1640 WRITE_ONCE(sk->sk_rcvbuf, space); in mptcp_set_rcvlowat()
1646 WRITE_ONCE(ssk->sk_rcvbuf, space); in mptcp_set_rcvlowat()
A Dprotocol.c518 int space = __mptcp_space(sk); in mptcp_cleanup_rbuf() local
521 cleanup = (space > 0) && (space >= (old_space << 1)) && copied; in mptcp_cleanup_rbuf()
1983 if (msk->rcvq_space.copied <= msk->rcvq_space.space) in mptcp_rcv_space_adjust()
1993 grow = rcvwin * (msk->rcvq_space.copied - msk->rcvq_space.space); in mptcp_rcv_space_adjust()
1995 do_div(grow, msk->rcvq_space.space); in mptcp_rcv_space_adjust()
2027 msk->rcvq_space.space = msk->rcvq_space.copied; in mptcp_rcv_space_adjust()
3334 msk->rcvq_space.space = min_t(u32, tp->rcv_wnd, in mptcp_rcv_space_init()
3336 if (msk->rcvq_space.space == 0) in mptcp_rcv_space_init()
3337 msk->rcvq_space.space = TCP_INIT_CWND * TCP_MSS_DEFAULT; in mptcp_rcv_space_init()
A Dprotocol.h344 u32 space; /* bytes copied in last measurement window */ member
397 static inline int mptcp_win_from_space(const struct sock *sk, int space) in mptcp_win_from_space() argument
399 return __tcp_win_from_space(mptcp_sk(sk)->scaling_ratio, space); in mptcp_win_from_space()
/net/netfilter/
A Dnft_set_hash.c487 est->space = NFT_SET_CLASS_O_N; in nft_rhash_estimate()
721 est->space = NFT_SET_CLASS_O_N; in nft_hash_estimate()
739 est->space = NFT_SET_CLASS_O_N; in nft_hash_fast_estimate()
A Dnft_set_bitmap.c299 est->space = NFT_SET_CLASS_O_1; in nft_bitmap_estimate()
A Dnft_set_rbtree.c731 est->space = NFT_SET_CLASS_O_N; in nft_rbtree_estimate()
/net/tipc/
A DKconfig51 Key setting from user-space is performed via netlink by a user program
/net/caif/
A DKconfig13 with its modems. It is accessed from user space as sockets (PF_CAIF).
/net/atm/
A DKconfig18 Note that you need a set of user-space programs to actually make use
/net/bluetooth/
A DKconfig42 To use Linux Bluetooth subsystem, you will need several user-space
/net/can/
A Disotp.c735 int space = so->tx.ll_dl - pcilen; in isotp_fill_dataframe() local
736 int num = min_t(int, so->tx.len - so->tx.idx, space); in isotp_fill_dataframe()
742 if (num < space) { in isotp_fill_dataframe()
/net/smc/
A Dsmc_core.c1010 int space; in smc_write_space() local
1015 space = buffer_len - smc_curs_diff(buffer_len, &cons, &prod); in smc_write_space()
1016 return space; in smc_write_space()

Completed in 72 milliseconds

12