Home
last modified time | relevance | path

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

/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()
1423 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in __ring_buffer_alloc()
1615 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_remove_pages()
1760 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in ring_buffer_resize()
1766 size = nr_pages * BUF_PAGE_SIZE; in ring_buffer_resize()
2042 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_handle_head_page()
2170 if (tail >= BUF_PAGE_SIZE) { in rb_reset_tail()
2176 if (tail == BUF_PAGE_SIZE) in rb_reset_tail()
[all …]