Lines Matching refs:drm_buddy
14 static struct drm_buddy_block *drm_block_alloc(struct drm_buddy *mm, in drm_block_alloc()
35 static void drm_block_free(struct drm_buddy *mm, in drm_block_free()
41 static void list_insert_sorted(struct drm_buddy *mm, in list_insert_sorted()
68 static void mark_free(struct drm_buddy *mm, in mark_free()
97 int drm_buddy_init(struct drm_buddy *mm, u64 size, u64 chunk_size) in drm_buddy_init()
187 void drm_buddy_fini(struct drm_buddy *mm) in drm_buddy_fini()
203 static int split_block(struct drm_buddy *mm, in split_block()
263 static void __drm_buddy_free(struct drm_buddy *mm, in __drm_buddy_free()
293 void drm_buddy_free_block(struct drm_buddy *mm, in drm_buddy_free_block()
308 void drm_buddy_free_list(struct drm_buddy *mm, struct list_head *objects) in drm_buddy_free_list()
331 alloc_range_bias(struct drm_buddy *mm, in alloc_range_bias()
418 get_maxblock(struct drm_buddy *mm, unsigned int order) in get_maxblock()
444 alloc_from_freelist(struct drm_buddy *mm, in alloc_from_freelist()
490 static int __alloc_range(struct drm_buddy *mm, in __alloc_range()
568 static int __drm_buddy_alloc_range(struct drm_buddy *mm, in __drm_buddy_alloc_range()
600 int drm_buddy_block_trim(struct drm_buddy *mm, in drm_buddy_block_trim()
671 int drm_buddy_alloc_blocks(struct drm_buddy *mm, in drm_buddy_alloc_blocks()
761 void drm_buddy_block_print(struct drm_buddy *mm, in drm_buddy_block_print()
778 void drm_buddy_print(struct drm_buddy *mm, struct drm_printer *p) in drm_buddy_print()