| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sockmap_strp.c | 171 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 D | sockmap_ktls.c | 137 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 …]
|
| H A D | sockmap_basic.c | 542 int expected, zero = 0, sent, recvd, avail; in test_sockmap_skb_verdict_fionread() local 577 sent = xsend(p1, &buf, sizeof(buf), 0); in test_sockmap_skb_verdict_fionread() 578 ASSERT_EQ(sent, sizeof(buf), "xsend(p0)"); in test_sockmap_skb_verdict_fionread() 604 int c1, p1, sent, recvd; in test_sockmap_skb_verdict_change_tail() local 623 sent = xsend(p1, "Tr", 2, 0); in test_sockmap_skb_verdict_change_tail() 624 ASSERT_EQ(sent, 2, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail() 629 sent = xsend(p1, "G", 1, 0); in test_sockmap_skb_verdict_change_tail() 630 ASSERT_EQ(sent, 1, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail() 635 sent = xsend(p1, "E", 1, 0); in test_sockmap_skb_verdict_change_tail() 636 ASSERT_EQ(sent, 1, "xsend(p1)"); in test_sockmap_skb_verdict_change_tail() [all …]
|
| /linux/include/trace/events/ |
| H A D | xdp.h | 57 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 D | exynos-iommu.c | 45 #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 D | x25_out.c | 52 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 D | notifier.rst | 15 - 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 D | userio.rst | 27 /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/net/smc/ |
| H A D | smc_tx.h | 23 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()
|
| /linux/Documentation/ABI/testing/ |
| H A D | debugfs-scmi-raw | 7 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 D | sysfs-timecard | 36 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 …]
|
| H A D | sysfs-bus-iio-chemical-sgp40 | 6 Set the temperature. This value is sent to the sensor for 15 Set the relative humidity. This value is sent to the sensor for
|
| /linux/net/bluetooth/ |
| H A D | hci_event.c | 210 void *sent; in hci_cc_write_link_policy() local 217 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_LINK_POLICY); in hci_cc_write_link_policy() 218 if (!sent) in hci_cc_write_link_policy() 225 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy() 251 void *sent; in hci_cc_write_def_link_policy() local 258 sent = hci_sent_cmd_data(hdev, HCI_OP_WRITE_DEF_LINK_POLICY); in hci_cc_write_def_link_policy() 259 if (!sent) in hci_cc_write_def_link_policy() 262 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy() 306 struct hci_cp_read_stored_link_key *sent; in hci_cc_read_stored_link_key() local 310 sent = hci_sent_cmd_data(hdev, HCI_OP_READ_STORED_LINK_KEY); in hci_cc_read_stored_link_key() [all …]
|
| H A D | hci_codec.c | 10 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/drivers/bluetooth/ |
| H A D | ath3k.c | 207 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/net/vmw_vsock/ |
| H A D | vmci_transport_notify.c | 121 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 D | hid-transport.rst | 100 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 D | uhid.rst | 39 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 D | README | 107 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 D | sock.c | 597 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 …]
|
| /linux/net/hsr/ |
| H A D | Kconfig | 18 with other HSR capable nodes. All Ethernet frames sent over the HSR 19 device will be sent in both directions on the ring (over both slave 26 frames sent over the PRP device will be sent to both networks giving
|
| /linux/Documentation/networking/device_drivers/cellular/qualcomm/ |
| H A D | rmnet.rst | 47 Reserved bits must be zero when sent and ignored when received. 52 Multiplexer ID is to indicate the PDN on which data has to be sent. 74 Reserved bits must be zero when sent and ignored when received. 79 Multiplexer ID is to indicate the PDN on which data has to be sent. 95 Reserved bits must be zero when sent and ignored when received. 134 Multiplexer ID is to indicate the PDN on which data has to be sent. 163 Reserved bits must be zero when sent and ignored when received.
|
| /linux/samples/bpf/ |
| H A D | xdp_sample.bpf.c | 207 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument 225 NO_TEAR_ADD(rec->processed, sent); in BPF_PROG() 238 const struct net_device *to_dev, int sent, int drops, int err) in BPF_PROG() argument 260 NO_TEAR_ADD(rec->processed, sent); in BPF_PROG()
|
| /linux/Documentation/i2c/ |
| H A D | i2c-protocol.rst | 20 [..] Data sent by I2C device, as opposed to data sent by the 47 condition P a start condition S is sent and the transaction continues. 63 message is sent.
|
| /linux/Documentation/networking/ |
| H A D | ipsec.rst | 21 payload, the IP datagram MUST be sent in the original non-compressed 22 form. To clarify: If an IP datagram is sent non-compressed, no 31 where IP datagrams of size smaller than the threshold are sent in the
|