Home
last modified time | relevance | path

Searched defs:buddy (Results 1 – 18 of 18) 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
138 struct mlx5hws_buddy_mem *buddy = pool->db.buddy; in hws_pool_buddy_db_get_chunk() local
155 struct mlx5hws_buddy_mem *buddy; in hws_pool_buddy_db_put_chunk() local
168 struct mlx5hws_buddy_mem *buddy; in hws_pool_buddy_db_uninit() local
H A Dpool.h59 struct mlx5hws_buddy_mem *buddy; member
/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()
59 void mlx5dr_buddy_cleanup(struct mlx5dr_icm_buddy_mem *buddy) in mlx5dr_buddy_cleanup()
72 static int dr_buddy_find_free_seg(struct mlx5dr_icm_buddy_mem *buddy, in dr_buddy_find_free_seg()
119 int mlx5dr_buddy_alloc_mem(struct mlx5dr_icm_buddy_mem *buddy, in mlx5dr_buddy_alloc_mem()
150 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()
256 static void dr_icm_buddy_cleanup_ste_cache(struct mlx5dr_icm_buddy_mem *buddy) in dr_icm_buddy_cleanup_ste_cache()
265 struct mlx5dr_icm_buddy_mem *buddy; in dr_icm_buddy_create() local
304 static void dr_icm_buddy_destroy(struct mlx5dr_icm_buddy_mem *buddy) in dr_icm_buddy_destroy()
367 struct mlx5dr_icm_buddy_mem *buddy, *tmp_buddy; in dr_icm_pool_sync_all_buddy_pools() local
388 struct mlx5dr_icm_buddy_mem **buddy, in dr_icm_handle_buddies_get_mem()
439 struct mlx5dr_icm_buddy_mem *buddy; in mlx5dr_icm_alloc_chunk() local
469 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()
177 static void mthca_buddy_cleanup(struct mthca_buddy *buddy) in mthca_buddy_cleanup()
189 struct mthca_buddy *buddy) in mthca_alloc_mtt_range()
207 struct mthca_buddy *buddy) in __mthca_alloc_mtt()
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dpage_alloc.c56 struct hyp_page *buddy = __find_buddy_nocheck(pool, p, order); in __find_buddy_avail() local
98 struct hyp_page *buddy; in __hyp_attach_page() local
134 struct hyp_page *buddy; in __hyp_extract_page() local
/linux/fs/ext4/
H A Dmballoc-test.c605 static void mbt_generate_buddy(struct super_block *sb, void *buddy, in mbt_generate_buddy()
749 void *buddy, struct ext4_group_info *grp) in test_mb_mark_used_range()
784 void *bitmap, *buddy; in test_mb_mark_used() local
819 void *buddy, struct ext4_group_info *grp) in test_mb_free_blocks_range()
850 void *bitmap, *buddy; in test_mb_free_blocks() local
H A Dmballoc.c700 void *buddy; in __mb_check_buddy() local
791 void *buddy, ext4_grpblk_t first, ext4_grpblk_t len, in ext4_mb_mark_free_simple()
1254 void *buddy, void *bitmap, ext4_group_t group, in ext4_mb_generate_buddy()
1312 void *buddy; in mb_regenerate_buddy() local
1914 void *buddy = mb_find_buddy(e4b, order, &max); in mb_buddy_mark_free() local
2060 void *buddy; in mb_find_extent() local
2124 void *buddy; in mb_mark_used() local
2472 void *buddy; in ext4_mb_simple_scan_group() local
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmr.c46 static u32 mlx4_buddy_alloc(struct mlx4_buddy *buddy, int order) in mlx4_buddy_alloc()
83 static void mlx4_buddy_free(struct mlx4_buddy *buddy, u32 seg, int order) in mlx4_buddy_free()
102 static int mlx4_buddy_init(struct mlx4_buddy *buddy, int max_order) in mlx4_buddy_init()
139 static void mlx4_buddy_cleanup(struct mlx4_buddy *buddy) in mlx4_buddy_cleanup()
/linux/drivers/gpu/drm/
H A Ddrm_buddy.c131 struct drm_buddy_block *buddy; in __drm_buddy_free() local
185 struct drm_buddy_block *buddy; in __force_merge() local
533 struct drm_buddy_block *buddy; in __alloc_range_bias() local
741 struct drm_buddy_block *buddy; in __alloc_range() local
/linux/mm/
H A Dpage_isolation.c218 struct page *buddy; in unset_migratetype_isolate() local
H A Dinternal.h648 static inline bool page_is_buddy(struct page *page, struct page *buddy, in page_is_buddy()
710 struct page *buddy; in find_buddy_page_pfn() local
H A Dpage_alloc.c949 struct page *buddy; in __free_one_page() local
2108 struct page *buddy = pfn_to_page(pfn); in __move_freepages_block_isolate() local
/linux/arch/mips/include/asm/
H A Dpgtable.h130 pte_t *buddy = ptep_buddy(ptep); local
176 pte_t *buddy = ptep_buddy(ptep); local
/linux/drivers/staging/rtl8723bs/core/
H A Drtw_pwrctrl.c86 struct adapter *buddy = adapter->pbuddy_adapter; in rtw_pwr_unassociated_idle() local
/linux/drivers/gpu/drm/xe/
H A Dxe_svm.c526 struct drm_buddy *buddy = tile_to_buddy(tile); in xe_svm_populate_devmem_pfn() local
/linux/fs/jfs/
H A Djfs_dmap.c2772 int budsz, buddy; in dbJoin() local