Home
last modified time | relevance | path

Searched refs:rcvbuf (Results 1 – 18 of 18) sorted by relevance

/linux/net/sunrpc/xprtrdma/
H A Dsvc_rdma_backchannel.c25 struct xdr_buf *rcvbuf = &rqstp->rq_arg; in svc_rdma_handle_bc_reply() local
26 struct kvec *dst, *src = &rcvbuf->head[0]; in svc_rdma_handle_bc_reply()
54 xprt_complete_rqst(req->rq_task, rcvbuf->len); in svc_rdma_handle_bc_reply()
56 rcvbuf->len = 0; in svc_rdma_handle_bc_reply()
/linux/tools/testing/selftests/net/
H A Dtcp_mmap.c84 static int rcvbuf; /* Default: autotuning. Can be set with -r <integer> option */ variable
325 if (rcvbuf && setsockopt(fd, SOL_SOCKET, in apply_rcvsnd_buf()
326 SO_RCVBUF, &rcvbuf, sizeof(rcvbuf)) == -1) { in apply_rcvsnd_buf()
477 rcvbuf = atoi(optarg); in main()
/linux/drivers/media/usb/dvb-usb/
H A Ddigitv.c37 memset(st->rcvbuf, 0, 7); in digitv_ctrl_msg()
47 ret = dvb_usb_generic_rw(d, st->sndbuf, 7, st->rcvbuf, 7, 10); in digitv_ctrl_msg()
48 memcpy(rbuf, &st->rcvbuf[3], rlen); in digitv_ctrl_msg()
H A Ddigitv.h12 unsigned char rcvbuf[7]; member
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c14 static int rcvbuf = 1024 * 1024; variable
44 &rcvbuf, sizeof(rcvbuf)) < 0) { in rtnl_open_byproto()
/linux/include/uapi/linux/
H A Drds.h203 __u32 rcvbuf; member
213 __u32 rcvbuf; member
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh30 rcvbuf=0
104 rcvbuf="$OPTARG"
334 if [ "$rcvbuf" -gt 0 ]; then
335 extra_args+=" -R $rcvbuf"
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h96 u8 rcvbuf[MXL_MAX_XFER_SIZE]; member
H A Dmxl111sf.c68 memset(state->rcvbuf, 0, rlen); in mxl111sf_ctrl_msg()
74 dvb_usbv2_generic_rw(d, state->sndbuf, 1+wlen, state->rcvbuf, in mxl111sf_ctrl_msg()
78 memcpy(rbuf, state->rcvbuf, rlen); in mxl111sf_ctrl_msg()
/linux/net/rds/
H A Daf_rds.c821 sinfo.rcvbuf = rds_sk_rcvbuf(rs); in rds_sock_info()
856 sinfo6.rcvbuf = rds_sk_rcvbuf(rs); in rds6_sock_info()
/linux/include/net/
H A Dtcp.h1599 int rcvbuf, threshold; in tcp_rmem_pressure() local
1604 rcvbuf = READ_ONCE(sk->sk_rcvbuf); in tcp_rmem_pressure()
1605 threshold = rcvbuf - (rcvbuf >> 3); in tcp_rmem_pressure()
/linux/net/mptcp/
H A Dprotocol.c2054 int rcvbuf; in mptcp_rcv_space_adjust() local
2063 rcvbuf = min_t(u64, mptcp_space_from_win(sk, rcvwin), in mptcp_rcv_space_adjust()
2066 if (rcvbuf > sk->sk_rcvbuf) { in mptcp_rcv_space_adjust()
2069 window_clamp = mptcp_win_from_space(sk, rcvbuf); in mptcp_rcv_space_adjust()
2070 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
2083 WRITE_ONCE(ssk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
/linux/net/ipv4/
H A Dudp.c1677 int size, rcvbuf; in __udp_enqueue_schedule_skb() local
1683 rcvbuf = READ_ONCE(sk->sk_rcvbuf); in __udp_enqueue_schedule_skb()
1684 if (rmem > rcvbuf) in __udp_enqueue_schedule_skb()
1693 if (rmem > (rcvbuf >> 1)) { in __udp_enqueue_schedule_skb()
H A Dtcp_input.c765 int rcvbuf; in tcp_rcv_space_adjust() local
777 rcvbuf = min_t(u64, tcp_space_from_win(sk, rcvwin), in tcp_rcv_space_adjust()
779 if (rcvbuf > sk->sk_rcvbuf) { in tcp_rcv_space_adjust()
780 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in tcp_rcv_space_adjust()
784 tcp_win_from_space(sk, rcvbuf)); in tcp_rcv_space_adjust()
/linux/Documentation/networking/
H A Drds.rst253 number of bytes queued equals or exceeds rcvbuf then the socket
H A Dip-sysctl.rst3143 - 1: rcvbuf space is per association
3144 - 0: rcvbuf space is per socket
/linux/net/packet/
H A Daf_packet.c1343 int rcvbuf = READ_ONCE(sk->sk_rcvbuf); in __packet_rcv_has_room() local
1344 int avail = rcvbuf - atomic_read(&sk->sk_rmem_alloc) in __packet_rcv_has_room()
1347 if (avail > (rcvbuf >> ROOM_POW_OFF)) in __packet_rcv_has_room()
/linux/fs/nfs/
H A Dnfs4xdr.c5382 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in decode_readlink() local
5396 if (len >= rcvbuf->page_len || len <= 0) { in decode_readlink()
5413 xdr_terminate_string(rcvbuf, len); in decode_readlink()