Lines Matching defs:mlx4_zone_allocator
202 struct mlx4_zone_allocator {
216 struct mlx4_zone_allocator *allocator;
224 struct mlx4_zone_allocator *mlx4_zone_allocator_create(enum mlx4_zone_alloc_flags flags)
226 struct mlx4_zone_allocator *zones = kmalloc(sizeof(*zones), GFP_KERNEL);
241 int mlx4_zone_add_one(struct mlx4_zone_allocator *zone_alloc,
287 struct mlx4_zone_allocator *zone_alloc = entry->allocator;
321 void mlx4_zone_allocator_destroy(struct mlx4_zone_allocator *zone_alloc)
343 struct mlx4_zone_allocator *zone_alloc = zone->allocator;
428 struct mlx4_zone_allocator *zones, u32 uid)
440 struct mlx4_bitmap *mlx4_zone_get_bitmap(struct mlx4_zone_allocator *zones, u32 uid)
456 int mlx4_zone_remove_one(struct mlx4_zone_allocator *zones, u32 uid)
481 struct mlx4_zone_allocator *zones, u32 obj)
510 u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count,
531 u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones, u32 uid, u32 obj, u32 count)
553 u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count)