Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/trace/
Dring_buffer.c390 #define BUF_PAGE_SIZE (PAGE_SIZE - BUF_PAGE_HDR_SIZE) macro
393 #define BUF_MAX_DATA_SIZE (BUF_PAGE_SIZE - (sizeof(u32) * 2))
419 (unsigned int)BUF_PAGE_SIZE, in ring_buffer_print_page_header()
1370 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in __ring_buffer_alloc()
1564 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_remove_pages()
1708 nr_pages = DIV_ROUND_UP(size, BUF_PAGE_SIZE); in ring_buffer_resize()
1714 size = nr_pages * BUF_PAGE_SIZE; in ring_buffer_resize()
1988 local_sub(BUF_PAGE_SIZE, &cpu_buffer->entries_bytes); in rb_handle_head_page()
2115 if (tail >= BUF_PAGE_SIZE) { in rb_reset_tail()
2121 if (tail == BUF_PAGE_SIZE) in rb_reset_tail()
[all …]