Lines Matching refs:tail
201 struct block_range *tail = malloc(sizeof(struct block_range));
202 if (!tail)
205 *tail = (struct block_range){
221 rb_link_right_of_node(&tail->node, &entry->node);
222 rb_insert_color(&tail->node, &block_ranges.root);
243 * If @end is in beyond @entry but not inside @next, add tail.
245 if (end < next->start) { /* add tail: [...e->end][...end] */
246 struct block_range *tail;
248 tail = malloc(sizeof(struct block_range));
249 if (!tail)
252 *tail = (struct block_range){
259 rb_link_right_of_node(&tail->node, &entry->node);
260 rb_insert_color(&tail->node, &block_ranges.root);
263 iter.end = tail;