Home
last modified time | relevance | path

Searched refs:LIST_FIRST (Results 1 – 25 of 31) sorted by relevance

12

/dpdk/lib/eal/windows/include/sys/
H A Dqueue.h451 if (LIST_FIRST((head)) != NULL && \
453 &LIST_FIRST((head))) \
488 if ((LIST_FIRST(head1) = LIST_FIRST(head2)) != NULL) { \
490 &LIST_FIRST((head1)); \
504 #define LIST_FIRST(head) ((head)->lh_first) macro
507 for ((var) = LIST_FIRST((head)); \
517 for ((var) = LIST_FIRST((head)); \
527 LIST_FIRST((head)) = NULL; \
551 LIST_FIRST((head)) = (elm); \
577 LIST_FIRST((head1)) = LIST_FIRST((head2)); \
[all …]
/dpdk/lib/eal/freebsd/
H A Deal_alarm.c127 ap = LIST_FIRST(&alarm_list); in eal_alarm_get_timeout_ns()
141 ap = LIST_FIRST(&alarm_list); in unregister_current_callback()
159 ap = LIST_FIRST(&alarm_list); in register_first_callback()
175 ap = LIST_FIRST(&alarm_list); in eal_alarm_callback()
192 ap = LIST_FIRST(&alarm_list); in eal_alarm_callback()
272 ap = LIST_FIRST(&alarm_list); in rte_eal_alarm_cancel()
/dpdk/lib/eal/linux/
H A Deal_alarm.c95 while ((ap = LIST_FIRST(&alarm_list)) !=NULL && in eal_alarm_callback()
114 ap = LIST_FIRST(&alarm_list); in eal_alarm_callback()
176 if (LIST_FIRST(&alarm_list) == new_alarm) { in rte_eal_alarm_set()
209 while ((ap = LIST_FIRST(&alarm_list)) != NULL && in rte_eal_alarm_cancel()
/dpdk/drivers/net/mlx4/
H A Dmlx4_flow.c1155 struct rte_flow *curr = LIST_FIRST(&priv->flows); in mlx4_flow_create()
1235 struct rte_flow *flow = LIST_FIRST(&priv->flows); in mlx4_flow_flush()
1406 for (flow = LIST_FIRST(&priv->flows); in mlx4_flow_internal()
1462 for (flow = LIST_FIRST(&priv->flows); in mlx4_flow_internal()
1504 flow = LIST_FIRST(&priv->flows); in mlx4_flow_internal()
1545 for (flow = LIST_FIRST(&priv->flows); in mlx4_flow_sync()
1547 flow = LIST_FIRST(&priv->flows)) in mlx4_flow_sync()
1581 while ((flow = LIST_FIRST(&priv->flows))) in mlx4_flow_clean()
H A Dmlx4_mr.c503 mr_next = LIST_FIRST(&free_list); in mlx4_mr_garbage_collect()
1442 mr_next = LIST_FIRST(&priv->mr.mr_list); in mlx4_mr_release()
/dpdk/drivers/common/mlx5/
H A Dmlx5_common_utils.c78 LIST_FIRST(&l_inconst->cache[lcore_index]->h); in __list_lookup()
153 struct mlx5_list_entry *entry = LIST_FIRST(&c->h); in __list_cache_clean()
355 entry = LIST_FIRST(&l_inconst->cache[i]->h); in mlx5_list_uninit()
H A Dmlx5_common_mr.c562 mr_next = LIST_FIRST(&free_list); in mlx5_mr_garbage_collect()
1031 mr_next = LIST_FIRST(&share_cache->mr_list); in mlx5_mr_release_cache()
/dpdk/drivers/net/ionic/
H A Dionic_rx_filter.c45 f = LIST_FIRST(&lif->rx_filters.by_id[i]); in ionic_rx_filters_deinit()
/dpdk/drivers/net/mvpp2/
H A Dmrvl_mtr.c508 for (mtr = LIST_FIRST(&priv->mtrs); in mrvl_mtr_deinit()
513 for (profile = LIST_FIRST(&priv->profiles); in mrvl_mtr_deinit()
H A Dmrvl_tm.c94 LIST_FIRST(&priv->shaper_profiles); in mrvl_tm_deinit()
95 struct mrvl_tm_node *node = LIST_FIRST(&priv->nodes); in mrvl_tm_deinit()
H A Dmrvl_flow.c1751 first = LIST_FIRST(&priv->flows); in mrvl_flow_create()
1907 struct rte_flow *flow = LIST_FIRST(&priv->flows); in mrvl_flow_flush()
/dpdk/drivers/net/tap/
H A Dtap_flow.c1596 remote_flow = LIST_FIRST(&pmd->implicit_flows); in tap_flow_isolate()
1654 flow = LIST_FIRST(&pmd->flows); in tap_flow_flush()
1786 for (remote_flow = LIST_FIRST(&pmd->implicit_flows); in tap_flow_implicit_destroy()
1808 remote_flow = LIST_FIRST(&pmd->implicit_flows); in tap_flow_implicit_flush()
/dpdk/lib/eal/common/
H A Dmalloc_heap.c158 for (elem = LIST_FIRST(&heap->free_head[idx]); in find_suitable_element()
191 for (elem = LIST_FIRST(&heap->free_head[idx]); in find_biggest_element()
1112 for (elem = LIST_FIRST(&heap->free_head[idx]); in malloc_heap_get_stats()
/dpdk/lib/hash/
H A Drte_thash.c347 ent = LIST_FIRST(&(ctx->head)); in rte_thash_free_ctx()
584 cur_ent = LIST_FIRST(&ctx->head); in rte_thash_add_helper()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_tm.c36 LIST_FIRST(&priv->shaper_profiles); in dpaa2_tm_deinit()
37 struct dpaa2_tm_node *node = LIST_FIRST(&priv->nodes); in dpaa2_tm_deinit()
H A Ddpaa2_flow.c2971 struct rte_flow *curr = LIST_FIRST(&priv->flows); in dpaa2_flow_entry_update()
3261 struct rte_flow *curr = LIST_FIRST(&priv->flows); in dpaa2_flow_verify_attr()
3402 struct rte_flow *curr = LIST_FIRST(&priv->flows); in dpaa2_generic_flow_set()
4160 struct rte_flow *flow = LIST_FIRST(&priv->flows); in dpaa2_flow_flush()
4196 while ((flow = LIST_FIRST(&priv->flows))) in dpaa2_flow_clean()
/dpdk/drivers/net/hns3/
H A Dhns3_flow.c264 cnt_ptr = LIST_FIRST(&pf->flow_counters); in hns3_counter_flush()
271 cnt_ptr = LIST_FIRST(&pf->flow_counters); in hns3_counter_flush()
275 cnt_ptr = LIST_FIRST(&indir_counters); in hns3_counter_flush()
281 cnt_ptr = LIST_FIRST(&indir_counters); in hns3_counter_flush()
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_hw.c2181 tbl = LIST_FIRST(&priv->flow_hw_tbl); in flow_hw_resource_release()
2185 it = LIST_FIRST(&priv->flow_hw_itt); in flow_hw_resource_release()
2189 at = LIST_FIRST(&priv->flow_hw_at); in flow_hw_resource_release()
H A Dmlx5_rx.h26 #define RXQ_PORT(rxq_ctrl) LIST_FIRST(&(rxq_ctrl)->owners)->priv
H A Dmlx5.c626 mng = LIST_FIRST(&sh->cmng.mem_mngs); in mlx5_flow_counters_mng_close()
629 mng = LIST_FIRST(&sh->cmng.mem_mngs); in mlx5_flow_counters_mng_close()
H A Dmlx5_rxq.c686 rxq = LIST_FIRST(&(*rxq_ctrl)->owners); in mlx5_rx_queue_pre_setup()
750 struct mlx5_priv *spriv = LIST_FIRST(&rxq_ctrl->owners)->priv; in mlx5_shared_rxq_match()
/dpdk/drivers/net/vdev_netvsc/
H A Dvdev_netvsc.c751 struct vdev_netvsc_ctx *ctx = LIST_FIRST(&vdev_netvsc_ctx_list); in vdev_netvsc_vdev_remove()
/dpdk/drivers/net/netvsc/
H A Dhn_ethdev.c1048 hot_ctx = LIST_FIRST(&hv->hotadd_list); in hn_dev_close()
/dpdk/drivers/net/enic/
H A Denic_flow.c1782 flow = LIST_FIRST(&enic->flows); in enic_flow_flush()
H A Denic_fm_flow.c3067 flow = LIST_FIRST(&enic->flows); in enic_fm_flow_flush()
3087 flow = LIST_FIRST(&internal); in enic_fm_flow_flush()

12