Lines Matching refs:entry
99 #define drm_mm_for_each_node(entry, type, mm) list_for_each_entry(entry, type, \
102 #define drm_mm_for_each_scanned_node_reverse(entry, n, mm) \
103 for (entry = (mm)->prev_scanned_node, \
104 next = entry ? list_entry(entry->node_list.next, \
106 entry != NULL; entry = next, \
107 next = entry ? list_entry(entry->node_list.next, \
114 #define drm_mm_for_each_hole(entry, mm, hole_start, hole_end) \
115 for (entry = list_entry((mm)->hole_stack.next, struct drm_mm_node, hole_stack); \
116 (entry) && (&entry->hole_stack != &(mm)->hole_stack ? \
117 hole_start = drm_mm_hole_node_start(entry), \
118 hole_end = drm_mm_hole_node_end(entry), \
120 entry = list_entry(entry->hole_stack.next, struct drm_mm_node, hole_stack))