Home
last modified time | relevance | path

Searched refs:container_of (Results 1 – 25 of 75) sorted by relevance

123

/dpdk/drivers/bus/dpaa/base/fman/
H A Dfman_hw.c38 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_set_mcast_filter_table()
50 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_reset_mcast_filter_table()
89 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_add_hash_mac_addr()
108 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_get_primary_mac_addr()
130 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_clear_mac_addr()
151 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_add_mac_addr()
186 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_set_rx_ignore_pause_frames()
205 struct __fman_if *__if = container_of(p, struct __fman_if, __if); in fman_if_conf_max_frame_len()
218 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_stats_get()
241 struct __fman_if *m = container_of(p, struct __fman_if, __if); in fman_if_stats_get_all()
[all …]
/dpdk/drivers/net/mlx5/
H A Dmlx5_rxtx_vec_neon.h807 (container_of(p0, struct mlx5_cqe, in rxq_cq_process_v()
812 (container_of(p1, struct mlx5_cqe, in rxq_cq_process_v()
817 (container_of(p2, struct mlx5_cqe, in rxq_cq_process_v()
828 rte_be_to_cpu_64(container_of(p0, in rxq_cq_process_v()
831 rte_be_to_cpu_64(container_of(p1, in rxq_cq_process_v()
834 rte_be_to_cpu_64(container_of(p2, in rxq_cq_process_v()
837 rte_be_to_cpu_64(container_of(p3, in rxq_cq_process_v()
847 rte_be_to_cpu_32(container_of in rxq_cq_process_v()
851 rte_be_to_cpu_32(container_of in rxq_cq_process_v()
855 rte_be_to_cpu_32(container_of in rxq_cq_process_v()
[all …]
H A Dmlx5_txq.c192 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_queue_stop_primary()
265 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_queue_start_primary()
390 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_queue_setup()
431 container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_hairpin_queue_setup()
633 txq_ctrl = container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_uar_init_secondary()
648 txq_ctrl = container_of(txq, struct mlx5_txq_ctrl, txq); in mlx5_tx_uar_init_secondary()
1178 ctrl = container_of(txq_data, struct mlx5_txq_ctrl, txq); in mlx5_txq_get()
1203 txq_ctrl = container_of((*priv->txqs)[idx], struct mlx5_txq_ctrl, txq); in mlx5_txq_release()
1249 txq = container_of((*priv->txqs)[idx], struct mlx5_txq_ctrl, txq); in mlx5_txq_releasable()
/dpdk/drivers/event/dlb2/pf/base/
H A Ddlb2_osdep_list.h26 && (ptr = container_of(iter, typeof(*(ptr)), name)); \
34 (ptr = container_of(iter, typeof(*(ptr)), name)) &&\
105 container_of(TAILQ_FIRST(&head), type, name) : \
H A Ddlb2_osdep.h200 dlb2_dev = container_of(hw, struct dlb2_dev, hw); in os_schedule_work()
227 dlb2_dev = container_of(hw, struct dlb2_dev, hw); in os_worker_active()
/dpdk/drivers/crypto/mvsam/
H A Drte_mrvl_compat.h15 #ifdef container_of
16 #undef container_of
/dpdk/drivers/crypto/mlx5/
H A Dmlx5_crypto_dek.c44 container_of(entry, struct mlx5_crypto_dek, entry); in mlx5_crypto_dek_prepare()
68 struct mlx5_crypto_dek *dek = container_of(entry, in mlx5_crypto_dek_clone_free_cb()
81 container_of(entry, typeof(*dek), entry); in mlx5_crypto_dek_match_cb()
135 container_of(entry, typeof(*dek), entry); in mlx5_crypto_dek_remove_cb()
/dpdk/drivers/net/mvneta/
H A Dmvneta_ethdev.h20 #ifdef container_of
21 #undef container_of
/dpdk/drivers/bus/auxiliary/
H A Drte_bus_auxiliary.h142 container_of(ptr, struct rte_auxiliary_device, device)
145 container_of(ptr, const struct rte_auxiliary_device, device)
/dpdk/drivers/raw/ifpga/base/
H A Difpga_compat.h10 #undef container_of
11 #define container_of(ptr, type, member) ({ \ macro
/dpdk/drivers/bus/vdev/
H A Drte_bus_vdev.h31 container_of(ptr, struct rte_vdev_device, device)
34 container_of(ptr, const struct rte_vdev_device, device)
H A Dvdev.c154 driver = container_of(vdev->device.driver, const struct rte_vdev_driver, in vdev_dma_map()
179 driver = container_of(vdev->device.driver, const struct rte_vdev_driver, in vdev_dma_unmap()
350 driver = container_of(dev->device.driver, const struct rte_vdev_driver, in vdev_remove_driver()
/dpdk/drivers/net/ice/base/
H A Dice_osdep.h366 container_of((head)->lh_first, struct type, member) : \
370 container_of((pos)->member.next.le_next, struct type, \
376 container_of((head)->lh_first, struct type, member) : \
379 container_of((pos)->member.next.le_next, struct type, \
385 container_of((pos)->member.next.le_next, struct type, \
/dpdk/drivers/net/sfc/
H A Dsfc_dp_rx.h261 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_rx, dp); in sfc_dp_find_rx_by_name()
269 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_rx, dp); in sfc_dp_find_rx_by_caps()
H A Dsfc_dp_tx.h204 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_tx, dp); in sfc_dp_find_tx_by_name()
212 return (p == NULL) ? NULL : container_of(p, struct sfc_dp_tx, dp); in sfc_dp_find_tx_by_caps()
/dpdk/drivers/bus/pci/
H A Drte_bus_pci.h85 #define RTE_DEV_TO_PCI(ptr) container_of(ptr, struct rte_pci_device, device)
88 container_of(ptr, const struct rte_pci_device, device)
/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.h21 #ifdef container_of
22 #undef container_of
/dpdk/drivers/bus/dpaa/
H A Drte_dpaa_bus.h51 container_of(ptr, struct rte_dpaa_device, device)
69 container_of(ptr, const struct rte_dpaa_device, device)
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_compat.h138 #ifndef container_of
139 #define container_of(ptr, type, member) ({ \ macro
/dpdk/drivers/net/ionic/
H A Dionic_lif.h101 #define IONIC_Q_TO_QCQ(_q) container_of(_q, struct ionic_qcq, q)
102 #define IONIC_CQ_TO_QCQ(_cq) container_of(_cq, struct ionic_qcq, cq)
/dpdk/lib/lpm/
H A Drte_lpm.c261 i_lpm = container_of(lpm, struct __rte_lpm, lpm); in rte_lpm_free()
312 i_lpm = container_of(lpm, struct __rte_lpm, lpm); in rte_lpm_rcu_qsbr_add()
810 i_lpm = container_of(lpm, struct __rte_lpm, lpm); in rte_lpm_add()
864 i_lpm = container_of(lpm, struct __rte_lpm, lpm); in rte_lpm_is_rule_present()
1157 i_lpm = container_of(lpm, struct __rte_lpm, lpm); in rte_lpm_delete()
1205 i_lpm = container_of(lpm, struct __rte_lpm, lpm); in rte_lpm_delete_all()
/dpdk/drivers/net/ice/
H A Dice_dcf_parent.c123 container_of(hw, struct ice_dcf_adapter, real_hw); in ice_dcf_vsi_update_service_handler()
231 container_of(dcf_hw, struct ice_dcf_adapter, real_hw); in ice_dcf_handle_pf_event_msg()
391 container_of(&adapter->hw, struct ice_dcf_adapter, parent.hw); in ice_dcf_load_pkg()
/dpdk/drivers/bus/ifpga/
H A Drte_bus_ifpga.h92 container_of(ptr, struct rte_afu_device, device)
/dpdk/drivers/net/virtio/
H A Dvirtio_pci.h116 #define virtio_pci_get_dev(hwp) container_of(hwp, struct virtio_pci_dev, hw)
/dpdk/drivers/net/dpaa/
H A Ddpaa_ethdev.c211 dpaa_dev = container_of(rdev, struct rte_dpaa_device, device); in dpaa_eth_dev_configure()
213 __fif = container_of(fif, struct __fman_if, __if); in dpaa_eth_dev_configure()
382 dpaa_dev = container_of(rdev, struct rte_dpaa_device, device); in dpaa_interrupt_handler()
458 dpaa_dev = container_of(rdev, struct rte_dpaa_device, device); in dpaa_eth_dev_close()
460 __fif = container_of(fif, struct __fman_if, __if); in dpaa_eth_dev_close()
669 struct __fman_if *__fif = container_of(fif, struct __fman_if, __if); in dpaa_eth_link_update()
1094 dpaa_dev = container_of(rdev, struct rte_dpaa_device, in dpaa_eth_rx_queue_setup()
1289 __fif = container_of(fif, struct __fman_if, __if); in dpaa_link_down()
1305 __fif = container_of(fif, struct __fman_if, __if); in dpaa_link_up()

123