Lines Matching defs:prev_node
345 struct drm_mm_node *prev_node;
350 prev_node =
363 if (!prev_node->hole_follows) {
364 prev_node->hole_follows = 1;
365 list_add(&prev_node->hole_stack, &mm->hole_stack, (caddr_t)prev_node);
367 list_move(&prev_node->hole_stack, &mm->hole_stack, (caddr_t)prev_node);
572 struct drm_mm_node *prev_node;
581 prev_node = list_entry(node->node_list.prev, struct drm_mm_node,
584 node->scanned_preceeds_hole = prev_node->hole_follows;
585 prev_node->hole_follows = 1;
587 node->node_list.prev = &prev_node->node_list;
591 adj_start = hole_start = drm_mm_hole_node_start(prev_node);
592 adj_end = hole_end = drm_mm_hole_node_end(prev_node);
602 mm->color_adjust(prev_node, mm->scan_color,
632 struct drm_mm_node *prev_node;
639 prev_node = list_entry(node->node_list.prev, struct drm_mm_node,
642 prev_node->hole_follows = node->scanned_preceeds_hole;
643 list_add(&node->node_list, &prev_node->node_list, (caddr_t)node);