Home
last modified time | relevance | path

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

/kernel/trace/
Dring_buffer.c326 static void rb_init_page(struct buffer_data_page *bpage) in rb_init_page() argument
328 local_set(&bpage->commit, 0); in rb_init_page()
331 static __always_inline unsigned int rb_page_commit(struct buffer_page *bpage) in rb_page_commit() argument
333 return local_read(&bpage->page->commit); in rb_page_commit()
336 static void free_buffer_page(struct buffer_page *bpage) in free_buffer_page() argument
338 free_page((unsigned long)bpage->page); in free_buffer_page()
339 kfree(bpage); in free_buffer_page()
1388 static inline void rb_inc_page(struct buffer_page **bpage) in rb_inc_page() argument
1390 struct list_head *p = rb_list_head((*bpage)->list.next); in rb_inc_page()
1392 *bpage = list_entry(p, struct buffer_page, list); in rb_inc_page()
[all …]
Dring_buffer_benchmark.c110 void *bpage; in read_page() local
116 bpage = ring_buffer_alloc_read_page(buffer, cpu); in read_page()
117 if (IS_ERR(bpage)) in read_page()
120 ret = ring_buffer_read_page(buffer, &bpage, PAGE_SIZE, cpu, 1); in read_page()
122 rpage = bpage; in read_page()
175 ring_buffer_free_read_page(buffer, cpu, bpage); in read_page()