Home
last modified time | relevance | path

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

/Linux-v6.1/kernel/trace/
Dring_buffer.c377 #define BUF_PAGE_SIZE (PAGE_SIZE - BUF_PAGE_HDR_SIZE) macro
380 #define BUF_MAX_DATA_SIZE (BUF_PAGE_SIZE - (sizeof(u32) * 2))
406 (unsigned int)BUF_PAGE_SIZE, in ring_buffer_print_page_header()
1848 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in __ring_buffer_alloc()
2042 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_remove_pages()
2187 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in ring_buffer_resize()
2527 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_handle_head_page()
2655 if (tail >= BUF_PAGE_SIZE) { in rb_reset_tail()
2661 if (tail == BUF_PAGE_SIZE) in rb_reset_tail()
2671 local_add(BUF_PAGE_SIZE - tail, &cpu_buffer->entries_bytes); in rb_reset_tail()
[all …]