Searched refs:zone_alloc (Results 1 – 2 of 2) sorted by relevance
261 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()277 spin_unlock(&zone_alloc->lock); in mlx4_zone_add_one()315 zone_alloc->mask = mask; in __mlx4_zone_remove_one_entry()323 spin_lock(&zone_alloc->lock); in mlx4_zone_allocator_destroy()331 spin_unlock(&zone_alloc->lock); in mlx4_zone_allocator_destroy()[all …]
1458 int mlx4_zone_add_one(struct mlx4_zone_allocator *zone_alloc,1466 int mlx4_zone_remove_one(struct mlx4_zone_allocator *zone_alloc, u32 uid);1471 void mlx4_zone_allocator_destroy(struct mlx4_zone_allocator *zone_alloc);