Home
last modified time | relevance | path

Searched refs:curr_node (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dalloc.c342 struct mlx4_zone_entry *curr_node; in __mlx4_alloc_from_zone() local
353 list_for_each_entry(curr_node, &zone_alloc->prios, prio_list) { in __mlx4_alloc_from_zone()
354 if (unlikely(curr_node->priority == zone->priority)) in __mlx4_alloc_from_zone()
359 struct mlx4_zone_entry *it = curr_node; in __mlx4_alloc_from_zone()
373 struct mlx4_zone_entry *it = curr_node; in __mlx4_alloc_from_zone()
379 if (unlikely(it->priority != curr_node->priority)) in __mlx4_alloc_from_zone()
393 if (list_is_last(&curr_node->prio_list, &zone_alloc->prios)) in __mlx4_alloc_from_zone()
396 curr_node = list_first_entry(&curr_node->prio_list, in __mlx4_alloc_from_zone()
397 typeof(*curr_node), in __mlx4_alloc_from_zone()
400 list_for_each_entry_from(curr_node, &zone_alloc->entries, list) { in __mlx4_alloc_from_zone()
[all …]
/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.c226 struct hinic_api_cmd_cell *cell = chain->curr_node; in prepare_api_cmd()
270 struct hinic_api_cmd_cell *curr_node = chain->curr_node; in prepare_cell() local
273 prepare_cell_ctrl(&curr_node->ctrl, data_size); in prepare_cell()
401 chain->curr_node = ctxt->cell_vaddr; in api_cmd()
797 chain->curr_node = chain->head_node; in api_cmd_create_cells()
Dhinic_hw_api_cmd.h192 struct hinic_api_cmd_cell *curr_node; member
/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_core.c954 struct fs_node *curr_node; in find_closest_ft() local
960 curr_node = node; in find_closest_ft()
963 ft = find_closest_ft_recursive(parent, &curr_node->list, in find_closest_ft()
965 curr_node = parent; in find_closest_ft()
966 parent = curr_node->parent; in find_closest_ft()