Lines Matching refs:mlx4_zone_allocator
202 struct mlx4_zone_allocator { struct
216 struct mlx4_zone_allocator *allocator; argument
224 struct mlx4_zone_allocator *mlx4_zone_allocator_create(enum mlx4_zone_alloc_flags flags) in mlx4_zone_allocator_create()
226 struct mlx4_zone_allocator *zones = kmalloc(sizeof(*zones), GFP_KERNEL); in mlx4_zone_allocator_create()
241 int mlx4_zone_add_one(struct mlx4_zone_allocator *zone_alloc, in mlx4_zone_add_one()
287 struct mlx4_zone_allocator *zone_alloc = entry->allocator; in __mlx4_zone_remove_one_entry()
319 void mlx4_zone_allocator_destroy(struct mlx4_zone_allocator *zone_alloc) in mlx4_zone_allocator_destroy()
341 struct mlx4_zone_allocator *zone_alloc = zone->allocator; in __mlx4_alloc_from_zone()
426 struct mlx4_zone_allocator *zones, u32 uid) in __mlx4_find_zone_by_uid()
438 struct mlx4_bitmap *mlx4_zone_get_bitmap(struct mlx4_zone_allocator *zones, u32 uid) in mlx4_zone_get_bitmap()
454 int mlx4_zone_remove_one(struct mlx4_zone_allocator *zones, u32 uid) in mlx4_zone_remove_one()
479 struct mlx4_zone_allocator *zones, u32 obj) in __mlx4_find_zone_by_uid_unique()
508 u32 mlx4_zone_alloc_entries(struct mlx4_zone_allocator *zones, u32 uid, int count, in mlx4_zone_alloc_entries()
529 u32 mlx4_zone_free_entries(struct mlx4_zone_allocator *zones, u32 uid, u32 obj, u32 count) in mlx4_zone_free_entries()
551 u32 mlx4_zone_free_entries_unique(struct mlx4_zone_allocator *zones, u32 obj, u32 count) in mlx4_zone_free_entries_unique()