Home
last modified time | relevance | path

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

12345678910>>...25

/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 in rds_ib_send_unmap_op()
192 struct rds_ib_send_work *send; rds_ib_send_init_ring() local
216 struct rds_ib_send_work *send; rds_ib_send_clear_ring() local
247 struct rds_ib_send_work *send; rds_ib_send_cqe_handler() local
455 rds_ib_set_wr_signal_state(struct rds_ib_connection * ic,struct rds_ib_send_work * send,bool notify) rds_ib_set_wr_signal_state() argument
489 struct rds_ib_send_work *send = NULL; rds_ib_xmit() local
769 struct rds_ib_send_work *send = NULL; rds_ib_xmit_atomic() local
855 struct rds_ib_send_work *send = NULL; rds_ib_xmit_rdma() local
[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/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
H A Dtcp_zerocopy_basic.pkt4 // send a packet with MSG_ZEROCOPY and receive the notification ID
7 --send_omit_free // do not reuse send buffers with zerocopy
23 +0 send(4, ..., 4000, MSG_ZEROCOPY) = 4000
41 +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/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(self->fd, test_str, send_len, MSG_EOR), send_len); in TEST_F()
[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,
H A Dbase.c65 if (!pmu || !pmu->func->send) in nvkm_pmu_send()
67 return pmu->func->send(pmu, reply, process, message, data0, data1); in nvkm_pmu_send()
113 mutex_destroy(&pmu->send.mutex); in nvkm_pmu_dtor()
133 mutex_init(&pmu->send.mutex); in nvkm_pmu_ctor()
/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/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/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drxon.c81 struct iwl_rxon_cmd *send) in iwlagn_disable_bss() argument
83 __le32 old_filter = send->filter_flags; in iwlagn_disable_bss()
86 send->filter_flags &= ~RXON_FILTER_ASSOC_MSK; in iwlagn_disable_bss()
88 0, sizeof(*send), send); in iwlagn_disable_bss()
90 send->filter_flags = old_filter; in iwlagn_disable_bss()
101 struct iwl_rxon_cmd *send) in iwlagn_disable_pan() argument
104 __le32 old_filter = send->filter_flags; in iwlagn_disable_pan()
105 u8 old_dev_type = send->dev_type; in iwlagn_disable_pan()
115 send->filter_flags &= ~RXON_FILTER_ASSOC_MSK; in iwlagn_disable_pan()
116 send->dev_type = RXON_DEV_TYPE_P2P; in iwlagn_disable_pan()
[all …]
/linux/Documentation/networking/
H A Dmac80211-injection.rst49 IEEE80211_RADIOTAP_MCS_BW_40 send in HT40 mode
66 * 1: send using 40MHz channel width
67 * 4: send using 80MHz channel width
68 * 11: send using 160MHz channel width
93 After composing the packet contents, it is sent by send()-ing it to a logical
/linux/drivers/mmc/host/
H A Dmeson-mx-sdhc-mmc.c137 u32 ictl, send; in meson_mx_sdhc_start_cmd() local
146 send = FIELD_PREP(MESON_SDHC_SEND_CMD_INDEX, cmd->opcode); in meson_mx_sdhc_start_cmd()
149 send |= MESON_SDHC_SEND_CMD_HAS_DATA; in meson_mx_sdhc_start_cmd()
150 send |= FIELD_PREP(MESON_SDHC_SEND_TOTAL_PACK, in meson_mx_sdhc_start_cmd()
159 send |= MESON_SDHC_SEND_DATA_DIR; in meson_mx_sdhc_start_cmd()
196 send |= MESON_SDHC_SEND_DATA_STOP; in meson_mx_sdhc_start_cmd()
199 send |= MESON_SDHC_SEND_CMD_HAS_RESP; in meson_mx_sdhc_start_cmd()
202 send |= MESON_SDHC_SEND_RESP_LEN; in meson_mx_sdhc_start_cmd()
203 send |= MESON_SDHC_SEND_RESP_NO_CRC; in meson_mx_sdhc_start_cmd()
207 send |= MESON_SDHC_SEND_RESP_NO_CRC; in meson_mx_sdhc_start_cmd()
[all …]
/linux/Documentation/driver-api/pldmfw/
H A Ddriver-ops.rst25 The ``.send_package_data`` operation is used to send the device-specific
29 length. The device driver should send this data to firmware.
37 device driver should send the component information to the device firmware,
48 flash a given component. The driver must perform any steps necessary to send

12345678910>>...25