Lines Matching defs:size

107 				 unsigned long size, unsigned alignment,
133 node->size = size;
141 BUG_ON(node->start + node->size > adj_end);
152 unsigned long size,
156 unsigned long end = start + size;
169 node->size = size;
190 DRM_ERROR("no hole found for block 0x%lx + 0x%lx\n", start, size);
195 unsigned long size,
206 drm_mm_insert_helper(hole_node, node, size, alignment, color);
217 unsigned long size, unsigned alignment,
222 hole_node = drm_mm_search_free_generic(mm, size, alignment,
227 drm_mm_insert_helper(hole_node, node, size, alignment, color);
232 unsigned long size, unsigned alignment)
234 return drm_mm_insert_node_generic(mm, node, size, alignment, 0);
239 unsigned long size, unsigned alignment,
271 node->size = size;
279 BUG_ON(node->start + node->size > adj_end);
280 BUG_ON(node->start + node->size > end);
290 unsigned long size,
303 drm_mm_insert_helper_range(hole_node, node, size, alignment, color,
315 unsigned long size, unsigned alignment, unsigned long color,
321 size, alignment, color,
327 size, alignment, color,
333 unsigned long size, unsigned alignment,
336 return drm_mm_insert_node_in_range_generic(mm, node, size, alignment, 0, start, end);
395 unsigned long size, unsigned alignment)
397 if (end - start < size)
406 return end >= start + size;
410 unsigned long size,
433 if (!check_free_hole(adj_start, adj_end, size, alignment))
439 if (entry->size < best_size) {
441 best_size = entry->size;
449 unsigned long size,
479 if (!check_free_hole(adj_start, adj_end, size, alignment))
485 if (entry->size < best_size) {
487 best_size = entry->size;
504 new->size = old->size;
521 unsigned long size,
527 mm->scan_size = size;
545 unsigned long size,
553 mm->scan_size = size;
658 void drm_mm_init(struct drm_mm * mm, unsigned long start, unsigned long size)
674 mm->head_node.start = start + size;
675 mm->head_node.size = start - mm->head_node.start;
729 prefix, entry->start, entry->start + entry->size,
730 entry->size);
731 total_used += entry->size;
747 return hole_node->start + hole_node->size;
770 unsigned long size,
773 return drm_mm_get_block_generic(parent, size, alignment, 0, 0);
776 unsigned long size,
779 return drm_mm_get_block_generic(parent, size, alignment, 0, 1);
783 unsigned long size,
788 return drm_mm_get_block_range_generic(parent, size, alignment, 0,
793 unsigned long size,
798 return drm_mm_get_block_range_generic(parent, size, alignment, 0,
803 unsigned long size,
807 return drm_mm_search_free_generic(mm,size, alignment, 0, best_match);
811 unsigned long size,
817 return drm_mm_search_free_in_range_generic(mm, size, alignment, 0,