drm_mm_insert_node_in_range_generic —
ranged search for space and insert node
int drm_mm_insert_node_in_range_generic ( | struct drm_mm * mm, |
struct drm_mm_node * node, | |
u64 size, | |
unsigned alignment, | |
unsigned long color, | |
u64 start, | |
u64 end, | |
enum drm_mm_search_flags sflags, | |
enum drm_mm_allocator_flags aflags) ; |
mm
drm_mm to allocate from
node
preallocate node to insert
size
size of the allocation
alignment
alignment of the allocation
color
opaque tag value to use for this node
start
start of the allowed range for this node
end
end of the allowed range for this node
sflags
flags to fine-tune the allocation search
aflags
flags to fine-tune the allocation behavior