Home
last modified time | relevance | path

Searched full:send (Results 1 – 25 of 2966) sorted by relevance

12345678910>>...119

/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()
175 if (send->s_op) { in rds_ib_send_unmap_op()
176 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/
H A Dudpgso.c65 int tlen; /* send() buffer size, may exceed mss */
66 bool tfail; /* send() call is expected to fail */
70 bool v6_ext_hdr; /* send() dgrams with IPv6 extension headers */
85 /* no GSO: send a single byte */
90 /* no GSO: send a single MSS */
95 /* no GSO: send a single MSS + 1B: fail */
100 /* send a single MSS: will fall back to no GSO */
119 /* send a single MSS + 1B */
126 /* send exactly 2 MSS */
132 /* send 2 MSS + 1B */
[all …]
H A Dtls.c245 /* Send some data through with ULP but no keys */
254 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
299 EXPECT_EQ(send(self->fd, test_str, send_len, 0), -1); in TEST_F()
460 EXPECT_EQ(send(self->fd, test_str, to_send, 0), to_send); in TEST_F()
537 EXPECT_GE(send(self->fd, buf, send_len, 0), 0); in TEST_F()
549 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
560 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
562 EXPECT_EQ(send(self->fd, test_str, send_len, 0), send_len); in TEST_F()
588 EXPECT_EQ(send(self->fd, test_str, send_len, MSG_MORE), send_len); in TEST_F()
608 EXPECT_EQ(send(sel in TEST_F()
[all...]
/linux/net/llc/
H A Dllc_s_ac.c
/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/include/rdma/
H A Drdmavt_qp.h60 * RVT_S_SIGNAL_REQ_WR - set if QP send WRs contain completion signaled
61 * RVT_S_BUSY - send tasklet is processing the QP
70 * RVT_S_WAIT_DMA - waiting for send DMA queue to drain before generating
71 * next send completion entry not via send DMA
72 * RVT_S_WAIT_PIO - waiting for a send buffer to be available
76 * RVT_S_WAIT_PSN - waiting for a packet to exit the send DMA queue
78 * RVT_S_SEND_ONE - send one packet, request ACK, then wait for ACK
79 * RVT_S_ECN - a BECN was queued to the send engine
116 * Wait flags that would prevent send work requests from making progress.
141 * Internal send flags
[all …]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-fw-isys.h36 /* Single dedicated send queue for proxy interface */
40 /* Send queues layout */
392 * @send_irq_sof_discarded: send irq on discarded frame sof response
394 * and send the response
396 * whether to send the response
397 * @send_irq_eof_discarded: send irq on discarded frame eof response
399 * and send the response
401 * whether to send the response
402 * @send_resp_sof_discarded: send response for discarded frame sof detected,
404 * @send_resp_eof_discarded: send respons
[all...]
/linux/drivers/misc/vmw_vmci/
H A Dvmci_route.c37 * them again when we do the actual send to ensure that we do in vmci_route()
50 * cannot send it to the hypervisor. It must come in vmci_route()
57 * We must be acting as a guest in order to send to in vmci_route()
63 /* And we cannot send if the source is the host context. */ in vmci_route()
79 /* Send from local client down to the hypervisor. */ in vmci_route()
88 * guest, then we need to send it down to the host. in vmci_route()
98 * may send vmci event datagrams to the host in vmci_route()
99 * itself, but it will never send datagrams to in vmci_route()
116 /* Send it from local client down to the host. */ in vmci_route()
186 * send it down, since we have no guest in vmci_route()
[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/sunrpc/xprtrdma/
H A Dsvc_rdma_sendto.c53 * a Send WR conveying the transport header and the RPC message itself to
68 * The logic here depends on Send Queue and completion ordering. Since
69 * the Send WR is always posted last, it will always complete last. Thus
78 * When the Send WR is constructed, it also gets its own svc_rdma_send_ctxt.
80 * ctxt, the Send WR is posted, and sendto returns.
82 * The svc_rdma_send_ctxt is presented when the Send WR completes.
83 * The Send completion handler queues the send_ctxt onto the
92 * - If the Send WR is posted successfully, it will either complete
93 * successfully, or get flushed. Either way, the Send completion
95 * - If the Send WR cannot be posted, the forward path releases the
[all …]
/linux/drivers/infiniband/hw/hfi1/
H A Dpio.h8 /* send context types */
13 #define SC_MAX 4 /* count of send context types */
15 /* invalid send context index */
39 struct send_context *sc;/* back pointer to owning send context */
55 /* per-NUMA send context */
97 /* send context flags */
123 /* send context configuration sizes (one per type) */
132 * Since the mapping now allows for non-uniform send contexts per vl, the
133 * number of send contexts for a vl is either the vl_scontexts[vl] or
144 * For the case where n > nactual, the send contexts are assigned
[all …]
/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
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Ddhc.h161 * @DHC_TWT_REQUEST: Send a Request TWT command
162 * @DHC_TWT_SUGGEST: Send a Suggest TWT command
163 * @DHC_TWT_DEMAND: Send a Demand TWT command
164 * @DHC_TWT_GROUPING: Send a Grouping TWT command
165 * @DHC_TWT_ACCEPT: Send a Accept TWT command
166 * @DHC_TWT_ALTERNATE: Send a Alternate TWT command
167 * @DHC_TWT_DICTATE: Send a Dictate TWT command
168 * @DHC_TWT_REJECT: Send a Reject TWT command
169 * @DHC_TWT_TEARDOWN: Send a TearDown TWT command
/linux/Documentation/hid/
H A Duhid.rst48 The first thing you should do is send a UHID_CREATE2 event. This will
62 If you want to send data on the interrupt channel to the HID subsystem, you send
63 a HID_INPUT2 event with your raw data payload. If the kernel wants to send data
74 If your device disconnects, you should send a UHID_DESTROY event. This will
75 unregister the device. You can now send UHID_CREATE2 again to register a new
91 This creates the internal HID device. No I/O is possible until you send this
103 You must send UHID_CREATE2 before sending input to the kernel! This event
159 send UHID_INPUT2 events to the kernel.
166 This is sent if the HID device driver wants to send raw data to the I/O
180 GET_REPORT (or if it fails), you must send a UHID_GET_REPORT_REPLY to the
[all …]
/linux/drivers/gpu/drm/amd/pm/powerplay/smumgr/
H A Dsmu9_smumgr.c88 * Send a message to the SMC, and do not wait for its response.
90 * @param msg the message to send.
108 * Send a message to the SMC, and wait for its response.
110 * @param msg the message to send.
129 dev_err(adev->dev, "Failed to send message: 0x%x, ret value: 0x%x\n", msg, ret); in smu9_send_msg_to_smc()
135 * Send a message to the SMC with parameter
137 * @param msg: the message to send.
138 * @param parameter: the parameter to send
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c112 /* send command to mc*/ in dpni_open()
145 /* send command to mc*/ in dpni_close()
188 /* send command to mc*/ in dpni_set_pools()
211 /* send command to mc*/ in dpni_enable()
234 /* send command to mc*/ in dpni_disable()
261 /* send command to mc*/ in dpni_is_enabled()
292 /* send command to mc*/ in dpni_reset()
328 /* send command to mc*/ in dpni_set_irq_enable()
361 /* send command to mc*/ in dpni_get_irq_enable()
406 /* send command to mc*/ in dpni_set_irq_mask()
[all …]
/linux/drivers/net/hyperv/
H A Dnetvsc.c68 * so we use synthetic path to send data. in netvsc_switch_datapath()
73 "Unable to send sw datapath msg, err: %d\n", in netvsc_switch_datapath()
84 "Retry failed to send sw datapath msg, err: %d\n", in netvsc_switch_datapath()
215 * to send a revoke msg here in netvsc_revoke_recv_buf()
218 /* Send the revoke receive buffer */ in netvsc_revoke_recv_buf()
235 * ignore the failure since we cannot send on a rescinded in netvsc_revoke_recv_buf()
246 netdev_err(ndev, "unable to send " in netvsc_revoke_recv_buf()
261 /* Deal with the send buffer we may have setup. in netvsc_revoke_send_buf()
262 * If we got a send section size, it means we received a in netvsc_revoke_send_buf()
265 * to send in netvsc_revoke_send_buf()
[all...]
/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/rust/kernel/
H A Ddebugfs.rs171 T: Writer + Send + Sync + 'static, in read_binary_file()
197 T: BinaryWriter + Send + Sync + 'static,
239 T: Send + Sync + 'static,
240 F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync,
256 T: Writer + Reader + Send + Sync + 'static,
272 T: BinaryWriter + BinaryReader + Send + Sync + 'static, in read_write_callback_file()
292 T: Send + Sync + 'static, in write_only_file()
293 F: Fn(&T, &mut fmt::Formatter<'_>) -> fmt::Result + Send + Sync, in write_only_file()
294 W: Fn(&T, &mut UserSliceReader) -> Result + Send + Sync, in write_only_file()
315 T: Reader + Send
[all...]
/linux/drivers/media/usb/as102/
H A Das10x_cmd.c13 * as10x_cmd_turn_on - send turn on command to AS10x
33 /* send command */ in as10x_cmd_turn_on()
54 * as10x_cmd_turn_off - send turn off command to AS10x
74 /* send command */ in as10x_cmd_turn_off()
94 * as10x_cmd_set_tune - send set tune command to AS10x
127 /* send command */ in as10x_cmd_set_tune()
149 * as10x_cmd_get_tune_status - send get tune status command to AS10x
172 /* send command */ in as10x_cmd_get_tune_status()
202 * as10x_cmd_get_tps - send get TPS command to AS10x
224 /* send command */ in as10x_cmd_get_tps()
[all …]
H A Das10x_cmd_stream.c12 * as10x_cmd_add_PID_filter - send add filter command to AS10x
42 /* send command */ in as10x_cmd_add_PID_filter()
69 * as10x_cmd_del_PID_filter - Send delete filter command to AS10x
93 /* send command */ in as10x_cmd_del_PID_filter()
115 * as10x_cmd_start_streaming - Send start streaming command to AS10x
136 /* send command */ in as10x_cmd_start_streaming()
158 * as10x_cmd_stop_streaming - Send stop streaming command to AS10x
179 /* send command */ in as10x_cmd_stop_streaming()
/linux/drivers/hid/intel-ish-hid/ishtp/
H A Dhbm.c120 * ishtp_hbm_start_req() - Send HBM start message
123 * Send HBM start message to firmware
146 dev_err(dev->devc, "version message send failed\n"); in ishtp_hbm_start_req()
157 * ishtp_hbm_enum_clients_req() - Send client enum req
160 * Send enumeration client request message
175 dev_err(dev->devc, "enumeration request send failed\n"); in ishtp_hbm_enum_clients_req()
223 dev_err(dev->devc, "properties request send failed\n"); in ishtp_hbm_prop_req()
234 * ishtp_hbm_stop_req() - Send HBM stop
237 * Send stop request message
253 * ishtp_hbm_cl_flow_control_req() - Send flow control request
[all …]
/linux/Documentation/translations/zh_CN/networking/
H A Dmsg_zerocopy.rst67 当应用程序向 send 系统调用传递未定义的标志时,内核通常会宽容对待。默认情况下,它会简单地忽略
79 对 send(或 sendto、sendmsg、sendmmsg)本身的改动非常简单。只需传递新的标志即可。
83 ret = send(fd, buf, sizeof(buf), MSG_ZEROCOPY);
101 MSG_ZEROCOPY 标志的 send 调用成功发送数据时,计数器都会增加。如果调用失败或长度为零,
108 下面的代码片段展示了 API 的使用。在最简单的情况下,每次 send 系统调用后,都会对错误队列
128 这个示例仅用于演示目的。在实际应用中,不等待通知,而是每隔几次 send 调用就进行一次非阻塞
132 被读取。然而,零拷贝通知具有零错误代码,因此不会阻塞 send 和 recv 调用。
/linux/include/net/sctp/
H A Dcommand.h10 * Please send any bug reports or fixes you make to the
34 SCTP_CMD_GEN_SACK, /* Send a Selective ACK (maybe). */
39 SCTP_CMD_CHUNK_ULP, /* Send a chunk to the sockets layer. */
40 SCTP_CMD_EVENT_ULP, /* Send a notification to the sockets layer. */
41 SCTP_CMD_REPLY, /* Send a chunk to our peer. */
42 SCTP_CMD_SEND_PKT, /* Send a full packet to our peer. */
86 SCTP_CMD_ASSOC_CHANGE, /* generate and send assoc_change event */
87 SCTP_CMD_ADAPTATION_IND, /* generate and send adaptation event */
88 SCTP_CMD_PEER_NO_AUTH, /* generate and send authentication event */
92 SCTP_CMD_SEND_MSG, /* Send the whole use message */
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_virtchnl_ptp.c9 * idpf_ptp_get_caps - Send virtchnl get ptp capabilities message
12 * Send virtchnl get PTP capabilities message.
152 * idpf_ptp_get_dev_clk_time - Send virtchnl get device clk time message
156 * Send virtchnl get time message to get the time of the clock.
194 * idpf_ptp_get_cross_time - Send virtchnl get cross time message
198 * Send virtchnl get cross time message to get the time of the clock and the
232 * idpf_ptp_set_dev_clk_time - Send virtchnl set device time message
236 * Send virtchnl set time message to set the time of the clock.
260 * idpf_ptp_adj_dev_clk_time - Send virtchnl adj device clock time message
264 * Send virtchnl adj time message to adjust the clock by the indicated delta.
[all …]

12345678910>>...119