/linux-5.19.10/net/vmw_vsock/ |
D | hyperv_transport.c | 305 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-5.19.10/tools/testing/selftests/net/ |
D | tcp_mmap.c | 79 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-5.19.10/net/sunrpc/xprtrdma/ |
D | svc_rdma_backchannel.c | 25 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-5.19.10/drivers/media/usb/dvb-usb/ |
D | digitv.h | 12 unsigned char rcvbuf[7]; member
|
D | digitv.c | 37 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-5.19.10/include/uapi/linux/ |
D | rds.h | 203 __u32 rcvbuf; member 213 __u32 rcvbuf; member
|
/linux-5.19.10/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.sh | 23 rcvbuf=0 96 rcvbuf="$OPTARG" 379 if [ "$rcvbuf" -gt 0 ]; then 380 extra_args="$extra_args -R $rcvbuf"
|
/linux-5.19.10/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.h | 96 u8 rcvbuf[MXL_MAX_XFER_SIZE]; member
|
D | mxl111sf.c | 68 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-5.19.10/net/rds/ |
D | af_rds.c | 822 sinfo.rcvbuf = rds_sk_rcvbuf(rs); in rds_sock_info() 857 sinfo6.rcvbuf = rds_sk_rcvbuf(rs); in rds6_sock_info()
|
/linux-5.19.10/include/net/ |
D | tcp.h | 1462 int rcvbuf, threshold; in tcp_rmem_pressure() local 1467 rcvbuf = READ_ONCE(sk->sk_rcvbuf); in tcp_rmem_pressure() 1468 threshold = rcvbuf - (rcvbuf >> 3); in tcp_rmem_pressure()
|
/linux-5.19.10/net/mptcp/ |
D | protocol.c | 1920 int rcvmem, rcvbuf; in mptcp_rcv_space_adjust() local 1935 rcvbuf = min_t(u64, rcvwin * rcvmem, in mptcp_rcv_space_adjust() 1938 if (rcvbuf > sk->sk_rcvbuf) { in mptcp_rcv_space_adjust() 1941 window_clamp = tcp_win_from_space(sk, rcvbuf); in mptcp_rcv_space_adjust() 1942 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust() 1955 WRITE_ONCE(ssk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
|
/linux-5.19.10/net/ipv4/ |
D | tcp_input.c | 730 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-5.19.10/Documentation/networking/ |
D | rds.rst | 253 number of bytes queued equals or exceeds rcvbuf then the socket
|
D | ip-sysctl.rst | 2832 - 1: rcvbuf space is per association 2833 - 0: rcvbuf space is per socket
|
/linux-5.19.10/net/packet/ |
D | af_packet.c | 1280 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-5.19.10/fs/nfs/ |
D | nfs4xdr.c | 5331 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in decode_readlink() local 5345 if (len >= rcvbuf->page_len || len <= 0) { in decode_readlink() 5362 xdr_terminate_string(rcvbuf, len); in decode_readlink()
|