Searched refs:zone_alloc (Results 1 – 2 of 2) sorted by relevance
241 int mlx4_zone_add_one(struct mlx4_zone_allocator *zone_alloc, in mlx4_zone_add_one() argument261 spin_lock(&zone_alloc->lock); in mlx4_zone_add_one()263 zone->uid = zone_alloc->last_uid++; in mlx4_zone_add_one()264 zone->allocator = zone_alloc; in mlx4_zone_add_one()266 if (zone_alloc->mask < mask) in mlx4_zone_add_one()267 zone_alloc->mask = mask; in mlx4_zone_add_one()269 list_for_each_entry(it, &zone_alloc->prios, prio_list) in mlx4_zone_add_one()273 if (&it->prio_list == &zone_alloc->prios || it->priority > priority) in mlx4_zone_add_one()277 spin_unlock(&zone_alloc->lock); in mlx4_zone_add_one()287 struct mlx4_zone_allocator *zone_alloc = entry->allocator; in __mlx4_zone_remove_one_entry() local[all …]
1448 int mlx4_zone_add_one(struct mlx4_zone_allocator *zone_alloc,1456 int mlx4_zone_remove_one(struct mlx4_zone_allocator *zone_alloc, u32 uid);1461 void mlx4_zone_allocator_destroy(struct mlx4_zone_allocator *zone_alloc);