/kernel/linux/linux-5.10/include/net/ |
D | codel_impl.h | 111 u32 skb_len; in codel_should_drop() local 118 skb_len = skb_len_func(skb); in codel_should_drop() 121 if (unlikely(skb_len > stats->maxpacket)) in codel_should_drop() 122 stats->maxpacket = skb_len; in codel_should_drop()
|
/kernel/linux/linux-5.10/net/nfc/hci/ |
D | hcp.c | 47 int skb_len, data_link_len; in nfc_hci_hcp_message_tx() local 57 skb_len = ndev->tx_headroom + NFC_HCI_HCP_PACKET_HEADER_LEN + in nfc_hci_hcp_message_tx() 61 skb = alloc_skb(skb_len, GFP_KERNEL); in nfc_hci_hcp_message_tx()
|
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
D | rx.c | 1251 unsigned num_pls, single_last, skb_len; in i2400m_rx() local 1253 skb_len = skb->len; in i2400m_rx() 1255 i2400m, skb, skb_len); in i2400m_rx() 1257 result = i2400m_rx_msg_hdr_check(i2400m, msg_hdr, skb_len); in i2400m_rx() 1265 if (pl_itr > skb_len) { /* got all the payload descriptors? */ in i2400m_rx() 1268 skb_len, num_pls, sizeof(msg_hdr->pld[0]), pl_itr); in i2400m_rx() 1276 pl_itr, skb_len); in i2400m_rx() 1294 i2400m->rx_size_acc += skb_len; in i2400m_rx() 1295 if (skb_len < i2400m->rx_size_min) in i2400m_rx() 1296 i2400m->rx_size_min = skb_len; in i2400m_rx() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/ |
D | rtl8723bs_recv.c | 244 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local 297 skb_len = pattrib->pkt_len; in rtl8723bs_recv_tasklet() 302 if (skb_len <= 1650) in rtl8723bs_recv_tasklet() 305 alloc_sz = skb_len + 14; in rtl8723bs_recv_tasklet() 307 alloc_sz = skb_len; in rtl8723bs_recv_tasklet() 324 memcpy(pkt_copy->data, (ptr + rx_report_sz + pattrib->shift_sz), skb_len); in rtl8723bs_recv_tasklet() 329 recvframe_put(precvframe, skb_len); in rtl8723bs_recv_tasklet()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | btrsi.c | 76 int skb_len = skb->len; in rsi_hci_send_pkt() local 81 memmove(skb->data, skb_data, skb_len); in rsi_hci_send_pkt() 82 skb_trim(skb, skb_len); in rsi_hci_send_pkt()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | tx.c | 328 unsigned int skb_len; in __efx_enqueue_skb() local 331 skb_len = skb->len; in __efx_enqueue_skb() 362 } else if (skb_len <= efx_piobuf_size && !xmit_more && in __efx_enqueue_skb() 370 } else if (skb->data_len && skb_len <= EFX_TX_CB_SIZE) { in __efx_enqueue_skb() 387 if (__netdev_tx_sent_queue(tx_queue->core_txq, skb_len, xmit_more)) in __efx_enqueue_skb()
|
/kernel/linux/linux-5.10/drivers/nfc/pn533/ |
D | pn533.c | 1040 unsigned int skb_len = 36 + /* in pn533_alloc_poll_tg_frame() local 1047 skb = pn533_alloc_skb(dev, skb_len); in pn533_alloc_poll_tg_frame() 1369 int rc, skb_len; in pn533_poll_dep() local 1384 skb_len = 3 + dev->gb_len; /* ActPass + BR + Next */ in pn533_poll_dep() 1385 skb_len += PASSIVE_DATA_LEN; in pn533_poll_dep() 1388 skb_len += NFC_NFCID3_MAXSIZE; in pn533_poll_dep() 1393 skb = pn533_alloc_skb(dev, skb_len); in pn533_poll_dep() 1999 int rc, skb_len; in pn533_dep_link_up() local 2017 skb_len = 3 + gb_len; /* ActPass + BR + Next */ in pn533_dep_link_up() 2018 skb_len += PASSIVE_DATA_LEN; in pn533_dep_link_up() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ipa/ |
D | ipa_modem.c | 91 u32 skb_len = skb->len; in ipa_start_xmit() local 94 if (!skb_len) in ipa_start_xmit() 109 stats->tx_bytes += skb_len; in ipa_start_xmit()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/ |
D | tx.c | 299 unsigned int skb_len; in ef4_enqueue_skb() local 301 skb_len = skb->len; in ef4_enqueue_skb() 304 if (skb_len < tx_queue->tx_min_size || in ef4_enqueue_skb() 305 (skb->data_len && skb_len <= EF4_TX_CB_SIZE)) { in ef4_enqueue_skb() 318 netdev_tx_sent_queue(tx_queue->core_txq, skb_len); in ef4_enqueue_skb()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/os_dep/ |
D | usb_ops_linux.c | 37 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local 103 skb_len = pattrib->pkt_len; in recvbuf2recvframe() 108 if (skb_len <= 1650) in recvbuf2recvframe() 111 alloc_sz = skb_len + 14; in recvbuf2recvframe() 113 alloc_sz = skb_len; in recvbuf2recvframe() 125 skb_put_data(pkt_copy, (pbuf + pattrib->drvinfo_sz + RXDESC_SIZE), skb_len); in recvbuf2recvframe()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | htc.c | 163 unsigned int skb_len; in ath10k_htc_send() local 175 skb_len = skb->len; in ath10k_htc_send() 176 ret = ath10k_htc_consume_credit(ep, skb_len, true); in ath10k_htc_send() 209 ath10k_htc_release_credit(ep, skb_len); in ath10k_htc_send() 634 unsigned int skb_len; in ath10k_htc_send_bundle() local 637 skb_len = bundle_skb->len; in ath10k_htc_send_bundle() 638 ret = ath10k_htc_consume_credit(ep, skb_len, true); in ath10k_htc_send_bundle() 648 ath10k_htc_release_credit(ep, skb_len); in ath10k_htc_send_bundle() 668 ret, ep->eid, skb_queue_len(&ep->tx_req_head), cn, skb_len); in ath10k_htc_send_bundle()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | net.h | 76 unsigned int skb_len), 78 TP_ARGS(skb, rc, dev, skb_len), 89 __entry->len = skb_len;
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | af_bluetooth.c | 391 int skb_len = skb_headlen(skb); in bt_sock_stream_recvmsg() local 393 if (chunk <= skb_len) { in bt_sock_stream_recvmsg() 398 __skb_pull(skb, skb_len); in bt_sock_stream_recvmsg() 399 chunk -= skb_len; in bt_sock_stream_recvmsg()
|
/kernel/linux/linux-5.10/drivers/nfc/st95hf/ |
D | core.c | 700 int skb_len; in st95hf_response_handler() local 714 skb_len = skb_resp->len; in st95hf_response_handler() 741 skb_trim(skb_resp, (skb_len - 5)); in st95hf_response_handler() 743 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler() 747 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | tdls.c | 636 u16 skb_len; in mwifiex_send_tdls_data_frame() local 638 skb_len = MWIFIEX_MIN_DATA_HEADER_LEN + in mwifiex_send_tdls_data_frame() 656 skb_len += sizeof(struct ieee_types_vht_cap) + in mwifiex_send_tdls_data_frame() 660 skb = dev_alloc_skb(skb_len); in mwifiex_send_tdls_data_frame() 819 u16 pkt_len, skb_len; in mwifiex_send_tdls_action_frame() local 821 skb_len = MWIFIEX_MIN_DATA_HEADER_LEN + in mwifiex_send_tdls_action_frame() 836 skb_len += sizeof(struct ieee_types_vht_cap) + in mwifiex_send_tdls_action_frame() 840 skb = dev_alloc_skb(skb_len); in mwifiex_send_tdls_action_frame()
|
/kernel/linux/linux-5.10/drivers/staging/most/net/ |
D | net.c | 436 unsigned int skb_len; in comp_rx_data() local 494 skb_len = skb->len; in comp_rx_data() 497 dev->stats.rx_bytes += skb_len; in comp_rx_data()
|
/kernel/linux/linux-5.10/drivers/atm/ |
D | fore200e.c | 1481 int skb_len; in fore200e_send() local 1508 skb_len = tx_len = skb->len - 4; in fore200e_send() 1516 skb_len = skb->len; in fore200e_send() 1523 tx_len = skb_len; in fore200e_send() 1526 if ((vcc->qos.aal == ATM_AAL0) && (skb_len % ATM_CELL_PAYLOAD)) { in fore200e_send() 1531 tx_len = ((skb_len / ATM_CELL_PAYLOAD) + 1) * ATM_CELL_PAYLOAD; in fore200e_send() 1546 memcpy(data, skb_data, skb_len); in fore200e_send() 1547 if (skb_len < tx_len) in fore200e_send() 1548 memset(data + skb_len, 0x00, tx_len - skb_len); in fore200e_send() 1622 tpd->tsd[0].length, skb_len); in fore200e_send() [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_misc_tcp_hdr_options.c | 140 if (tcp_hdrlen(th) < skops->skb_len) in check_active_hdr_in() 146 if (th->ack && !th->fin && tcp_hdrlen(th) == skops->skb_len) in check_active_hdr_in()
|
D | test_tcp_hdr_options.c | 368 if (skops->skb_len) in handle_hdr_opt_len() 392 if (skops->skb_len > tcp_hdrlen(th)) in handle_write_hdr_opt()
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
D | ks_hostif.c | 1060 unsigned int skb_len = 0; in hostif_data_request() local 1074 skb_len = skb->len; in hostif_data_request() 1075 if (skb_len > ETH_FRAME_LEN) { in hostif_data_request() 1076 netdev_err(priv->net_dev, "bad length skb_len=%d\n", skb_len); in hostif_data_request() 1098 size = sizeof(*pp) + 6 + skb_len + 8; in hostif_data_request() 1137 skb_len += 6; in hostif_data_request() 1142 skb_len -= 2; in hostif_data_request() 1176 &pp->data[0], skb_len, in hostif_data_request() 1183 skb_len += sizeof(mic); in hostif_data_request() 1202 cpu_to_le16((sizeof(*pp) - sizeof(pp->header.size) + skb_len)); in hostif_data_request() [all …]
|
/kernel/linux/linux-5.10/drivers/net/caif/ |
D | caif_virtio.c | 258 unsigned int skb_len; in cfv_rx_poll() local 294 skb_len = skb->len; in cfv_rx_poll() 303 cfv->ndev->stats.rx_bytes += skb_len; in cfv_rx_poll()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.c | 341 u32 skb_len, pkt_len, drvinfo_len; in _rtl_rx_process() local 355 skb_len = skb->len; in _rtl_rx_process() 359 WARN_ON(skb_len < (pkt_len + RTL_RX_DESC_SIZE + drvinfo_len)); in _rtl_rx_process()
|
/kernel/linux/linux-5.10/drivers/net/wireguard/ |
D | socket.c | 170 size_t skb_len = skb->len; in wg_socket_send_skb_to_peer() local 183 peer->tx_bytes += skb_len; in wg_socket_send_skb_to_peer()
|
/kernel/linux/linux-5.10/drivers/net/bonding/ |
D | bond_alb.c | 191 u32 skb_len) in __tlb_choose_channel() argument 221 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel() 227 u32 skb_len) in tlb_choose_channel() argument 236 tx_slave = __tlb_choose_channel(bond, hash_index, skb_len); in tlb_choose_channel()
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | aqc111.c | 1082 u32 skb_len = 0; in aqc111_rx_fixup() local 1090 skb_len = skb->len; in aqc111_rx_fixup() 1099 start_of_descs = skb_len - ((pkt_count + 1) * sizeof(desc_hdr)); in aqc111_rx_fixup() 1108 if (pkt_count * 2 + desc_offset >= skb_len) in aqc111_rx_fixup()
|