Home
last modified time | relevance | path

Searched refs:skb_len (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.3-rc2/net/nfc/hci/
A Dhcp.c47 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()
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dtest_check_mtu.c180 __u32 skb_len = ctx->len; in tc_exceed_mtu() local
186 delta = GLOBAL_USER_MTU - (skb_len - ETH_HLEN) + 1; in tc_exceed_mtu()
231 __u32 skb_len = ctx->len; in tc_minus_delta() local
236 delta = -((skb_len - ETH_HLEN) + 1); in tc_minus_delta()
A Dtest_misc_tcp_hdr_options.c141 if (tcp_hdrlen(th) < skops->skb_len) in check_active_hdr_in()
147 if (th->ack && !th->fin && tcp_hdrlen(th) == skops->skb_len) in check_active_hdr_in()
A Dtest_tcp_hdr_options.c368 if (skops->skb_len) in handle_hdr_opt_len()
392 if (skops->skb_len > tcp_hdrlen(th)) in handle_write_hdr_opt()
/linux-6.3-rc2/include/net/
A Dcodel_impl.h115 u32 skb_len; in codel_should_drop() local
122 skb_len = skb_len_func(skb); in codel_should_drop()
125 if (unlikely(skb_len > stats->maxpacket)) in codel_should_drop()
126 stats->maxpacket = skb_len; in codel_should_drop()
/linux-6.3-rc2/drivers/staging/rtl8723bs/hal/
A Drtl8723bs_recv.c230 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local
280 skb_len = pattrib->pkt_len; in rtl8723bs_recv_tasklet()
285 if (skb_len <= 1650) in rtl8723bs_recv_tasklet()
288 alloc_sz = skb_len + 14; in rtl8723bs_recv_tasklet()
290 alloc_sz = skb_len; in rtl8723bs_recv_tasklet()
306 memcpy(pkt_copy->data, (ptr + rx_report_sz + pattrib->shift_sz), skb_len); in rtl8723bs_recv_tasklet()
311 recvframe_put(precvframe, skb_len); in rtl8723bs_recv_tasklet()
/linux-6.3-rc2/drivers/bluetooth/
A Dbtrsi.c75 int skb_len = skb->len; in rsi_hci_send_pkt() local
80 memmove(skb->data, skb_data, skb_len); in rsi_hci_send_pkt()
81 skb_trim(skb, skb_len); in rsi_hci_send_pkt()
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dtx.c146 unsigned int skb_len; in __efx_siena_enqueue_skb() local
149 skb_len = skb->len; in __efx_siena_enqueue_skb()
164 } else if (skb->data_len && skb_len <= EFX_TX_CB_SIZE) { in __efx_siena_enqueue_skb()
181 if (__netdev_tx_sent_queue(tx_queue->core_txq, skb_len, xmit_more)) in __efx_siena_enqueue_skb()
/linux-6.3-rc2/drivers/net/wwan/t7xx/
A Dt7xx_netdev.c134 int skb_len = skb->len; in t7xx_ccmni_start_xmit() local
147 dev->stats.tx_bytes += skb_len; in t7xx_ccmni_start_xmit()
411 int pkt_type, skb_len; in t7xx_ccmni_recv_skb() local
430 skb_len = skb->len; in t7xx_ccmni_recv_skb()
433 net_dev->stats.rx_bytes += skb_len; in t7xx_ccmni_recv_skb()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Dtx.c328 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()
/linux-6.3-rc2/drivers/nfc/pn533/
A Dpn533.c1032 unsigned int skb_len = 36 + /* in pn533_alloc_poll_tg_frame() local
1345 int rc, skb_len; in pn533_poll_dep() local
1359 skb_len += PASSIVE_DATA_LEN; in pn533_poll_dep()
1362 skb_len += NFC_NFCID3_MAXSIZE; in pn533_poll_dep()
1965 int rc, skb_len; in pn533_dep_link_up() local
1982 skb_len += PASSIVE_DATA_LEN; in pn533_dep_link_up()
1985 skb_len += NFC_NFCID3_MAXSIZE; in pn533_dep_link_up()
2078 skb_len += tmp->len; in pn533_build_response()
2081 __func__, skb_len); in pn533_build_response()
2087 skb_put(skb, skb_len); in pn533_build_response()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/
A Dtx.c300 unsigned int skb_len; in ef4_enqueue_skb() local
302 skb_len = skb->len; in ef4_enqueue_skb()
305 if (skb_len < tx_queue->tx_min_size || in ef4_enqueue_skb()
306 (skb->data_len && skb_len <= EF4_TX_CB_SIZE)) { in ef4_enqueue_skb()
319 netdev_tx_sent_queue(tx_queue->core_txq, skb_len); in ef4_enqueue_skb()
/linux-6.3-rc2/include/trace/events/
A Dnet.h76 unsigned int skb_len),
78 TP_ARGS(skb, rc, dev, skb_len),
89 __entry->len = skb_len;
/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dhtc.c172 unsigned int skb_len; in ath10k_htc_send() local
184 skb_len = skb->len; in ath10k_htc_send()
185 ret = ath10k_htc_consume_credit(ep, skb_len, true); in ath10k_htc_send()
218 ath10k_htc_release_credit(ep, skb_len); in ath10k_htc_send()
647 unsigned int skb_len; in ath10k_htc_send_bundle() local
650 skb_len = bundle_skb->len; in ath10k_htc_send_bundle()
651 ret = ath10k_htc_consume_credit(ep, skb_len, true); in ath10k_htc_send_bundle()
661 ath10k_htc_release_credit(ep, skb_len); in ath10k_htc_send_bundle()
681 ret, ep->eid, skb_queue_len(&ep->tx_req_head), cn, skb_len); in ath10k_htc_send_bundle()
/linux-6.3-rc2/drivers/net/ipa/
A Dipa_modem.c124 u32 skb_len = skb->len; in ipa_start_xmit() local
128 if (!skb_len) in ipa_start_xmit()
171 stats->tx_bytes += skb_len; in ipa_start_xmit()
/linux-6.3-rc2/net/bluetooth/
A Daf_bluetooth.c392 int skb_len = skb_headlen(skb); in bt_sock_stream_recvmsg() local
394 if (chunk <= skb_len) { in bt_sock_stream_recvmsg()
399 __skb_pull(skb, skb_len); in bt_sock_stream_recvmsg()
400 chunk -= skb_len; in bt_sock_stream_recvmsg()
/linux-6.3-rc2/drivers/nfc/st95hf/
A Dcore.c699 int skb_len; in st95hf_response_handler() local
713 skb_len = skb_resp->len; in st95hf_response_handler()
740 skb_trim(skb_resp, (skb_len - 5)); in st95hf_response_handler()
742 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
746 skb_trim(skb_resp, (skb_len - 3)); in st95hf_response_handler()
/linux-6.3-rc2/drivers/net/wireless/marvell/mwifiex/
A Dtdls.c636 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()
/linux-6.3-rc2/drivers/atm/
A Dfore200e.c1479 int skb_len; in fore200e_send() local
1506 skb_len = tx_len = skb->len - 4; in fore200e_send()
1514 skb_len = skb->len; in fore200e_send()
1521 tx_len = skb_len; in fore200e_send()
1544 memcpy(data, skb_data, skb_len); in fore200e_send()
1545 if (skb_len < tx_len) in fore200e_send()
1546 memset(data + skb_len, 0x00, tx_len - skb_len); in fore200e_send()
1620 tpd->tsd[0].length, skb_len); in fore200e_send()
1622 if (skb_len < fore200e_vcc->tx_min_pdu) in fore200e_send()
1623 fore200e_vcc->tx_min_pdu = skb_len; in fore200e_send()
[all …]
/linux-6.3-rc2/drivers/staging/most/net/
A Dnet.c436 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()
/linux-6.3-rc2/drivers/staging/ks7010/
A Dks_hostif.c1052 unsigned int skb_len = 0; in hostif_data_request() local
1066 skb_len = skb->len; in hostif_data_request()
1067 if (skb_len > ETH_FRAME_LEN) { in hostif_data_request()
1068 netdev_err(priv->net_dev, "bad length skb_len=%d\n", skb_len); in hostif_data_request()
1090 size = sizeof(*pp) + 6 + skb_len + 8; in hostif_data_request()
1129 skb_len += 6; in hostif_data_request()
1134 skb_len -= 2; in hostif_data_request()
1168 &pp->data[0], skb_len, in hostif_data_request()
1175 skb_len += sizeof(mic); in hostif_data_request()
1194 cpu_to_le16((sizeof(*pp) - sizeof(pp->header.size) + skb_len)); in hostif_data_request()
[all …]
/linux-6.3-rc2/drivers/net/caif/
A Dcaif_virtio.c258 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()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dtrx.c341 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()
/linux-6.3-rc2/drivers/net/wireguard/
A Dsocket.c170 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()
/linux-6.3-rc2/drivers/net/bonding/
A Dbond_alb.c192 u32 skb_len) in __tlb_choose_channel() argument
222 hash_table[hash_index].tx_bytes += skb_len; in __tlb_choose_channel()
228 u32 skb_len) in tlb_choose_channel() argument
237 tx_slave = __tlb_choose_channel(bond, hash_index, skb_len); in tlb_choose_channel()

Completed in 58 milliseconds

123