Lines Matching defs:aux_head
377 unsigned long aux_head, aux_tail;
420 aux_head = rb->aux_head;
424 handle->head = aux_head;
436 if (aux_head - aux_tail < perf_aux_size(rb))
437 handle->size = CIRC_SPACE(aux_head, aux_tail, perf_aux_size(rb));
471 if (rb->aux_head - rb->aux_wakeup >= rb->aux_watermark) {
472 rb->aux_wakeup = rounddown(rb->aux_head, rb->aux_watermark);
481 * aux_head and posting a PERF_RECORD_AUX into the perf buffer. It is the
493 unsigned long aux_head;
495 /* in overwrite mode, driver provides aux_head via handle */
499 aux_head = handle->head;
500 rb->aux_head = aux_head;
504 aux_head = rb->aux_head;
505 rb->aux_head += size;
519 * mode should know to use user_page::aux_head for the actual
526 perf_event_aux_event(handle->event, aux_head, size,
529 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head);
559 rb->aux_head += size;
561 WRITE_ONCE(rb->user_page->aux_head, rb->aux_head);
567 handle->head = rb->aux_head;