Symbol: gpu_buddy
drivers/gpu/buddy.c
1071
static int __gpu_buddy_alloc_range(struct gpu_buddy *mm,
drivers/gpu/buddy.c
1087
static int __alloc_contig_aligned_retry(struct gpu_buddy *mm,
drivers/gpu/buddy.c
1098
static int __alloc_contig_try_harder(struct gpu_buddy *mm,
drivers/gpu/buddy.c
1194
int gpu_buddy_block_trim(struct gpu_buddy *mm,
drivers/gpu/buddy.c
1270
__gpu_buddy_alloc_blocks(struct gpu_buddy *mm,
drivers/gpu/buddy.c
128
static void rbtree_insert(struct gpu_buddy *mm,
drivers/gpu/buddy.c
1310
int gpu_buddy_alloc_blocks(struct gpu_buddy *mm,
drivers/gpu/buddy.c
1493
void gpu_buddy_block_print(struct gpu_buddy *mm,
drivers/gpu/buddy.c
1509
void gpu_buddy_print(struct gpu_buddy *mm)
drivers/gpu/buddy.c
166
static void rbtree_remove(struct gpu_buddy *mm,
drivers/gpu/buddy.c
190
static void mark_allocated(struct gpu_buddy *mm,
drivers/gpu/buddy.c
199
static void mark_free(struct gpu_buddy *mm,
drivers/gpu/buddy.c
211
static void mark_split(struct gpu_buddy *mm,
drivers/gpu/buddy.c
245
static unsigned int __gpu_buddy_free(struct gpu_buddy *mm,
drivers/gpu/buddy.c
289
static int __force_merge(struct gpu_buddy *mm,
drivers/gpu/buddy.c
363
int gpu_buddy_init(struct gpu_buddy *mm, u64 size, u64 chunk_size)
drivers/gpu/buddy.c
464
void gpu_buddy_fini(struct gpu_buddy *mm)
drivers/gpu/buddy.c
494
static int split_block(struct gpu_buddy *mm,
drivers/gpu/buddy.c
537
void gpu_buddy_reset_clear(struct gpu_buddy *mm, bool is_clear)
drivers/gpu/buddy.c
584
void gpu_buddy_free_block(struct gpu_buddy *mm,
drivers/gpu/buddy.c
597
static void __gpu_buddy_free_list(struct gpu_buddy *mm,
drivers/gpu/buddy.c
617
static void gpu_buddy_free_list_internal(struct gpu_buddy *mm,
drivers/gpu/buddy.c
635
void gpu_buddy_free_list(struct gpu_buddy *mm,
drivers/gpu/buddy.c
654
__alloc_range_bias(struct gpu_buddy *mm,
drivers/gpu/buddy.c
746
__gpu_buddy_alloc_range_bias(struct gpu_buddy *mm,
drivers/gpu/buddy.c
75
static struct gpu_buddy_block *gpu_block_alloc(struct gpu_buddy *mm,
drivers/gpu/buddy.c
764
get_maxblock(struct gpu_buddy *mm,
drivers/gpu/buddy.c
793
alloc_from_freetree(struct gpu_buddy *mm,
drivers/gpu/buddy.c
871
gpu_buddy_find_block_aligned(struct gpu_buddy *mm,
drivers/gpu/buddy.c
908
gpu_buddy_offset_aligned_allocation(struct gpu_buddy *mm,
drivers/gpu/buddy.c
976
static int __alloc_range(struct gpu_buddy *mm,
drivers/gpu/buddy.c
98
static void gpu_block_free(struct gpu_buddy *mm,
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
303
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
454
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
641
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
796
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
881
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h
31
struct gpu_buddy mm;
drivers/gpu/drm/drm_buddy.c
24
void drm_buddy_block_print(struct gpu_buddy *mm,
drivers/gpu/drm/drm_buddy.c
41
void drm_buddy_print(struct gpu_buddy *mm, struct drm_printer *p)
drivers/gpu/drm/i915/i915_scatterlist.c
170
struct gpu_buddy *mm = bman_res->mm;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
160
struct gpu_buddy *mm = &bman->mm;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
198
struct gpu_buddy *mm = &bman->mm;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
20
struct gpu_buddy mm;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
337
struct gpu_buddy *mm = &bman->mm;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
375
struct gpu_buddy *mm = &bman->mm;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.c
42
struct gpu_buddy *mm = &bman->mm;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.h
16
struct gpu_buddy;
drivers/gpu/drm/i915/i915_ttm_buddy_manager.h
36
struct gpu_buddy *mm;
drivers/gpu/drm/i915/selftests/intel_memory_region.c
374
struct gpu_buddy *mm;
drivers/gpu/drm/i915/selftests/intel_memory_region.c
451
struct gpu_buddy *mm;
drivers/gpu/drm/i915/selftests/intel_memory_region.c
530
struct gpu_buddy *mm = bman_res->mm;
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
34
struct gpu_buddy *mm = &manager->mm;
drivers/gpu/drm/ttm/tests/ttm_mock_manager.c
82
struct gpu_buddy *mm = &manager->mm;
drivers/gpu/drm/ttm/tests/ttm_mock_manager.h
12
struct gpu_buddy mm;
drivers/gpu/drm/xe/xe_res_cursor.h
117
struct gpu_buddy *mm = xe_res_get_buddy(res);
drivers/gpu/drm/xe/xe_res_cursor.h
61
struct gpu_buddy *mm;
drivers/gpu/drm/xe/xe_res_cursor.h
72
static struct gpu_buddy *xe_res_get_buddy(struct ttm_resource *res)
drivers/gpu/drm/xe/xe_svm.c
778
static struct gpu_buddy *vram_to_buddy(struct xe_vram_region *vram)
drivers/gpu/drm/xe/xe_svm.c
790
struct gpu_buddy *buddy = vram_to_buddy(vr);
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
178
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
194
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
217
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
247
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
26
static inline bool xe_is_vram_mgr_blocks_contiguous(struct gpu_buddy *mm,
drivers/gpu/drm/xe/xe_ttm_vram_mgr.c
56
struct gpu_buddy *mm = &mgr->mm;
drivers/gpu/drm/xe/xe_ttm_vram_mgr_types.h
21
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
1012
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
1100
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
1180
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
122
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
1275
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
1321
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
1353
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
199
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
299
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
42
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
533
struct gpu_buddy mm;
drivers/gpu/tests/gpu_buddy_test.c
862
struct gpu_buddy mm;
include/drm/drm_buddy.h
14
void drm_buddy_print(struct gpu_buddy *mm, struct drm_printer *p);
include/drm/drm_buddy.h
15
void drm_buddy_block_print(struct gpu_buddy *mm,
include/linux/gpu_buddy.h
199
struct gpu_buddy *__mm = (mm); \
include/linux/gpu_buddy.h
214
static inline void gpu_buddy_driver_lock_held(struct gpu_buddy *mm)
include/linux/gpu_buddy.h
220
static inline void gpu_buddy_driver_lock_held(struct gpu_buddy *mm)
include/linux/gpu_buddy.h
250
gpu_buddy_block_size(struct gpu_buddy *mm,
include/linux/gpu_buddy.h
256
int gpu_buddy_init(struct gpu_buddy *mm, u64 size, u64 chunk_size);
include/linux/gpu_buddy.h
258
void gpu_buddy_fini(struct gpu_buddy *mm);
include/linux/gpu_buddy.h
260
int gpu_buddy_alloc_blocks(struct gpu_buddy *mm,
include/linux/gpu_buddy.h
266
int gpu_buddy_block_trim(struct gpu_buddy *mm,
include/linux/gpu_buddy.h
271
void gpu_buddy_reset_clear(struct gpu_buddy *mm, bool is_clear);
include/linux/gpu_buddy.h
273
void gpu_buddy_free_block(struct gpu_buddy *mm, struct gpu_buddy_block *block);
include/linux/gpu_buddy.h
275
void gpu_buddy_free_list(struct gpu_buddy *mm,
include/linux/gpu_buddy.h
279
void gpu_buddy_print(struct gpu_buddy *mm);
include/linux/gpu_buddy.h
280
void gpu_buddy_block_print(struct gpu_buddy *mm,