Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/staging/unisys/visornic/
Dvisornic_main.c137 struct sk_buff **rcvbuf; member
581 if (devdata->rcvbuf[i]) { in visornic_disable_with_timeout()
582 kfree_skb(devdata->rcvbuf[i]); in visornic_disable_with_timeout()
583 devdata->rcvbuf[i] = NULL; in visornic_disable_with_timeout()
607 devdata->rcvbuf[i] = alloc_rcv_buf(netdev); in init_rcv_bufs()
609 if (!devdata->rcvbuf[i]) in init_rcv_bufs()
623 kfree_skb(devdata->rcvbuf[i]); in init_rcv_bufs()
624 devdata->rcvbuf[i] = NULL; in init_rcv_bufs()
635 devdata->rcvbuf[i]); in init_rcv_bufs()
645 kfree_skb(devdata->rcvbuf[j]); in init_rcv_bufs()
[all …]
/Linux-v5.15/net/vmw_vsock/
Dhyperv_transport.c296 int rcvbuf; in hvs_open_connection() local
365 rcvbuf = RINGBUFFER_HVS_RCV_SIZE; in hvs_open_connection()
370 rcvbuf = max_t(int, sk->sk_rcvbuf, RINGBUFFER_HVS_RCV_SIZE); in hvs_open_connection()
371 rcvbuf = min_t(int, rcvbuf, RINGBUFFER_HVS_MAX_SIZE); in hvs_open_connection()
372 rcvbuf = ALIGN(rcvbuf, HV_HYP_PAGE_SIZE); in hvs_open_connection()
375 ret = vmbus_open(chan, sndbuf, rcvbuf, NULL, 0, hvs_channel_cb, in hvs_open_connection()
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/include/uapi/linux/
Drds.h203 __u32 rcvbuf; member
213 __u32 rcvbuf; member
/Linux-v5.15/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh22 rcvbuf=0
94 rcvbuf="$OPTARG"
392 if [ "$rcvbuf" -gt 0 ]; then
393 extra_args="$extra_args -R $rcvbuf"
/Linux-v5.15/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-v5.15/drivers/staging/unisys/include/
Diochannel.h409 void *rcvbuf[MAX_NET_RCV_CHAIN]; member
/Linux-v5.15/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-v5.15/include/net/
Dtcp.h1430 int rcvbuf, threshold; in tcp_rmem_pressure() local
1435 rcvbuf = READ_ONCE(sk->sk_rcvbuf); in tcp_rmem_pressure()
1436 threshold = rcvbuf - (rcvbuf >> 3); in tcp_rmem_pressure()
/Linux-v5.15/net/mptcp/
Dprotocol.c1860 int rcvmem, rcvbuf; in mptcp_rcv_space_adjust() local
1875 rcvbuf = min_t(u64, rcvwin * rcvmem, in mptcp_rcv_space_adjust()
1878 if (rcvbuf > sk->sk_rcvbuf) { in mptcp_rcv_space_adjust()
1881 window_clamp = tcp_win_from_space(sk, rcvbuf); in mptcp_rcv_space_adjust()
1882 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
1895 WRITE_ONCE(ssk->sk_rcvbuf, rcvbuf); in mptcp_rcv_space_adjust()
/Linux-v5.15/net/ipv4/
Dtcp_input.c721 int rcvmem, rcvbuf; in tcp_rcv_space_adjust() local
739 rcvbuf = min_t(u64, rcvwin * rcvmem, in tcp_rcv_space_adjust()
741 if (rcvbuf > sk->sk_rcvbuf) { in tcp_rcv_space_adjust()
742 WRITE_ONCE(sk->sk_rcvbuf, rcvbuf); in tcp_rcv_space_adjust()
745 tp->window_clamp = tcp_win_from_space(sk, rcvbuf); in tcp_rcv_space_adjust()
/Linux-v5.15/net/packet/
Daf_packet.c1244 int rcvbuf = READ_ONCE(sk->sk_rcvbuf); in __packet_rcv_has_room() local
1245 int avail = rcvbuf - atomic_read(&sk->sk_rmem_alloc) in __packet_rcv_has_room()
1248 if (avail > (rcvbuf >> ROOM_POW_OFF)) in __packet_rcv_has_room()
/Linux-v5.15/Documentation/networking/
Drds.rst253 number of bytes queued equals or exceeds rcvbuf then the socket
Dip-sysctl.rst2774 - 1: rcvbuf space is per association
2775 - 0: rcvbuf space is per socket
/Linux-v5.15/fs/nfs/
Dnfs4xdr.c5281 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in decode_readlink() local
5295 if (len >= rcvbuf->page_len || len <= 0) { in decode_readlink()
5312 xdr_terminate_string(rcvbuf, len); in decode_readlink()