Lines Matching refs:old
366 u64 *head, u64 *old)
373 pr_debug3("%s: mmap index %d old head %zu new head %zu\n",
374 __func__, idx, (size_t)*old, (size_t)*head);
390 * mode 'head' is an offset within the buffer. Here 'old' and 'head'
391 * are adjusted to match the full trace case which expects that 'old' is
395 *old = *head;
399 *old &= mm->mask;
401 *old %= mm->len;
402 if (*old > *head)
406 pr_debug3("%s: wrap-around %sdetected, adjusted old head %zu adjusted new head %zu\n",
407 __func__, wrapped ? "" : "not ", (size_t)*old, (size_t)*head);