/Linux-v6.1/drivers/media/usb/dvb-usb/ |
D | dibusb-common.c | 140 u8 *sndbuf; in dibusb_i2c_msg() local 148 sndbuf = kmalloc(MAX_XFER_SIZE, GFP_KERNEL); in dibusb_i2c_msg() 149 if (!sndbuf) in dibusb_i2c_msg() 158 sndbuf[0] = wo ? DIBUSB_REQ_I2C_WRITE : DIBUSB_REQ_I2C_READ; in dibusb_i2c_msg() 159 sndbuf[1] = (addr << 1) | (wo ? 0 : 1); in dibusb_i2c_msg() 161 memcpy(&sndbuf[2], wbuf, wlen); in dibusb_i2c_msg() 164 sndbuf[wlen + 2] = (rlen >> 8) & 0xff; in dibusb_i2c_msg() 165 sndbuf[wlen + 3] = rlen & 0xff; in dibusb_i2c_msg() 168 ret = dvb_usb_generic_rw(d, sndbuf, len, rbuf, rlen, 0); in dibusb_i2c_msg() 171 kfree(sndbuf); in dibusb_i2c_msg()
|
D | digitv.c | 36 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()
|
D | digitv.h | 11 unsigned char sndbuf[7]; member
|
/Linux-v6.1/net/vmw_vsock/ |
D | hyperv_transport.c | 307 int sndbuf; in hvs_open_connection() local 373 sndbuf = RINGBUFFER_HVS_SND_SIZE; in hvs_open_connection() 376 sndbuf = max_t(int, sk->sk_sndbuf, RINGBUFFER_HVS_SND_SIZE); in hvs_open_connection() 377 sndbuf = min_t(int, sndbuf, RINGBUFFER_HVS_MAX_SIZE); in hvs_open_connection() 378 sndbuf = ALIGN(sndbuf, 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.1/tools/testing/selftests/net/ |
D | tcp_mmap.c | 80 static int sndbuf; /* Default: autotuning. Can be set with -w <integer> option */ variable 274 if (sndbuf && setsockopt(fd, SOL_SOCKET, in apply_rcvsnd_buf() 275 SO_SNDBUF, &sndbuf, sizeof(sndbuf)) == -1) { in apply_rcvsnd_buf() 405 sndbuf = atoi(optarg); in main()
|
/Linux-v6.1/drivers/tty/hvc/ |
D | hvc_iucv.c | 72 void *sndbuf; /* send buffer */ member 370 memcpy(priv->sndbuf + priv->sndbuf_len, buf, len); in hvc_iucv_queue() 408 memcpy(sb->mbuf->data, priv->sndbuf, priv->sndbuf_len); in hvc_iucv_send() 1064 priv->sndbuf = (void *) get_zeroed_page(GFP_KERNEL); in hvc_iucv_alloc() 1065 if (!priv->sndbuf) { in hvc_iucv_alloc() 1113 free_page((unsigned long) priv->sndbuf); in hvc_iucv_alloc() 1126 free_page((unsigned long) priv->sndbuf); in hvc_iucv_destroy()
|
/Linux-v6.1/include/uapi/linux/ |
D | rds.h | 198 __u32 sndbuf; member 208 __u32 sndbuf; member
|
/Linux-v6.1/tools/testing/selftests/net/mptcp/ |
D | mptcp_connect.sh | 22 sndbuf=0 88 sndbuf="$OPTARG" 383 if [ "$sndbuf" -gt 0 ]; then 384 extra_args="$extra_args -S $sndbuf"
|
/Linux-v6.1/drivers/media/usb/dvb-usb-v2/ |
D | mxl111sf.h | 95 u8 sndbuf[MXL_MAX_XFER_SIZE]; member
|
D | mxl111sf.c | 67 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-v6.1/drivers/net/ |
D | tun.c | 192 int sndbuf; member 2822 tun->sndbuf = tfile->socket.sk->sk_sndbuf; in tun_set_iff() 2945 tfile->socket.sk->sk_sndbuf = tun->sndbuf; in tun_set_sndbuf() 3055 int sndbuf; in __tun_chr_ioctl() local 3243 sndbuf = tfile->socket.sk->sk_sndbuf; in __tun_chr_ioctl() 3244 if (copy_to_user(argp, &sndbuf, sizeof(sndbuf))) in __tun_chr_ioctl() 3249 if (copy_from_user(&sndbuf, argp, sizeof(sndbuf))) { in __tun_chr_ioctl() 3253 if (sndbuf <= 0) { in __tun_chr_ioctl() 3258 tun->sndbuf = sndbuf; in __tun_chr_ioctl()
|
/Linux-v6.1/net/rds/ |
D | af_rds.c | 821 sinfo.sndbuf = rds_sk_sndbuf(rs); in rds_sock_info() 856 sinfo6.sndbuf = rds_sk_sndbuf(rs); in rds6_sock_info()
|
/Linux-v6.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls.h | 305 u32 sndbuf; member
|
D | chtls_cm.c | 1227 csk->sndbuf = csk->snd_win; in chtls_recv_sock() 1235 csk->sndbuf = newsk->sk_sndbuf; in chtls_recv_sock()
|
D | chtls_io.c | 191 FLOWC_PARAM(SNDBUF, csk->sndbuf); in send_tx_flowc_wr()
|
/Linux-v6.1/drivers/block/drbd/ |
D | drbd_worker.c | 632 int sndbuf = sk->sk_sndbuf; in make_resync_request() local 633 if (queued > sndbuf / 2) { in make_resync_request()
|