Lines Matching refs:after
435 struct memory_ele* after = NULL;
436 after = slab_alloc(&que->alloc);
437 assert(after != NULL);
439 memset(after, 0, sizeof(after));
440 after->offset = buffer->offset + buffer->length + length;
441 after->length = old_len - buffer->length - length;
443 // insert after buffer
444 after->prev = buffer;
445 after->next = buffer->next;
448 buffer->next->prev = after;
451 buffer->next = after;
462 after->offset, after->length);
467 * Inserts a buffer either before or after an existing buffer into the queue
479 if (offset >= buffer->offset+buffer->length) {// insert after
484 DEBUG("dequeue merge after "
498 DEBUG("dequeue merge after more offset=%"PRIu64" "
503 add_to_history(que, offset, length, "deq insert after"
509 add_to_history(que, offset, length, "deq insert after on lower boundary");
520 DEBUG("dequeue merge after more offset=%"PRIu64" "
526 add_to_history(que, offset, length, "deq insert after"
538 add_to_history(que, offset, length, "deq insert after"
541 DEBUG("dequeue insert after merged offset=%"PRIu64" "
562 add_to_history(que, offset, length, "deq insert after"
565 DEBUG("dequeue insert after offset=%"PRIu64" length=%"PRIu64" "
566 "after offset=%"PRIu64" length=%"PRIu64" \n",
874 // insert after the last buffer