<dec f='src/src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h' l='224' type='int drm_mm_insert_node_generic(struct drm_mm * mm, struct drm_mm_node * node, unsigned long size, unsigned int alignment, unsigned long color, enum drm_mm_search_flags sflags, enum drm_mm_allocator_flags aflags)'/>
<use f='src/src/sys/external/bsd/drm2/dist/include/drm/drm_mm.h' l='253' u='c' c='drm_mm_insert_node'/>
<def f='src/src/sys/external/bsd/drm2/dist/drm/drm_mm.c' l='231' ll='246' type='int drm_mm_insert_node_generic(struct drm_mm * mm, struct drm_mm_node * node, unsigned long size, unsigned int alignment, unsigned long color, enum drm_mm_search_flags sflags, enum drm_mm_allocator_flags aflags)'/>
<doc f='src/src/sys/external/bsd/drm2/dist/drm/drm_mm.c' l='216'>/**
 * drm_mm_insert_node_generic - search for space and insert @node
 * @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
 * @sflags: flags to fine-tune the allocation search
 * @aflags: flags to fine-tune the allocation behavior
 *
 * The preallocated node must be cleared to 0.
 *
 * Returns:
 * 0 on success, -ENOSPC if there&apos;s no suitable hole.
 */</doc>
