gpu_buddy
static int __gpu_buddy_alloc_range(struct gpu_buddy *mm,
static int __alloc_contig_aligned_retry(struct gpu_buddy *mm,
static int __alloc_contig_try_harder(struct gpu_buddy *mm,
int gpu_buddy_block_trim(struct gpu_buddy *mm,
__gpu_buddy_alloc_blocks(struct gpu_buddy *mm,
static void rbtree_insert(struct gpu_buddy *mm,
int gpu_buddy_alloc_blocks(struct gpu_buddy *mm,
void gpu_buddy_block_print(struct gpu_buddy *mm,
void gpu_buddy_print(struct gpu_buddy *mm)
static void rbtree_remove(struct gpu_buddy *mm,
static void mark_allocated(struct gpu_buddy *mm,
static void mark_free(struct gpu_buddy *mm,
static void mark_split(struct gpu_buddy *mm,
static unsigned int __gpu_buddy_free(struct gpu_buddy *mm,
static int __force_merge(struct gpu_buddy *mm,
int gpu_buddy_init(struct gpu_buddy *mm, u64 size, u64 chunk_size)
void gpu_buddy_fini(struct gpu_buddy *mm)
static int split_block(struct gpu_buddy *mm,
void gpu_buddy_reset_clear(struct gpu_buddy *mm, bool is_clear)
void gpu_buddy_free_block(struct gpu_buddy *mm,
static void __gpu_buddy_free_list(struct gpu_buddy *mm,
static void gpu_buddy_free_list_internal(struct gpu_buddy *mm,
void gpu_buddy_free_list(struct gpu_buddy *mm,
__alloc_range_bias(struct gpu_buddy *mm,
__gpu_buddy_alloc_range_bias(struct gpu_buddy *mm,
static struct gpu_buddy_block *gpu_block_alloc(struct gpu_buddy *mm,
get_maxblock(struct gpu_buddy *mm,
alloc_from_freetree(struct gpu_buddy *mm,
gpu_buddy_find_block_aligned(struct gpu_buddy *mm,
gpu_buddy_offset_aligned_allocation(struct gpu_buddy *mm,
static int __alloc_range(struct gpu_buddy *mm,
static void gpu_block_free(struct gpu_buddy *mm,
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy mm;
void drm_buddy_block_print(struct gpu_buddy *mm,
void drm_buddy_print(struct gpu_buddy *mm, struct drm_printer *p)
struct gpu_buddy *mm = bman_res->mm;
struct gpu_buddy *mm = &bman->mm;
struct gpu_buddy *mm = &bman->mm;
struct gpu_buddy mm;
struct gpu_buddy *mm = &bman->mm;
struct gpu_buddy *mm = &bman->mm;
struct gpu_buddy *mm = &bman->mm;
struct gpu_buddy;
struct gpu_buddy *mm;
struct gpu_buddy *mm;
struct gpu_buddy *mm;
struct gpu_buddy *mm = bman_res->mm;
struct gpu_buddy *mm = &manager->mm;
struct gpu_buddy *mm = &manager->mm;
struct gpu_buddy mm;
struct gpu_buddy *mm = xe_res_get_buddy(res);
struct gpu_buddy *mm;
static struct gpu_buddy *xe_res_get_buddy(struct ttm_resource *res)
static struct gpu_buddy *vram_to_buddy(struct xe_vram_region *vram)
struct gpu_buddy *buddy = vram_to_buddy(vr);
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy *mm = &mgr->mm;
static inline bool xe_is_vram_mgr_blocks_contiguous(struct gpu_buddy *mm,
struct gpu_buddy *mm = &mgr->mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
struct gpu_buddy mm;
void drm_buddy_print(struct gpu_buddy *mm, struct drm_printer *p);
void drm_buddy_block_print(struct gpu_buddy *mm,
struct gpu_buddy *__mm = (mm); \
static inline void gpu_buddy_driver_lock_held(struct gpu_buddy *mm)
static inline void gpu_buddy_driver_lock_held(struct gpu_buddy *mm)
gpu_buddy_block_size(struct gpu_buddy *mm,
int gpu_buddy_init(struct gpu_buddy *mm, u64 size, u64 chunk_size);
void gpu_buddy_fini(struct gpu_buddy *mm);
int gpu_buddy_alloc_blocks(struct gpu_buddy *mm,
int gpu_buddy_block_trim(struct gpu_buddy *mm,
void gpu_buddy_reset_clear(struct gpu_buddy *mm, bool is_clear);
void gpu_buddy_free_block(struct gpu_buddy *mm, struct gpu_buddy_block *block);
void gpu_buddy_free_list(struct gpu_buddy *mm,
void gpu_buddy_print(struct gpu_buddy *mm);
void gpu_buddy_block_print(struct gpu_buddy *mm,