Home
last modified time | relevance | path

Searched refs:data_end (Results 1 – 25 of 42) sorted by relevance

12

/drivers/usb/core/
Ddevices.c445 char *pages_start, *data_end, *speed; in usb_device_dump() local
484 data_end = pages_start + sprintf(pages_start, format_topo, in usb_device_dump()
509 data_end += sprintf(data_end, format_bandwidth, in usb_device_dump()
517 data_end = usb_dump_desc(data_end, pages_start + (2 * PAGE_SIZE) - 256, in usb_device_dump()
520 if (data_end > (pages_start + (2 * PAGE_SIZE) - 256)) in usb_device_dump()
521 data_end += sprintf(data_end, "(truncated)\n"); in usb_device_dump()
523 length = data_end - pages_start; in usb_device_dump()
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c48 xdp->data_end = xdp->data + cqe_bcnt32; in mlx5e_xsk_skb_from_cqe_mpwrq_linear()
94 xdp->data_end = xdp->data + cqe_bcnt; in mlx5e_xsk_skb_from_cqe_linear()
/drivers/net/ethernet/intel/i40e/
Di40e_ddp.c131 sec->data_end = sizeof(struct i40e_profile_section_header) + in i40e_add_pinfo()
146 status = i40e_aq_write_ddp(hw, (void *)sec, sec->data_end, in i40e_add_pinfo()
171 sec->data_end = sizeof(struct i40e_profile_section_header) + in i40e_del_pinfo()
186 status = i40e_aq_write_ddp(hw, (void *)sec, sec->data_end, in i40e_del_pinfo()
Di40e_xsk.c297 unsigned int totalsize = xdp->data_end - xdp->data_meta; in i40e_construct_skb_zc()
423 bi->data_end = bi->data + size; in i40e_clean_rx_irq_zc()
Di40e_txrx.c2096 unsigned int size = xdp->data_end - xdp->data; in i40e_construct_skb()
2180 SKB_DATA_ALIGN(xdp->data_end - in i40e_build_skb()
2199 __skb_put(skb, xdp->data_end - xdp->data); in i40e_build_skb()
Di40e_type.h1500 u16 data_end; member
/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c107 u16 data_end; in ice_pkg_val_buf() local
115 data_end = le16_to_cpu(hdr->data_end); in ice_pkg_val_buf()
116 if (data_end < ICE_MIN_S_DATA_END || data_end > ICE_MAX_S_DATA_END) in ice_pkg_val_buf()
909 status = ice_aq_update_pkg(hw, bh, le16_to_cpu(bh->data_end), in ice_update_pkg()
1482 buf->data_end = cpu_to_le16(offsetof(struct ice_buf_hdr, in ice_pkg_buf_alloc()
1517 u16 data_end; in ice_pkg_buf_reserve_section() local
1533 data_end = le16_to_cpu(buf->data_end) + in ice_pkg_buf_reserve_section()
1535 buf->data_end = cpu_to_le16(data_end); in ice_pkg_buf_reserve_section()
1557 u16 data_end; in ice_pkg_buf_alloc_section() local
1565 data_end = le16_to_cpu(buf->data_end); in ice_pkg_buf_alloc_section()
[all …]
Dice_xsk.c451 unsigned int datasize = xdp->data_end - xdp->data; in ice_construct_skb_zc()
452 unsigned int datasize_hard = xdp->data_end - xdp->data_hard_start; in ice_construct_skb_zc()
564 (*xdp)->data_end = (*xdp)->data + size; in ice_clean_rx_irq_zc()
Dice_txrx.c899 SKB_DATA_ALIGN(xdp->data_end - in ice_build_skb()
922 __skb_put(skb, xdp->data_end - xdp->data); in ice_build_skb()
946 unsigned int size = xdp->data_end - xdp->data; in ice_construct_skb()
1129 xdp.data_end = NULL; in ice_clean_rx_irq()
Dice_flex_type.h103 __le16 data_end; member
/drivers/gpu/drm/etnaviv/
Detnaviv_dump.c68 u32 type, void *data_end) in etnaviv_core_dump_header() argument
75 hdr->file_size = cpu_to_le32(data_end - iter->data); in etnaviv_core_dump_header()
/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-dump.c46 const void *data_end) in mcp251xfd_dump_header() argument
51 len = data_end - iter->data; in mcp251xfd_dump_header()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_xsk.c206 unsigned int totalsize = xdp->data_end - xdp->data_meta; in ixgbe_construct_skb_zc()
296 bi->xdp->data_end = bi->xdp->data + size; in ixgbe_clean_rx_irq_zc()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c152 *len = xdp.data_end - xdp.data; in bnxt_rx_xdp()
/drivers/net/ethernet/socionext/
Dnetsec.c902 unsigned int sync, len = xdp->data_end - xdp->data; in netsec_run_xdp()
911 sync = xdp->data_end - xdp->data_hard_start - NETSEC_RXBUF_HEADROOM; in netsec_run_xdp()
1050 skb_put(skb, xdp.data_end - xdp.data); in netsec_process_rx()
1062 ndev->stats.rx_bytes += xdp.data_end - xdp.data; in netsec_process_rx()
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c135 *len = xdp->data_end - xdp->data; in mlx5e_xdp_handle()
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c854 unsigned int size = xdp->data_end - xdp->data; in ixgbevf_construct_skb()
858 unsigned int truesize = SKB_DATA_ALIGN(xdp->data_end - in ixgbevf_construct_skb()
934 SKB_DATA_ALIGN(xdp->data_end - in ixgbevf_build_skb()
953 __skb_put(skb, xdp->data_end - xdp->data); in ixgbevf_build_skb()
980 len = xdp->data_end - xdp->data; in ixgbevf_xmit_xdp_ring()
/drivers/net/
Dveth.c775 orig_data_end = xdp.data_end; in veth_xdp_rcv_skb()
827 off = xdp.data_end - orig_data_end; in veth_xdp_rcv_skb()
Dtun.c1708 len = xdp.data_end - xdp.data; in tun_build_skb()
2412 unsigned int datasize = xdp->data_end - xdp->data; in tun_xdp_one()
2469 skb_put(skb, xdp->data_end - xdp->data); in tun_xdp_one()
/drivers/net/ethernet/qlogic/qed/
Dqed_main.c2676 const u8 *data, *data_end; in qed_nvm_flash() local
2690 data_end = data + image->size; in qed_nvm_flash()
2696 while (data < data_end) { in qed_nvm_flash()
/drivers/net/ethernet/marvell/
Dmvneta.c2184 len = xdp->data_end - xdp->data_hard_start - pp->rx_offset_correction; in mvneta_run_xdp()
2185 data_len = xdp->data_end - xdp->data; in mvneta_run_xdp()
2189 sync = xdp->data_end - xdp->data_hard_start - pp->rx_offset_correction; in mvneta_run_xdp()
2227 stats->rx_bytes += frame_sz + xdp->data_end - xdp->data - data_len; in mvneta_run_xdp()
2333 skb_put(skb, xdp->data_end - xdp->data); in mvneta_swbm_build_skb()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c4817 unsigned int datasize = xdp->data_end - xdp->data; in stmmac_construct_skb_zc()
4821 xdp->data_end - xdp->data_hard_start, in stmmac_construct_skb_zc()
4839 unsigned int len = xdp->data_end - xdp->data; in stmmac_dispatch_skb_zc()
5061 buf->xdp->data_end = buf->xdp->data + buf1_len; in stmmac_rx_zc()
5260 pre_len = xdp.data_end - xdp.data_hard_start - in stmmac_rx()
5266 sync_len = xdp.data_end - xdp.data_hard_start - in stmmac_rx()
5304 buf1_len = xdp.data_end - xdp.data; in stmmac_rx()
/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c2664 case offsetof(struct __sk_buff, data_end): in mem_ldx_skb()
2665 if (size != sizeof_field(struct __sk_buff, data_end)) in mem_ldx_skb()
2690 case offsetof(struct xdp_md, data_end): in mem_ldx_xdp()
2691 if (size != sizeof_field(struct xdp_md, data_end)) in mem_ldx_xdp()
/drivers/net/bonding/
Dbond_main.c3929 if (xdp->data + sizeof(struct ethhdr) > xdp->data_end) in bond_xmit_hash_xdp()
3935 sizeof(struct ethhdr), xdp->data_end - xdp->data); in bond_xmit_hash_xdp()
4618 if (data + sizeof(struct ethhdr) > xdp->data_end) in bond_xdp_xmit_roundrobin_slave_get()
4628 if (data + sizeof(struct iphdr) > xdp->data_end) in bond_xdp_xmit_roundrobin_slave_get()
/drivers/net/ethernet/broadcom/
Dbnx2.c4579 u32 page_start, page_end, data_start, data_end; in bnx2_nvram_write() local
4591 data_end = (page_end > offset32 + len32) ? in bnx2_nvram_write()
4652 for (addr = data_start; addr < data_end; addr += 4, i += 4) { in bnx2_nvram_write()
4655 (addr == data_end - 4))) { in bnx2_nvram_write()
4672 for (addr = data_end; addr < page_end; in bnx2_nvram_write()
4696 written += data_end - data_start; in bnx2_nvram_write()

12