Home
last modified time | relevance | path

Searched refs:sent (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/linux/sound/pci/echoaudio/
H A Dmidi.c188 int bytes, sent, time; in snd_echo_midi_output_write() local
193 sent = 0; in snd_echo_midi_output_write()
200 sent = write_midi(chip, buf, bytes); in snd_echo_midi_output_write()
201 if (sent < 0) { in snd_echo_midi_output_write()
203 "write_midi() error %d\n", sent); in snd_echo_midi_output_write()
205 sent = 9000; in snd_echo_midi_output_write()
207 } else if (sent > 0) { in snd_echo_midi_output_write()
208 dev_dbg(chip->card->dev, "%d bytes sent\n", sent); in snd_echo_midi_output_write()
209 snd_rawmidi_transmit_ack(chip->midi_out, sent); in snd_echo_midi_output_write()
214 sent = 32; in snd_echo_midi_output_write()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_strp.c171 int sent, recvd, total; in test_sockmap_strp_multiple_pkt() local
202 sent = xsend(c, snd, total, 0); in test_sockmap_strp_multiple_pkt()
203 if (!ASSERT_EQ(sent, total, "xsend(c)")) in test_sockmap_strp_multiple_pkt()
291 int zero = 0, pkt_size = STRP_PKT_FULL_LEN, sent, recvd, avail; in test_sockmap_strp_pass() local
310 sent = xsend(c, packet, pkt_size, 0); in test_sockmap_strp_pass()
311 if (!ASSERT_EQ(sent, pkt_size, "xsend(pre-data)")) in test_sockmap_strp_pass()
329 sent = xsend(c, packet, pkt_size, 0); in test_sockmap_strp_pass()
330 if (!ASSERT_EQ(sent, pkt_size, "xsend(c)")) in test_sockmap_strp_pass()
342 sent = xsend(c, packet, pkt_size, 0); in test_sockmap_strp_pass()
343 if (!ASSERT_EQ(sent, pkt_size, "second xsend(c)")) in test_sockmap_strp_pass()
[all …]
H A Dsockmap_basic.c552 int expected, zero = 0, sent, recvd, avail; in do_test_sockmap_skb_verdict_fionread() local
591 sent = xsend(p1, &buf, split_len, 0); in do_test_sockmap_skb_verdict_fionread()
592 sent += xsend(p1, &buf, sizeof(buf) - split_len, 0); in do_test_sockmap_skb_verdict_fionread()
593 ASSERT_EQ(sent, sizeof(buf), "xsend(p1)"); in do_test_sockmap_skb_verdict_fionread()
625 int c1, p1, sent, recvd; in test_sockmap_skb_verdict_change_tail() local
644 sent = xsend(p1, "Tr", 2, 0); in test_sockmap_skb_verdict_change_tail()
645 ASSERT_EQ(sent, 2, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail()
650 sent = xsend(p1, "G", 1, 0); in test_sockmap_skb_verdict_change_tail()
651 ASSERT_EQ(sent, 1, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail()
656 sent = xsend(p1, "E", 1, 0); in test_sockmap_skb_verdict_change_tail()
[all …]
H A Dsockmap_ktls.c137 int c = 0, p = 0, sent, recvd; in test_sockmap_ktls_offload() local
145 sent = send(c, msg, sizeof(msg), 0); in test_sockmap_ktls_offload()
151 !ASSERT_EQ(recvd, sent, "length mismatch")) in test_sockmap_ktls_offload()
168 int c = 0, p = 0, one = 1, sent, recvd; in test_sockmap_ktls_tx_cork() local
206 sent = send(c, msg, off, 0); in test_sockmap_ktls_tx_cork()
207 if (!ASSERT_EQ(sent, off, "send(msg)")) in test_sockmap_ktls_tx_cork()
215 sent = send(c, msg + off, sizeof(msg) - off, 0); in test_sockmap_ktls_tx_cork()
216 if (!ASSERT_EQ(sent, sizeof(msg) - off, "send remaining data")) in test_sockmap_ktls_tx_cork()
320 int c = 0, p = 0, one = 1, sent, recvd; in test_sockmap_ktls_tx_pop() local
370 sent = send(c, msg, sizeof(msg), 0); in test_sockmap_ktls_tx_pop()
[all …]
/linux/include/trace/events/
H A Dxdp.h57 int sent, int drops, int err),
59 TP_ARGS(dev, sent, drops, err),
65 __field(int, sent)
73 __entry->sent = sent;
80 __entry->sent, __entry->drops, __entry->err)
254 int sent, int drops, int err),
256 TP_ARGS(from_dev, to_dev, sent, drops, err),
263 __field(int, sent)
272 __entry->sent = sent;
282 __entry->sent, __entry->drops,
/linux/drivers/iommu/
H A Dexynos-iommu.c45 #define lv1ent_fault(sent) ((*(sent) == ZERO_LV2LINK) || \ argument
46 ((*(sent) & 3) == 0) || ((*(sent) & 3) == 3))
47 #define lv1ent_zero(sent) (*(sent) == ZERO_LV2LINK) argument
48 #define lv1ent_page_zero(sent) ((*(sent) & 3) == 1) argument
49 #define lv1ent_page(sent) ((*(sent) != ZERO_LV2LINK) && \ argument
50 ((*(sent) & 3) == 1))
51 #define lv1ent_section(sent) ((*(sent) & 3) == 2) argument
100 #define section_phys(sent) (sect_to_phys(*(sent)) & SECT_MASK) argument
124 #define lv2table_base(sent) (sect_to_phys(*(sent) & 0xFFFFFFC0)) argument
186 static sysmmu_pte_t *page_entry(sysmmu_pte_t *sent, sysmmu_iova_t iova) in page_entry() argument
[all …]
/linux/net/x25/
H A Dx25_out.c52 int sent=0, noblock = X25_SKB_CB(skb)->flags & MSG_DONTWAIT; in x25_output() local
73 return sent; in x25_output()
77 "sent\n", err, sent); in x25_output()
101 sent += len; in x25_output()
107 sent = skb->len - header_len; in x25_output()
109 return sent; in x25_output()
/linux/Documentation/input/
H A Dnotifier.rst15 - KBD_KEYCODE events are always sent before other events, value is the keycode.
16 - KBD_UNBOUND_KEYCODE events are sent if the keycode is not bound to a keysym.
18 - KBD_UNICODE events are sent if the keycode -> keysym translation produced a
20 - KBD_KEYSYM events are sent if the keycode -> keysym translation produced a
22 - KBD_POST_KEYSYM events are sent after the treatment of non-unicode keysyms.
H A Duserio.rst27 /dev/userio character device in their applications. Commands are sent to the
43 ``type`` describes the type of command that is being sent. This can be any one
47 Each command should be sent by writing the struct directly to the character
50 to the kernel log. Only one command can be sent at a time, any additional data
76 ``data`` is the interrupt data being sent.
/linux/Documentation/ABI/testing/
H A Ddebugfs-scmi-raw7 in little-endian binary format to have it sent to the configured
12 and sent while the replies are read back one message at time
22 in little-endian binary format to have it sent to the configured
30 and sent while the replies are read back one message at time
40 little-endian binary format to have it sent to the configured
46 and sent while the replies are read back one message at time
56 (header included) in little-endian binary format to have it sent
66 and sent while the replies are read back one message at time
110 in little-endian binary format to have it sent to the configured
117 and sent while the replies are read back one message at time
[all …]
H A Dsysfs-timecard36 PPS1 signal is sent to the PPS1 selector
37 PPS2 signal is sent to the PPS2 selector
38 TS1 signal is sent to timestamper 1
39 TS2 signal is sent to timestamper 2
40 TS3 signal is sent to timestamper 3
41 TS4 signal is sent to timestamper 4
42 IRIG signal is sent to the IRIG-B module
43 DCF signal is sent to the DCF module
44 FREQ1 signal is sent to frequency counter 1
45 FREQ2 signal is sent to frequency counter 2
[all …]
/linux/net/bluetooth/
H A Dhci_event.c214 void *sent; in hci_cc_write_link_policy()
221 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY); in hci_cc_write_link_policy()
222 if (!sent) in hci_cc_write_link_policy()
229 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy()
255 void *sent; in hci_cc_write_def_link_policy()
262 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY); in hci_cc_write_def_link_policy()
263 if (!sent) in hci_cc_write_def_link_policy()
266 hdev->link_policy = get_unaligned_le16(sent);
310 struct hci_cp_read_stored_link_key *sent; in hci_cc_read_stored_link_key()
314 sent in hci_cc_read_stored_link_key()
210 void *sent; hci_cc_write_link_policy() local
251 void *sent; hci_cc_write_def_link_policy() local
306 struct hci_cp_read_stored_link_key *sent; hci_cc_read_stored_link_key() local
347 void *sent; hci_cc_write_local_name() local
388 void *sent; hci_cc_write_auth_enable() local
420 void *sent; hci_cc_write_encrypt_mode() local
446 void *sent; hci_cc_write_scan_enable() local
484 void *sent; hci_cc_set_event_filter() local
530 void *sent; hci_cc_write_class_of_dev() local
582 void *sent; hci_cc_write_voice_setting() local
629 struct hci_cp_write_ssp_mode *sent; hci_cc_write_ssp_mode() local
662 struct hci_cp_write_sc_support *sent; hci_cc_write_sc_support() local
823 void *sent; hci_cc_write_auth_payload_timeout() local
1019 struct hci_cp_write_page_scan_activity *sent; hci_cc_write_page_scan_activity() local
1351 bdaddr_t *sent; hci_cc_le_set_random_addr() local
1546 __u8 *sent; hci_cc_le_set_adv_enable() local
1880 struct hci_cp_le_add_to_accept_list *sent; hci_cc_le_add_to_accept_list() local
1903 struct hci_cp_le_del_from_accept_list *sent; hci_cc_le_del_from_accept_list() local
1957 struct hci_cp_le_write_def_data_len *sent; hci_cc_le_write_def_data_len() local
1978 struct hci_cp_le_add_to_resolv_list *sent; hci_cc_le_add_to_resolv_list() local
2002 struct hci_cp_le_del_from_resolv_list *sent; hci_cc_le_del_from_resolv_list() local
2058 __u8 *sent; hci_cc_le_set_addr_resolution_enable() local
2102 struct hci_cp_write_le_host_supported *sent; hci_cc_write_le_host_supported() local
2182 struct hci_cp_read_tx_power *sent; hci_cc_read_tx_power() local
[all...]
H A Dhci_codec.c10 struct hci_op_read_local_codec_caps *sent, in hci_codec_list_add() argument
21 entry->id = sent->id; in hci_codec_list_add()
22 if (sent->id == 0xFF) { in hci_codec_list_add()
23 entry->cid = __le16_to_cpu(sent->cid); in hci_codec_list_add()
24 entry->vid = __le16_to_cpu(sent->vid); in hci_codec_list_add()
26 entry->transport = sent->transport; in hci_codec_list_add()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_sockmap.c384 int rcv, sent; in consumer() local
408 sent = send(ctx.p2, buf, recv_buf_size, 0); in consumer()
409 if (sent < 0) { in consumer()
437 int off = 0, fp, need_sent, sent; in producer() local
481 sent = sendfile(target, fp, NULL, need_sent); in producer()
482 if (sent < 0) { in producer()
485 sent, errno, strerror(errno)); in producer()
489 } else if (sent < need_sent) { in producer()
490 need_sent -= sent; in producer()
491 atomic_add(&ctx.prod_send, sent); in producer()
/linux/net/smc/
H A Dsmc_tx.h23 union smc_host_cursor sent, prep; in smc_tx_prepared_sends() local
25 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_prepared_sends()
27 return smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_prepared_sends()
H A Dsmc_tx.c342 union smc_host_cursor *sent, in smc_tx_advance_cursors() argument
352 smc_curs_add(conn->sndbuf_desc->len, sent, len); in smc_tx_advance_cursors()
470 union smc_host_cursor sent, prep, prod, cons; in smc_tx_rdma_writes() local
476 smc_curs_copy(&sent, &conn->tx_curs_sent, conn); in smc_tx_rdma_writes()
479 to_send = smc_curs_diff(conn->sndbuf_desc->len, &sent, &prep); in smc_tx_rdma_writes()
519 if (sent.count + dst_len <= conn->sndbuf_desc->len) { in smc_tx_rdma_writes()
524 src_len = conn->sndbuf_desc->len - sent.count; in smc_tx_rdma_writes()
528 rc = smcd_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes()
531 rc = smcr_tx_rdma_writes(conn, len, sent.count, src_len, in smc_tx_rdma_writes()
538 smc_tx_advance_cursors(conn, &prod, &sent, len); in smc_tx_rdma_writes()
[all …]
/linux/tools/testing/selftests/net/packetdrill/
H A Dtcp_close_close-on-syn-sent.pkt2 // Test to make sure no RST is being sent when close()
14 // Make sure no RST is sent after close().
18 // If a RESET were sent right after close(), it would have failed with
/linux/drivers/bluetooth/
H A Dath3k.c207 int err, pipe, size, sent = 0; in ath3k_load_firmware() local
225 sent += FW_HDR_SIZE; in ath3k_load_firmware()
235 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_firmware()
245 sent += size; in ath3k_load_firmware()
276 int err, pipe, size, count, sent = 0; in ath3k_load_fwfile() local
298 sent += size; in ath3k_load_fwfile()
308 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_fwfile()
317 sent += size; in ath3k_load_fwfile()
/linux/drivers/perf/
H A Dxgene_pmu.c327 XGENE_PMU_EVENT_ATTR(act-cmd-sent, 0x02),
328 XGENE_PMU_EVENT_ATTR(pre-cmd-sent, 0x03),
329 XGENE_PMU_EVENT_ATTR(rd-cmd-sent, 0x04),
330 XGENE_PMU_EVENT_ATTR(rda-cmd-sent, 0x05),
331 XGENE_PMU_EVENT_ATTR(wr-cmd-sent, 0x06),
332 XGENE_PMU_EVENT_ATTR(wra-cmd-sent, 0x07),
333 XGENE_PMU_EVENT_ATTR(pde-cmd-sent, 0x08),
334 XGENE_PMU_EVENT_ATTR(sre-cmd-sent, 0x09),
335 XGENE_PMU_EVENT_ATTR(prea-cmd-sent, 0x0a),
336 XGENE_PMU_EVENT_ATTR(ref-cmd-sent, 0x0b),
[all …]
/linux/drivers/tty/hvc/
H A Dhvc_xen.c109 size_t sent = 0; in __write_console() local
122 while ((sent < len) && ((prod - cons) < sizeof(intf->out))) in __write_console()
123 intf->out[MASK_XENCONS_IDX(prod++, intf->out)] = data[sent++]; in __write_console()
129 if (sent) in __write_console()
131 return sent; in __write_console()
149 ssize_t sent = __write_console(cons, data, len); in domU_write_console() local
151 if (sent < 0) in domU_write_console()
152 return sent; in domU_write_console()
154 data += sent; in domU_write_console()
155 len -= sent; in domU_write_console()
/linux/net/vmw_vsock/
H A Dvmci_transport_notify.c121 bool sent; in vmci_transport_handle_waiting_read() local
124 sent = vmci_transport_send_wrote_bh(dst, src) > 0; in vmci_transport_handle_waiting_read()
126 sent = vmci_transport_send_wrote(sk) > 0; in vmci_transport_handle_waiting_read()
128 if (sent) in vmci_transport_handle_waiting_read()
151 bool sent; in vmci_transport_handle_waiting_write() local
154 sent = vmci_transport_send_read_bh(dst, src) > 0; in vmci_transport_handle_waiting_write()
156 sent = vmci_transport_send_read(sk) > 0; in vmci_transport_handle_waiting_write()
158 if (sent) in vmci_transport_handle_waiting_write()
/linux/Documentation/hid/
H A Dhid-transport.rst100 reports. No management commands or data acknowledgements are sent on this
101 channel. Any unrequested incoming or outgoing data report must be sent on
104 not sent via intr, except if high throughput is required.
106 device management. Unrequested data input events must not be sent on this
111 Outgoing reports are usually sent on the ctrl channel via synchronous
119 data is generated by the device and sent to the host with or without
122 - OUTPUT Report: Output reports change device states. They are sent from host
124 reports are never sent from device to host, but a host can retrieve their
131 Feature reports are never sent without requests. A host must explicitly set
132 or retrieve a feature report. This also means, feature reports are never sent
[all …]
H A Duhid.rst39 payloads are sent. You must not split a single event across multiple read()'s or
40 multiple write()'s. A single event must always be sent as a whole. Furthermore,
41 only a single event can be sent per read() or write(). Pending data is ignored.
98 UHID_INPUT events can be sent to the kernel.
125 This is sent when the HID device is started. Consider this as an answer to
126 UHID_CREATE2. This is always the first event that is sent. Note that this
140 For messages sent by user-space to the kernel, you must adjust the
144 This is sent when the HID device is stopped. Consider this as an answer to
155 This is sent when the HID device is opened. That is, the data that the HID
162 This is sent when there are no more processes which read the HID data. It is
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A DREADME107 num_tx_bytes = <number of bytes sent to device>
108 num_rx_bytes = <number of bytes received from device and sent to kernel>
109 num_tx_pkts = <number of packets sent to device>
110 num_rx_pkts = <number of packets received from device and sent to kernel>
121 wmm_ac_vo = <number of packets sent to device from WMM AcVo queue>
122 wmm_ac_vi = <number of packets sent to device from WMM AcVi queue>
123 wmm_ac_be = <number of packets sent to device from WMM AcBE queue>
124 wmm_ac_bk = <number of packets sent to device from WMM AcBK queue>
138 last_cmd_id = <command id of the last several commands sent to device>
139 last_cmd_act = <command action of the last several commands sent to device>
[all …]
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c597 ssize_t bytes, sent; in _test_server_run() local
615 sent = send(sk, buf, bytes, 0); in _test_server_run()
616 if (sent == 0) in _test_server_run()
618 if (sent != bytes) in _test_server_run()
665 size_t sent, bytes = min(msg_len, buf_sz - i); in test_client_loop() local
672 sent = send(sk, buf + i, bytes, 0); in test_client_loop()
673 if (sent == 0) in test_client_loop()
675 if (sent != bytes) in test_client_loop()
691 } while (bytes < sent); in test_client_loop()
692 if (bytes > sent) in test_client_loop()
[all …]

12345678910>>...24