buffer_page
rb_is_head_page(struct buffer_page *page, struct list_head *list)
static bool rb_is_reader_page(struct buffer_page *page)
struct buffer_page *head;
struct buffer_page *head,
struct buffer_page *prev,
struct buffer_page *head,
struct buffer_page *prev,
struct buffer_page *head,
struct buffer_page *prev,
struct buffer_page *head,
struct buffer_page *prev,
static inline void rb_inc_page(struct buffer_page **bpage)
*bpage = list_entry(p, struct buffer_page, list);
static inline void rb_dec_page(struct buffer_page **bpage)
*bpage = list_entry(p, struct buffer_page, list);
static struct buffer_page *
struct buffer_page *head;
struct buffer_page *page;
static bool rb_head_page_replace(struct buffer_page *old,
struct buffer_page *new)
struct buffer_page *tail_page,
struct buffer_page *next_page)
struct buffer_page *bpage)
static int __rb_validate_buffer(struct buffer_page *bpage, int cpu,
static void rb_validate_buffer(struct buffer_page *bpage,
struct buffer_page *orig_head,
struct buffer_page *head_page)
struct buffer_page *bpage = orig_head;
struct buffer_page *head_page, *orig_head, *orig_reader;
struct buffer_page *bpage)
struct buffer_page *bpage, *tmp;
struct buffer_page *bpage;
= list_entry(cpu_buffer->pages, struct buffer_page, list);
struct buffer_page *bpage, *tmp;
bpage = list_entry(head, struct buffer_page, list);
static inline unsigned long rb_page_entries(struct buffer_page *bpage)
static inline unsigned long rb_page_write(struct buffer_page *bpage)
struct buffer_page *to_remove_page, *tmp_iter_page;
struct buffer_page *last_page, *first_page;
struct buffer_page, list);
struct buffer_page, list);
last_page = list_entry(rb_list_head(to_remove), struct buffer_page,
struct buffer_page *hpage = rb_set_head_page(cpu_buffer);
struct buffer_page *bpage, *tmp;
struct buffer_page *bpage, *tmp;
static __always_inline void *__rb_page_index(struct buffer_page *bpage, unsigned index)
struct buffer_page *iter_head_page = iter->head_page;
struct buffer_page *next_page)
struct buffer_page *reader)
struct buffer_page *tail_page,
struct buffer_page *next_page)
struct buffer_page *new_head;
struct buffer_page *buffer_tail_page;
struct buffer_page *tail_page = info->tail_page;
struct buffer_page *tail_page = info->tail_page;
struct buffer_page *commit_page = cpu_buffer->commit_page;
static __always_inline unsigned int rb_page_commit(struct buffer_page *bpage)
struct buffer_page *next_page;
static __always_inline unsigned int rb_page_size(struct buffer_page *bpage)
static void free_buffer_page(struct buffer_page *bpage)
struct buffer_page *bpage;
#define alloc_cpu_page(cpu) (struct buffer_page *) \
kzalloc_node(ALIGN(sizeof(struct buffer_page), \
struct buffer_page *tail_page;
struct buffer_page *tail_page;
struct buffer_page *bpage = cpu_buffer->commit_page;
struct buffer_page *start;
struct buffer_page *head_page; /* read from head */
struct buffer_page *tail_page; /* write to tail */
struct buffer_page *commit_page; /* committed pages */
struct buffer_page *reader_page;
struct buffer_page *bpage;
struct buffer_page **subbuf_ids; /* ID to subbuf VA */
struct buffer_page *next, *orig;
struct buffer_page *reader;
struct buffer_page *head_page;
struct buffer_page *commit_page;
struct buffer_page *curr_commit_page;
static struct buffer_page *
struct buffer_page *new_reader, *prev_reader, *prev_head, *new_head, *last;
static struct buffer_page *
struct buffer_page *reader = NULL;
static struct buffer_page *
struct buffer_page *head_page;
struct buffer_page *reader;
struct buffer_page *cache_reader_page;
struct buffer_page *reader;
static void rb_clear_buffer_page(struct buffer_page *page)
struct buffer_page *bpage, int id)
struct buffer_page *page;
= list_entry(cpu_buffer->pages, struct buffer_page, list);
struct buffer_page *page = cpu_buffer->commit_page;
struct buffer_page *tail_page = READ_ONCE(cpu_buffer->tail_page);
page = list_entry(next, struct buffer_page, list);
struct buffer_page *reader;
struct buffer_page *bpage, *tmp;
struct buffer_page, list);
= list_entry(cpu_buffer->pages, struct buffer_page, list);
struct buffer_page **subbuf_ids)
struct buffer_page *first_subbuf, *subbuf;
struct buffer_page *subbuf;
struct buffer_page **subbuf_ids;
struct buffer_page *reader;