Home
last modified time | relevance | path

Searched refs:sndbuf (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/media/usb/dvb-usb/
H A Ddibusb-common.c141 u8 *sndbuf; in dibusb_i2c_msg() local
149 sndbuf = kmalloc(MAX_XFER_SIZE, GFP_KERNEL); in dibusb_i2c_msg()
150 if (!sndbuf) in dibusb_i2c_msg()
159 sndbuf[0] = wo ? DIBUSB_REQ_I2C_WRITE : DIBUSB_REQ_I2C_READ; in dibusb_i2c_msg()
160 sndbuf[1] = (addr << 1) | (wo ? 0 : 1); in dibusb_i2c_msg()
162 memcpy(&sndbuf[2], wbuf, wlen); in dibusb_i2c_msg()
165 sndbuf[wlen + 2] = (rlen >> 8) & 0xff; in dibusb_i2c_msg()
166 sndbuf[wlen + 3] = rlen & 0xff; in dibusb_i2c_msg()
169 ret = dvb_usb_generic_rw(d, sndbuf, len, rbuf, rlen, 0); in dibusb_i2c_msg()
172 kfree(sndbuf); in dibusb_i2c_msg()
H A Ddigitv.c36 memset(st->sndbuf, 0, 7); in digitv_ctrl_msg()
39 st->sndbuf[0] = cmd; in digitv_ctrl_msg()
40 st->sndbuf[1] = vv; in digitv_ctrl_msg()
41 st->sndbuf[2] = wo ? wlen : rlen; in digitv_ctrl_msg()
44 memcpy(&st->sndbuf[3], wbuf, wlen); in digitv_ctrl_msg()
45 ret = dvb_usb_generic_write(d, st->sndbuf, 7); in digitv_ctrl_msg()
47 ret = dvb_usb_generic_rw(d, st->sndbuf, 7, st->rcvbuf, 7, 10); in digitv_ctrl_msg()
H A Ddigitv.h11 unsigned char sndbuf[7]; member
/linux/tools/testing/selftests/net/
H A Dtcp_mmap.c85 static int sndbuf; /* Default: autotuning. Can be set with -w <integer> option */ variable
330 if (sndbuf && setsockopt(fd, SOL_SOCKET, in apply_rcvsnd_buf()
331 SO_SNDBUF, &sndbuf, sizeof(sndbuf)) == -1) { in apply_rcvsnd_buf()
480 sndbuf = atoi(optarg); in main()
/linux/tools/testing/selftests/bpf/
H A Dnetlink_helpers.c28 int sndbuf = 32768; in rtnl_open_byproto() local
39 &sndbuf, sizeof(sndbuf)) < 0) { in rtnl_open_byproto()
/linux/include/uapi/linux/
H A Drds.h198 __u32 sndbuf; member
208 __u32 sndbuf; member
/linux/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.sh29 sndbuf=0
96 sndbuf="$OPTARG"
338 if [ "$sndbuf" -gt 0 ]; then
339 extra_args+=" -S $sndbuf"
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h95 u8 sndbuf[MXL_MAX_XFER_SIZE]; member
H A Dmxl111sf.c67 memset(state->sndbuf, 0, 1+wlen); in mxl111sf_ctrl_msg()
70 state->sndbuf[0] = cmd; in mxl111sf_ctrl_msg()
71 memcpy(&state->sndbuf[1], wbuf, wlen); in mxl111sf_ctrl_msg()
73 ret = (wo) ? dvb_usbv2_generic_write(d, state->sndbuf, 1+wlen) : in mxl111sf_ctrl_msg()
74 dvb_usbv2_generic_rw(d, state->sndbuf, 1+wlen, state->rcvbuf, in mxl111sf_ctrl_msg()
/linux/drivers/net/
H A Dtun.c194 int sndbuf; member
2853 tun->sndbuf = tfile->socket.sk->sk_sndbuf; in tun_set_iff()
2982 tfile->socket.sk->sk_sndbuf = tun->sndbuf; in tun_set_sndbuf()
3093 int sndbuf; in __tun_chr_ioctl() local
3283 sndbuf = tfile->socket.sk->sk_sndbuf; in __tun_chr_ioctl()
3284 if (copy_to_user(argp, &sndbuf, sizeof(sndbuf))) in __tun_chr_ioctl()
3289 if (copy_from_user(&sndbuf, argp, sizeof(sndbuf))) { in __tun_chr_ioctl()
3293 if (sndbuf <= 0) { in __tun_chr_ioctl()
3298 tun->sndbuf = sndbuf; in __tun_chr_ioctl()
/linux/net/rds/
H A Daf_rds.c820 sinfo.sndbuf = rds_sk_sndbuf(rs); in rds_sock_info()
855 sinfo6.sndbuf = rds_sk_sndbuf(rs); in rds6_sock_info()
/linux/drivers/block/drbd/
H A Ddrbd_worker.c634 int sndbuf = sk->sk_sndbuf; in make_resync_request() local
635 if (queued > sndbuf / 2) { in make_resync_request()
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1227 csk->sndbuf = csk->snd_win; in chtls_recv_sock()
1235 csk->sndbuf = newsk->sk_sndbuf; in chtls_recv_sock()
H A Dchtls_io.c191 FLOWC_PARAM(SNDBUF, csk->sndbuf); in send_tx_flowc_wr()