Lines Matching refs:curr_node
343 struct mlx4_zone_entry *curr_node; in __mlx4_alloc_from_zone() local
354 list_for_each_entry(curr_node, &zone_alloc->prios, prio_list) { in __mlx4_alloc_from_zone()
355 if (unlikely(curr_node->priority == zone->priority)) in __mlx4_alloc_from_zone()
360 struct mlx4_zone_entry *it = curr_node; in __mlx4_alloc_from_zone()
374 struct mlx4_zone_entry *it = curr_node; in __mlx4_alloc_from_zone()
380 if (unlikely(it->priority != curr_node->priority)) in __mlx4_alloc_from_zone()
394 if (list_is_last(&curr_node->prio_list, &zone_alloc->prios)) in __mlx4_alloc_from_zone()
397 curr_node = list_first_entry(&curr_node->prio_list, in __mlx4_alloc_from_zone()
398 typeof(*curr_node), in __mlx4_alloc_from_zone()
401 list_for_each_entry_from(curr_node, &zone_alloc->entries, list) { in __mlx4_alloc_from_zone()
402 res = mlx4_bitmap_alloc_range(curr_node->bitmap, count, in __mlx4_alloc_from_zone()
405 res += curr_node->offset; in __mlx4_alloc_from_zone()
406 uid = curr_node->uid; in __mlx4_alloc_from_zone()