Home
last modified time | relevance | path

Searched refs:BUF_PAGE_SIZE (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/kernel/trace/
Dring_buffer.c376 #define BUF_PAGE_SIZE (PAGE_SIZE - BUF_PAGE_HDR_SIZE) macro
379 #define BUF_MAX_DATA_SIZE (BUF_PAGE_SIZE - (sizeof(u32) * 2))
405 (unsigned int)BUF_PAGE_SIZE, in ring_buffer_print_page_header()
1822 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in __ring_buffer_alloc()
2163 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in ring_buffer_resize()
2651 if (tail >= BUF_PAGE_SIZE) { in rb_reset_tail()
2657 if (tail == BUF_PAGE_SIZE) in rb_reset_tail()
2685 if (tail > (BUF_PAGE_SIZE - RB_EVNT_MIN_SIZE)) { in rb_reset_tail()
2700 event->array[0] = (BUF_PAGE_SIZE - tail) - RB_EVNT_HDR_SIZE; in rb_reset_tail()
2706 local_add(BUF_PAGE_SIZE - tail, &cpu_buffer->entries_bytes); in rb_reset_tail()
[all …]