Home
last modified time | relevance | path

Searched defs:buddy (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dbuddy.c7 static int hws_buddy_init(struct mlx5hws_buddy_mem *buddy, u32 max_order) in hws_buddy_init()
55 struct mlx5hws_buddy_mem *buddy; in mlx5hws_buddy_create() local
71 void mlx5hws_buddy_cleanup(struct mlx5hws_buddy_mem *buddy) in mlx5hws_buddy_cleanup()
82 static int hws_buddy_find_free_seg(struct mlx5hws_buddy_mem *buddy, in hws_buddy_find_free_seg()
113 int mlx5hws_buddy_alloc_mem(struct mlx5hws_buddy_mem *buddy, u32 order) in mlx5hws_buddy_alloc_mem()
136 void mlx5hws_buddy_free_mem(struct mlx5hws_buddy_mem *buddy, u32 seg, u32 order) in mlx5hws_buddy_free_mem()
H A Dpool.c114 struct mlx5hws_buddy_mem *buddy; in hws_pool_buddy_init() local
139 struct mlx5hws_buddy_mem *buddy = pool->db.buddy; in hws_pool_buddy_db_get_chunk() local
156 struct mlx5hws_buddy_mem *buddy; in hws_pool_buddy_db_put_chunk() local
169 struct mlx5hws_buddy_mem *buddy; in hws_pool_buddy_db_uninit() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_buddy.c10 int mlx5dr_buddy_init(struct mlx5dr_icm_buddy_mem *buddy, in mlx5dr_buddy_init()
55 void mlx5dr_buddy_cleanup(struct mlx5dr_icm_buddy_mem *buddy) in mlx5dr_buddy_cleanup()
68 static int dr_buddy_find_free_seg(struct mlx5dr_icm_buddy_mem *buddy, in dr_buddy_find_free_seg()
115 int mlx5dr_buddy_alloc_mem(struct mlx5dr_icm_buddy_mem *buddy, in mlx5dr_buddy_alloc_mem()
146 void mlx5dr_buddy_free_mem(struct mlx5dr_icm_buddy_mem *buddy, in mlx5dr_buddy_free_mem()
H A Ddr_icm_pool.c199 static int dr_icm_buddy_get_ste_size(struct mlx5dr_icm_buddy_mem *buddy) in dr_icm_buddy_get_ste_size()
212 struct mlx5dr_icm_buddy_mem *buddy = chunk->buddy_mem; in dr_icm_chunk_ste_init() local
225 static int dr_icm_buddy_init_ste_cache(struct mlx5dr_icm_buddy_mem *buddy) in dr_icm_buddy_init_ste_cache()
255 static void dr_icm_buddy_cleanup_ste_cache(struct mlx5dr_icm_buddy_mem *buddy) in dr_icm_buddy_cleanup_ste_cache()
264 struct mlx5dr_icm_buddy_mem *buddy; in dr_icm_buddy_create() local
303 static void dr_icm_buddy_destroy(struct mlx5dr_icm_buddy_mem *buddy) in dr_icm_buddy_destroy()
366 struct mlx5dr_icm_buddy_mem *buddy, *tmp_buddy; in dr_icm_pool_sync_all_buddy_pools() local
387 struct mlx5dr_icm_buddy_mem **buddy, in dr_icm_handle_buddies_get_mem()
438 struct mlx5dr_icm_buddy_mem *buddy; in mlx5dr_icm_alloc_chunk() local
468 struct mlx5dr_icm_buddy_mem *buddy = chunk->buddy_mem; in mlx5dr_icm_free_chunk() local
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mr.c42 struct mthca_buddy *buddy; member
84 static u32 mthca_buddy_alloc(struct mthca_buddy *buddy, int order) in mthca_buddy_alloc()
121 static void mthca_buddy_free(struct mthca_buddy *buddy, u32 seg, int order) in mthca_buddy_free()
140 static int mthca_buddy_init(struct mthca_buddy *buddy, int max_order) in mthca_buddy_init()
176 static void mthca_buddy_cleanup(struct mthca_buddy *buddy) in mthca_buddy_cleanup()
188 struct mthca_buddy *buddy) in mthca_alloc_mtt_range()
206 struct mthca_buddy *buddy) in __mthca_alloc_mtt()
/linux/fs/ext4/
H A Dmballoc-test.c609 static void mbt_generate_buddy(struct super_block *sb, void *buddy, in mbt_generate_buddy()
753 void *buddy, struct ext4_group_info *grp) in test_mb_mark_used_range()
788 void *bitmap, *buddy; in test_mb_mark_used() local
823 void *buddy, struct ext4_group_info *grp) in test_mb_free_blocks_range()
854 void *bitmap, *buddy; in test_mb_free_blocks() local
H A Dmballoc.c718 void *buddy; in __mb_check_buddy() local
808 void *buddy, ext4_grpblk_t first, ext4_grpblk_t len, in ext4_mb_mark_free_simple()
1282 void *buddy, void *bitmap, ext4_group_t group, in ext4_mb_generate_buddy()
1340 void *buddy; in mb_regenerate_buddy() local
1946 void *buddy = mb_find_buddy(e4b, order, &max); in mb_buddy_mark_free() local
2092 void *buddy; in mb_find_extent() local
2156 void *buddy; in mb_mark_used() local
2508 void *buddy; in ext4_mb_simple_scan_group() local
7237 void ext4_mb_generate_buddy_test(struct super_block *sb, void *buddy, in ext4_mb_generate_buddy_test()
/linux/drivers/gpu/drm/xe/
H A Dxe_svm.c794 struct gpu_buddy *buddy = vram_to_buddy(vr); in xe_svm_populate_devmem_pfn() local
/linux/mm/
H A Dpage_alloc.c942 struct page *buddy; in __free_one_page() local
2104 struct page *buddy; __move_freepages_block_isolate() local
[all...]