Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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 …]
/linux/fs/ext4/
H A Ddir.c572 info->curr_node = NULL; in ext4_dx_readdir()
587 } else if (!info->curr_node) in ext4_dx_readdir()
588 info->curr_node = rb_first(&info->root); in ext4_dx_readdir()
596 if ((!info->curr_node) || in ext4_dx_readdir()
598 info->curr_node = NULL; in ext4_dx_readdir()
610 info->curr_node = rb_first(&info->root); in ext4_dx_readdir()
613 fname = rb_entry(info->curr_node, struct fname, rb_hash); in ext4_dx_readdir()
619 info->curr_node = rb_next(info->curr_node); in ext4_dx_readdir()
620 if (info->curr_node) { in ext4_dx_readdir()
621 fname = rb_entry(info->curr_node, struct fname, in ext4_dx_readdir()
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c1377 esw_qos_move_node(struct mlx5_esw_sched_node *curr_node) in esw_qos_move_node() argument
1381 new_node = __esw_qos_alloc_node(curr_node->esw, curr_node->ix, in esw_qos_move_node()
1382 curr_node->type, NULL); in esw_qos_move_node()
1386 esw_qos_nodes_set_parent(&curr_node->children, new_node); in esw_qos_move_node()
1393 struct mlx5_esw_sched_node *curr_node; in esw_qos_node_disable_tc_arbitration() local
1403 curr_node = esw_qos_move_node(node); in esw_qos_node_disable_tc_arbitration()
1404 if (IS_ERR(curr_node)) { in esw_qos_node_disable_tc_arbitration()
1406 return PTR_ERR(curr_node); in esw_qos_node_disable_tc_arbitration()
1410 err = esw_qos_switch_tc_arbiter_node_to_vports(curr_node, node, extack); in esw_qos_node_disable_tc_arbitration()
1415 esw_qos_tc_arbiter_scheduling_teardown(curr_node, extack); in esw_qos_node_disable_tc_arbitration()
[all …]
/linux/fs/btrfs/
H A Ddelayed-inode.c1140 struct btrfs_delayed_node *curr_node, *prev_node; in __btrfs_run_delayed_items() local
1157 curr_node = btrfs_first_delayed_node(fs_info, &curr_delayed_node_tracker); in __btrfs_run_delayed_items()
1158 while (curr_node && (!count || nr--)) { in __btrfs_run_delayed_items()
1160 curr_node); in __btrfs_run_delayed_items()
1166 prev_node = curr_node; in __btrfs_run_delayed_items()
1168 curr_node = btrfs_next_delayed_node(curr_node, &curr_delayed_node_tracker); in __btrfs_run_delayed_items()
1188 if (curr_node) in __btrfs_run_delayed_items()
1189 btrfs_release_delayed_node(curr_node, &curr_delayed_node_tracker); in __btrfs_run_delayed_items()
2102 struct btrfs_delayed_node *curr_node, *prev_node; in btrfs_destroy_delayed_inodes() local
2105 curr_node = btrfs_first_delayed_node(fs_info, &curr_delayed_node_tracker); in btrfs_destroy_delayed_inodes()
[all …]
/linux/drivers/net/ethernet/huawei/hinic/
H A 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()
H A Dhinic_hw_api_cmd.h192 struct hinic_api_cmd_cell *curr_node; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c1033 struct fs_node *curr_node; in find_closest_ft() local
1039 curr_node = node; in find_closest_ft()
1042 ft = find_closest_ft_recursive(parent, &curr_node->list, in find_closest_ft()
1044 curr_node = parent; in find_closest_ft()
1045 parent = curr_node->parent; in find_closest_ft()