Lines Matching refs:curr_node
345 struct mlx4_zone_entry *curr_node; in __mlx4_alloc_from_zone() local
356 list_for_each_entry(curr_node, &zone_alloc->prios, prio_list) { in __mlx4_alloc_from_zone()
357 if (unlikely(curr_node->priority == zone->priority)) in __mlx4_alloc_from_zone()
362 struct mlx4_zone_entry *it = curr_node; in __mlx4_alloc_from_zone()
376 struct mlx4_zone_entry *it = curr_node; in __mlx4_alloc_from_zone()
382 if (unlikely(it->priority != curr_node->priority)) in __mlx4_alloc_from_zone()
396 if (list_is_last(&curr_node->prio_list, &zone_alloc->prios)) in __mlx4_alloc_from_zone()
399 curr_node = list_first_entry(&curr_node->prio_list, in __mlx4_alloc_from_zone()
400 typeof(*curr_node), in __mlx4_alloc_from_zone()
403 list_for_each_entry_from(curr_node, &zone_alloc->entries, list) { in __mlx4_alloc_from_zone()
404 res = mlx4_bitmap_alloc_range(curr_node->bitmap, count, in __mlx4_alloc_from_zone()
407 res += curr_node->offset; in __mlx4_alloc_from_zone()
408 uid = curr_node->uid; in __mlx4_alloc_from_zone()