table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
DRM_MM_FOR_EACH_HOLE(9) | DRM Core | DRM_MM_FOR_EACH_HOLE(9) |
NAME¶
drm_mm_for_each_hole - iterator to walk over all holesSYNOPSIS¶
drm_mm_for_each_hole(entry,
mm, hole_start, hole_end);
ARGUMENTS¶
entrydrm_mm_node used internally to track
progress
mm
drm_mm allocator to walk
hole_start
ulong variable to assign the hole start to on
each iteration
hole_end
ulong variable to assign the hole end to on
each iteration
DESCRIPTION¶
This iterator walks over all holes in the range allocator. It is implemented with list_for_each, so not save against removal of elements. entry is used internally and will not reflect a real drm_mm_node for the very first hole. Hence users of this iterator may not access it.IMPLEMENTATION NOTE¶
We need to inline list_for_each_entry in order to be able to set hole_start and hole_end on each iteration while keeping the macro sane. The __drm_mm_for_each_hole version is similar, but with added support for going backwards.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |