drm_mm_insert_node_in_range —
ranged search for space and insert node
int 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, | |
enum drm_mm_search_flags flags) ; |
mm
drm_mm to allocate from
node
preallocate node to insert
size
size of the allocation
alignment
alignment of the allocation
start
start of the allowed range for this node
end
end of the allowed range for this node
flags
flags to fine-tune the allocation