Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/tools/testing/selftests/net/
Dtcp_mmap.c79 static int rcvbuf; /* Default: autotuning. Can be set with -r <integer> option */ variable
269 if (rcvbuf && setsockopt(fd, SOL_SOCKET, in apply_rcvsnd_buf()
270 SO_RCVBUF, &rcvbuf, sizeof(rcvbuf)) == -1) { in apply_rcvsnd_buf()
402 rcvbuf = atoi(optarg); in main()
/linux-6.1.9/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-6.1.9/drivers/media/usb/dvb-usb/
Ddigitv.h12 unsigned char rcvbuf[7]; member
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()
/linux-6.1.9/include/uapi/linux/
Drds.h203 __u32 rcvbuf; member
213 __u32 rcvbuf; member
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh23 rcvbuf=0
96 rcvbuf="$OPTARG"
379 if [ "$rcvbuf" -gt 0 ]; then
380 extra_args="$extra_args -R $rcvbuf"
/linux-6.1.9/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-6.1.9/net/rds/
Daf_rds.c822 sinfo.rcvbuf = rds_sk_rcvbuf(rs); in rds_sock_info()
857 sinfo6.rcvbuf = rds_sk_rcvbuf(rs); in rds6_sock_info()
/linux-6.1.9/include/net/
Dtcp.h1478 int rcvbuf, threshold; in tcp_rmem_pressure() local
1483 rcvbuf = READ_ONCE(sk->sk_rcvbuf); in tcp_rmem_pressure()
1484 threshold = rcvbuf - (rcvbuf >> 3); in tcp_rmem_pressure()
/linux-6.1.9/net/mptcp/
Dprotocol.c1945 int rcvmem, rcvbuf; in mptcp_rcv_space_adjust() local
1960 rcvbuf = min_t(u64, rcvwin * rcvmem, in mptcp_rcv_space_adjust()
1963 if (rcvbuf > sk->sk_rcvbuf) { in mptcp_rcv_space_adjust()
1966 window_clamp = tcp_win_from_space(sk, rcvbuf); in mptcp_rcv_space_adjust()
1967 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
1980 WRITE_ONCE(ssk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
/linux-6.1.9/net/ipv4/
Dtcp_input.c730 int rcvmem, rcvbuf; in tcp_rcv_space_adjust() local
748 rcvbuf = min_t(u64, rcvwin * rcvmem, in tcp_rcv_space_adjust()
750 if (rcvbuf > sk->sk_rcvbuf) { in tcp_rcv_space_adjust()
751 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in tcp_rcv_space_adjust()
754 tp->window_clamp = tcp_win_from_space(sk, rcvbuf); in tcp_rcv_space_adjust()
/linux-6.1.9/Documentation/networking/
Drds.rst253 number of bytes queued equals or exceeds rcvbuf then the socket
Dip-sysctl.rst2892 - 1: rcvbuf space is per association
2893 - 0: rcvbuf space is per socket
/linux-6.1.9/net/packet/
Daf_packet.c1280 int rcvbuf = READ_ONCE(sk->sk_rcvbuf); in __packet_rcv_has_room() local
1281 int avail = rcvbuf - atomic_read(&sk->sk_rmem_alloc) in __packet_rcv_has_room()
1284 if (avail > (rcvbuf >> ROOM_POW_OFF)) in __packet_rcv_has_room()
/linux-6.1.9/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()