H A D | drm_mm.c | 53 static struct drm_mm_node *drm_mm_kmalloc(struct drm_mm *mm, int atomic) argument 63 spin_lock(&mm->unused_lock); 64 if (list_empty(&mm->unused_nodes)) 68 list_entry(mm->unused_nodes.next, 71 --mm->num_unused; 73 spin_unlock(&mm->unused_lock); 83 int drm_mm_pre_get(struct drm_mm *mm) argument 87 spin_lock(&mm->unused_lock); 88 while (mm->num_unused < MM_UNUSED_TARGET) { 89 spin_unlock(&mm 110 struct drm_mm *mm = hole_node->mm; local 150 drm_mm_create_block(struct drm_mm *mm, unsigned long start, unsigned long size, bool atomic) argument 216 drm_mm_insert_node_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color) argument 231 drm_mm_insert_node(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment) argument 243 struct drm_mm *mm = hole_node->mm; local 314 drm_mm_insert_node_in_range_generic(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument 332 drm_mm_insert_node_in_range(struct drm_mm *mm, struct drm_mm_node *node, unsigned long size, unsigned alignment, unsigned long start, unsigned long end) argument 344 struct drm_mm *mm = node->mm; local 381 struct drm_mm *mm = node->mm; local 409 drm_mm_search_free_generic(const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, bool best_match) argument 448 drm_mm_search_free_in_range_generic(const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end, bool best_match) argument 520 drm_mm_init_scan(struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color) argument 544 drm_mm_init_scan_with_range(struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long color, unsigned long start, unsigned long end) argument 571 struct drm_mm *mm = node->mm; local 631 struct drm_mm *mm = node->mm; local 650 drm_mm_clean(struct drm_mm * mm) argument 658 drm_mm_init(struct drm_mm * mm, unsigned long start, unsigned long size) argument 682 drm_mm_takedown(struct drm_mm * mm) argument 720 drm_mm_debug_table(struct drm_mm *mm, const char *prefix) argument 740 drm_mm_initialized(struct drm_mm *mm) argument 802 drm_mm_search_free(const struct drm_mm *mm, unsigned long size, unsigned alignment, bool best_match) argument 809 drm_mm_search_free_in_range( const struct drm_mm *mm, unsigned long size, unsigned alignment, unsigned long start, unsigned long end, bool best_match) argument [all...] |