Lines Matching refs:new
61 unsigned long limit_pfn, struct iova *new) in __cached_rbnode_insert_update() argument
65 iovad->cached32_node = &new->node; in __cached_rbnode_insert_update()
103 struct iova *new, bool size_aligned) in __alloc_and_insert_iova_range() argument
145 new->pfn_lo = limit_pfn - (size + pad_size) + 1; in __alloc_and_insert_iova_range()
146 new->pfn_hi = new->pfn_lo + size - 1; in __alloc_and_insert_iova_range()
166 if (new->pfn_lo < this->pfn_lo) in __alloc_and_insert_iova_range()
168 else if (new->pfn_lo > this->pfn_lo) in __alloc_and_insert_iova_range()
175 rb_link_node(&new->node, parent, entry); in __alloc_and_insert_iova_range()
176 rb_insert_color(&new->node, &iovad->rbroot); in __alloc_and_insert_iova_range()
178 __cached_rbnode_insert_update(iovad, saved_pfn, new); in __alloc_and_insert_iova_range()
189 struct rb_node **new = &(root->rb_node), *parent = NULL; in iova_insert_rbtree() local
191 while (*new) { in iova_insert_rbtree()
192 struct iova *this = container_of(*new, struct iova, node); in iova_insert_rbtree()
194 parent = *new; in iova_insert_rbtree()
197 new = &((*new)->rb_left); in iova_insert_rbtree()
199 new = &((*new)->rb_right); in iova_insert_rbtree()
204 rb_link_node(&iova->node, parent, new); in iova_insert_rbtree()