Lines Matching defs:entries
345 local_t entries; /* entries on this page */
351 * The buffer page counters, write and entries, must be reset
460 local_t entries;
853 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries);
882 (void)local_cmpxchg(&next_page->entries, old_entries, eval);
1434 return local_read(&bpage->entries) & RB_WRITE_MASK;
1598 int entries;
1602 entries = rb_page_entries(next_page);
1630 local_add(entries, &cpu_buffer->overrun);
1633 * The entries will be zeroed out when we move the
1958 local_inc(&tail_page->entries);
2322 local_inc(&cpu_buffer->entries);
2365 * Decrement the entries to the page that an event is on.
2382 local_dec(&bpage->entries);
2394 local_dec(&bpage->entries);
2610 * ring_buffer_entries_cpu - get the number of entries in a cpu buffer
2612 * @cpu: The per CPU buffer to get the entries from.
2623 ret = (local_read(&cpu_buffer->entries) - local_read(&cpu_buffer->overrun))
2672 * ring_buffer_entries - get the number of entries in a buffer
2675 * Returns the total number of entries in the ring buffer
2676 * (all CPU entries)
2681 unsigned long entries = 0;
2687 entries += (local_read(&cpu_buffer->entries) -
2691 return entries;
2700 * (all CPU entries)
2882 local_set(&cpu_buffer->reader_page->entries, 0);
3463 local_set(&cpu_buffer->head_page->entries, 0);
3473 local_set(&cpu_buffer->reader_page->entries, 0);
3479 local_set(&cpu_buffer->entries, 0);
3865 local_set(&reader->entries, 0);