Home
last modified time | relevance | path

Searched refs:send (Results 1 – 25 of 696) sorted by relevance

12345678910>>...28

/linux/net/rds/
H A Dib_send.c151 struct rds_ib_send_work *send, in rds_ib_send_unmap_op() argument
157 switch (send->s_wr.opcode) { in rds_ib_send_unmap_op()
159 if (send->s_op) { in rds_ib_send_unmap_op()
160 rm = container_of(send->s_op, struct rds_message, data); in rds_ib_send_unmap_op()
161 rds_ib_send_unmap_data(ic, send->s_op, wc_status); in rds_ib_send_unmap_op()
166 if (send->s_op) { in rds_ib_send_unmap_op()
167 rm = container_of(send->s_op, struct rds_message, rdma); in rds_ib_send_unmap_op()
168 rds_ib_send_unmap_rdma(ic, send->s_op, wc_status); in rds_ib_send_unmap_op()
173 if (send->s_op) { in rds_ib_send_unmap_op()
174 rm = container_of(send->s_op, struct rds_message, atomic); in rds_ib_send_unmap_op()
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dxt_string.sh51 send() { # (offset) function
67 send 0
68 send $((1000 - patlen))
76 send 1000
77 send $((1400 - patlen))
85 send $((1500 - patlen))
93 send 1495
101 send 1500
109 send $((1600 - patlen))
117 send $((1600 - patlen + 1))
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Dnetjet.c76 struct tiger_dma send; member
182 bc->bch.nr, fill, cnt, idx, card->send.idx); in fill_mem()
189 val = card->send.start[idx]; in fill_mem()
192 card->send.start[idx++] = val; in fill_mem()
193 if (idx >= card->send.size) in fill_mem()
209 fill_mem(bc, 0, card->send.size, 0xff); in mode_tiger()
228 bc->free = card->send.size / 2; in mode_tiger()
242 bc->free = card->send.size / 2; in mode_tiger()
259 card->send.dmacur = inl(card->base + NJ_DMA_READ_ADR); in mode_tiger()
261 card->send.idx = (card->send.dmacur - card->send.dmastart) >> 2; in mode_tiger()
[all …]
/linux/net/atm/
H A Draw.c59 return vcc->dev->ops->send(vcc, skb); in atm_send_aal0()
67 vcc->send = atm_send_aal0; in atm_init_aal0()
77 vcc->send = vcc->dev->ops->send_bh; in atm_init_aal34()
79 vcc->send = vcc->dev->ops->send; in atm_init_aal34()
89 vcc->send = vcc->dev->ops->send_bh; in atm_init_aal5()
91 vcc->send = vcc->dev->ops->send; in atm_init_aal5()
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_zerocopy_closed.pkt2 // send with MSG_ZEROCOPY on a non-established socket
4 // verify that a send in state TCP_CLOSE correctly aborts the zerocopy
7 // First send on a closed socket and wait for (absent) notification.
8 // Then connect and send and verify that notification nr. is zero.
10 --send_omit_free // do not reuse send buffers with zerocopy
17 +0 send(4, ..., 4000, MSG_ZEROCOPY) = -1 EPIPE (Broken pipe)
30 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
H A Dtcp_zerocopy_epoll_edge.pkt8 // is correctly fired only once, when EPOLLET is set. send another packet with
11 --send_omit_free // do not reuse send buffers with zerocopy
32 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
36 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
44 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
48 // receive only one EPOLLERR for the third send above.
H A Dtcp_zerocopy_epoll_exclusive.pkt9 // is correctly fired only once, when EPOLLET is set. send another packet with
12 --send_omit_free // do not reuse send buffers with zerocopy
34 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
38 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
46 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
50 // receive only one EPOLLERR for the third send above.
H A Dtcp_zerocopy_epoll_oneshot.pkt8 // is correctly fired only once, when EPOLLONESHOT is set. send another packet
12 --send_omit_free // do not reuse send buffers with zerocopy
33 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
37 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
45 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
49 // receive no EPOLLERR for the third send above.
H A Dtcp_zerocopy_small.pkt7 --send_omit_free // do not reuse send buffers with zerocopy
23 // send 1B
24 +0 send(4, ..., 1, MSG_ZEROCOPY) = 1
42 // send 1B again
43 +0 send(4, ..., 1, MSG_ZEROCOPY) = 1
H A Dtcp_zerocopy_batch.pkt4 // send multiple packets, then read one range of all notifications.
6 --send_omit_free // do not reuse send buffers with zerocopy
23 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
27 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
/linux/Documentation/translations/zh_CN/networking/
H A Dmsg_zerocopy.rst67 当应用程序向 send 系统调用传递未定义的标志时,内核通常会宽容对待。默认情况下,它会简单地忽略
79send(或 sendto、sendmsg、sendmmsg)本身的改动非常简单。只需传递新的标志即可。
83 ret = send(fd, buf, sizeof(buf), MSG_ZEROCOPY);
101 MSG_ZEROCOPY 标志的 send 调用成功发送数据时,计数器都会增加。如果调用失败或长度为零,
108 下面的代码片段展示了 API 的使用。在最简单的情况下,每次 send 系统调用后,都会对错误队列
128 这个示例仅用于演示目的。在实际应用中,不等待通知,而是每隔几次 send 调用就进行一次非阻塞
132 被读取。然而,零拷贝通知具有零错误代码,因此不会阻塞 send 和 recv 调用。
H A Dtimestamping.rst90 调用之间嵌入 send() 调用来选择性地为数据包子集请求时间戳(例如,用于采样),
114 可以通过从 send() 之前立即获取的用户空间时间戳中减去此时间戳来计算。在
122 测量结果,因为时间戳是在send()调用时缓冲区中的所有数据(包括该缓冲区)
158 时间戳会以与原始send()调用不同的顺序排队到错误队列中。如此一来,仅根据
159 时间戳顺序或 payload(有效载荷)检查,并不总能将时间戳与原始send()调用
162 此选项在 send() 时将每个数据包与唯一标识符关联,并与时间戳一起返回。
297 可能跨段,任何段可能合并(可能合并先前分段缓冲区关联的独立 send() 调用)。段
311 缓冲区到 skbuff 映射。实现确保在所有情况下都正确,通过跟踪每个 send() 传递
312send() 的最后一个字节,即使它在 skbuff 扩展或合并操作后不再是最后一个字
/linux/drivers/usb/usbip/
H A Dusbip_common.c496 static void correct_endian_basic(struct usbip_header_basic *base, int send) in correct_endian_basic() argument
498 if (send) { in correct_endian_basic()
514 int send) in correct_endian_cmd_submit() argument
516 if (send) { in correct_endian_cmd_submit()
534 int send) in correct_endian_ret_submit() argument
536 if (send) { in correct_endian_ret_submit()
552 int send) in correct_endian_cmd_unlink() argument
554 if (send) in correct_endian_cmd_unlink()
561 int send) in correct_endian_ret_unlink() argument
563 if (send) in correct_endian_ret_unlink()
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpio_copy.c34 void __iomem *send = dest + PIO_BLOCK_SIZE; in pio_copy() local
44 if (dend < send) { in pio_copy()
66 while (dest < send) { in pio_copy()
266 void __iomem *send = dest + PIO_BLOCK_SIZE; in seg_pio_copy_start() local
275 if (dend < send) { in seg_pio_copy_start()
297 while (dest < send) { in seg_pio_copy_start()
371 void __iomem *send; /* SOP end */ in mid_copy_mix() local
378 send = pbuf->start + PIO_BLOCK_SIZE; in mid_copy_mix()
379 xend = min(send, dend); in mid_copy_mix()
497 void __iomem *send; /* SOP end */ in mid_copy_straight() local
[all …]
/linux/tools/testing/selftests/net/
H A Dtls.c253 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
298 EXPECT_EQ(send(self->fd, test_str, send_len, 0), -1); in TEST_F()
459 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F()
536 EXPECT_GE(send(self->fd, buf, send_len, 0), 0); in TEST_F()
548 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
559 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
561 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
587 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
607 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
617 EXPECT_EQ(send(sel in TEST_F()
[all...]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ct.c143 spin_lock_init(&ct->ctbs.send.lock); in intel_guc_ct_init_early()
219 static int ct_register_buffer(struct intel_guc_ct *ct, bool send, in ct_register_buffer() argument
224 err = intel_guc_self_cfg64(ct_to_guc(ct), send ? in ct_register_buffer()
231 err = intel_guc_self_cfg64(ct_to_guc(ct), send ? in ct_register_buffer()
238 err = intel_guc_self_cfg32(ct_to_guc(ct), send ? in ct_register_buffer()
245 send ? "SEND" : "RECV", ERR_PTR(err)); in ct_register_buffer()
294 guc_ct_buffer_init(&ct->ctbs.send, desc, cmds, cmds_size, resv_space); in intel_guc_ct_init()
347 GEM_BUG_ON(blob != ct->ctbs.send.desc); in intel_guc_ct_enable()
350 guc_ct_buffer_reset(&ct->ctbs.send); in intel_guc_ct_enable()
364 desc = base + ptrdiff(ct->ctbs.send.desc, blob); in intel_guc_ct_enable()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsock_destroy.c51 n = send(clien, "t", 1, 0); in test_tcp_client()
58 n = send(clien, "t", 1, 0); in test_tcp_client()
92 n = send(clien, "t", 1, 0); in test_tcp_server()
99 n = send(clien, "t", 1, 0); in test_tcp_server()
125 n = send(clien, "t", 1, 0); in test_udp_client()
132 n = send(clien, "t", 1, 0); in test_udp_client()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgt215.c37 mutex_lock(&pmu->send.mutex); in gt215_pmu_send()
45 mutex_unlock(&pmu->send.mutex); in gt215_pmu_send()
65 pmu->send.base)); in gt215_pmu_send()
82 mutex_unlock(&pmu->send.mutex); in gt215_pmu_send()
247 pmu->send.base = nvkm_rd32(device, 0x10a4d0) & 0x0000ffff; in gt215_pmu_init()
248 pmu->send.size = nvkm_rd32(device, 0x10a4d0) >> 16; in gt215_pmu_init()
279 .send = gt215_pmu_send,
/linux/Documentation/input/devices/
H A Dsentelic.rst455 FSP will send out enable/disable packet when FSP receive PS/2 enable/disable
529 1. send 0xf3 PS/2 command to FSP;
531 2. send 0x66 PS/2 command to FSP;
533 3. send 0x88 PS/2 command to FSP;
535 4. send 0xf3 PS/2 command to FSP;
541 a. send 0x68 PS/2 command to FSP;
543 b. send the inverted register address to FSP and goto step 8;
549 a. send 0xcc PS/2 command to FSP;
551 b. send the swapped register address to FSP and goto step 8;
553 7. send 0x66 PS/2 command to FSP;
[all …]
/linux/Documentation/infiniband/
H A Dtag_matching.rst6 source send operations to destination receives. The following parameters must
14 The ordering rules require that when more than one pair of send and receive
15 message envelopes may match, the pair that includes the earliest posted-send
31 1. The Eager protocol- the complete message is sent when the send is
32 processed by the sender. A completion send is received in the send_cq
46 to the MPI receive routines in the posted receive list and posts send messages
47 using the MPI send routines. The head of the posted receive list may be
50 When send is initiated and arrives at the receive side, if there is no
/linux/net/ipv6/
H A Dip6_icmp.c39 ip6_icmp_send_t *send; in __icmpv6_send() local
42 send = rcu_dereference(ip6_icmp_send); in __icmpv6_send()
43 if (send) in __icmpv6_send()
44 send(skb, type, code, info, NULL, parm); in __icmpv6_send()
/linux/Documentation/userspace-api/media/rc/
H A Dlirc-func.rst15 lirc-get-send-mode
18 lirc-set-send-duty-cycle
23 lirc-set-send-carrier
/linux/drivers/char/tpm/st33zp24/
H A Dst33zp24.c72 tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_STATUS, &interrupt, 1); in clear_interruption()
85 tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_cancel()
129 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in request_locality()
153 tpm_dev->ops->send(tpm_dev->phy_id, TPM_ACCESS, &data, 1); in release_locality()
334 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_DATA_FIFO, in st33zp24_send()
348 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_DATA_FIFO, in st33zp24_send()
360 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_STS, &data, 1); in st33zp24_send()
427 .send = st33zp24_send,
517 ret = tpm_dev->ops->send(tpm_dev->phy_id, TPM_INT_ENABLE, in st33zp24_probe()
523 ret = tpm_dev->ops->send(tpm_dev->phy_id, (TPM_INT_ENABLE + 3), in st33zp24_probe()
/linux/Documentation/crypto/
H A Duserspace-if.rst62 send()/write() system call family. The result of the cipher operation is
79 particular cipher instance. When invoking send/write or recv/read
80 system calls to send data to the kernel or obtain data from the
88 the input buffer used for the send/write system call and the output
120 Using the send() system call, the application provides the data that
121 should be processed with the message digest. The send system call allows
124 - MSG_MORE: If this flag is set, the send system call acts like a
126 calculated. If the flag is not set, the send system call calculates
154 Before data can be sent to the kernel using the write/send system call
165 send/recv system call family. That cmsghdr data structure holds the
[all …]
/linux/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c

12345678910>>...28