Home
last modified time | relevance | path

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

/Linux-v6.6/net/sunrpc/xprtrdma/
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-v6.6/net/vmw_vsock/
Dhyperv_transport.c305 int rcvbuf; in hvs_open_connection() local
374 rcvbuf = RINGBUFFER_HVS_RCV_SIZE; in hvs_open_connection()
379 rcvbuf = max_t(int, sk->sk_rcvbuf, RINGBUFFER_HVS_RCV_SIZE); in hvs_open_connection()
380 rcvbuf = min_t(int, rcvbuf, RINGBUFFER_HVS_MAX_SIZE); in hvs_open_connection()
381 rcvbuf = ALIGN(rcvbuf, HV_HYP_PAGE_SIZE); in hvs_open_connection()
386 ret = vmbus_open(chan, sndbuf, rcvbuf, NULL, 0, hvs_channel_cb, in hvs_open_connection()
/Linux-v6.6/tools/testing/selftests/net/
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-v6.6/drivers/media/usb/dvb-usb/
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()
Ddigitv.h12 unsigned char rcvbuf[7]; member
/Linux-v6.6/include/uapi/linux/
Drds.h203 __u32 rcvbuf; member
213 __u32 rcvbuf; member
/Linux-v6.6/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h96 u8 rcvbuf[MXL_MAX_XFER_SIZE]; member
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-v6.6/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh26 rcvbuf=0
99 rcvbuf="$OPTARG"
390 if [ "$rcvbuf" -gt 0 ]; then
391 extra_args="$extra_args -R $rcvbuf"
/Linux-v6.6/net/rds/
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-v6.6/include/net/
Dtcp.h1505 int rcvbuf, threshold; in tcp_rmem_pressure() local
1510 rcvbuf = READ_ONCE(sk->sk_rcvbuf); in tcp_rmem_pressure()
1511 threshold = rcvbuf - (rcvbuf >> 3); in tcp_rmem_pressure()
/Linux-v6.6/net/mptcp/
Dprotocol.c1997 int rcvbuf; in mptcp_rcv_space_adjust() local
2006 rcvbuf = min_t(u64, __tcp_space_from_win(scaling_ratio, rcvwin), in mptcp_rcv_space_adjust()
2009 if (rcvbuf > sk->sk_rcvbuf) { in mptcp_rcv_space_adjust()
2012 window_clamp = __tcp_win_from_space(scaling_ratio, rcvbuf); in mptcp_rcv_space_adjust()
2013 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
2026 WRITE_ONCE(ssk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
/Linux-v6.6/net/ipv4/
Dtcp_input.c753 int rcvbuf; in tcp_rcv_space_adjust() local
765 rcvbuf = min_t(u64, tcp_space_from_win(sk, rcvwin), in tcp_rcv_space_adjust()
767 if (rcvbuf > sk->sk_rcvbuf) { in tcp_rcv_space_adjust()
768 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in tcp_rcv_space_adjust()
771 tp->window_clamp = tcp_win_from_space(sk, rcvbuf); in tcp_rcv_space_adjust()
/Linux-v6.6/Documentation/networking/
Drds.rst253 number of bytes queued equals or exceeds rcvbuf then the socket
Dip-sysctl.rst3049 - 1: rcvbuf space is per association
3050 - 0: rcvbuf space is per socket
/Linux-v6.6/net/packet/
Daf_packet.c1282 int rcvbuf = READ_ONCE(sk->sk_rcvbuf); in __packet_rcv_has_room() local
1283 int avail = rcvbuf - atomic_read(&sk->sk_rmem_alloc) in __packet_rcv_has_room()
1286 if (avail > (rcvbuf >> ROOM_POW_OFF)) in __packet_rcv_has_room()
/Linux-v6.6/fs/nfs/
Dnfs4xdr.c5327 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in decode_readlink() local
5341 if (len >= rcvbuf->page_len || len <= 0) { in decode_readlink()
5358 xdr_terminate_string(rcvbuf, len); in decode_readlink()