Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/trace/
Dring_buffer.c367 #define BUF_PAGE_SIZE (PAGE_SIZE - BUF_PAGE_HDR_SIZE) macro
370 #define BUF_MAX_DATA_SIZE (BUF_PAGE_SIZE - (sizeof(u32) * 2))
396 (unsigned int)BUF_PAGE_SIZE, in ring_buffer_print_page_header()
1394 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in __ring_buffer_alloc()
1588 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_remove_pages()
1732 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in ring_buffer_resize()
1738 size = nr_pages * BUF_PAGE_SIZE; in ring_buffer_resize()
2012 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_handle_head_page()
2139 if (tail >= BUF_PAGE_SIZE) { in rb_reset_tail()
2145 if (tail == BUF_PAGE_SIZE) in rb_reset_tail()
[all …]