Lines Matching refs:tail
205 struct block_range *tail = malloc(sizeof(struct block_range));
206 if (!tail)
209 *tail = (struct block_range){
225 rb_link_right_of_node(&tail->node, &entry->node);
226 rb_insert_color(&tail->node, &block_ranges.root);
247 * If @end is in beyond @entry but not inside @next, add tail.
249 if (end < next->start) { /* add tail: [...e->end][...end] */
250 struct block_range *tail;
252 tail = malloc(sizeof(struct block_range));
253 if (!tail)
256 *tail = (struct block_range){
263 rb_link_right_of_node(&tail->node, &entry->node);
264 rb_insert_color(&tail->node, &block_ranges.root);
267 iter.end = tail;