Lines Matching defs:tail_page
442 * head_page == tail_page && head == tail then buffer is empty.
453 struct buffer_page *tail_page; /* write to tail */
835 struct buffer_page *tail_page,
866 if (tail_page == cpu_buffer->tail_page) {
891 old_tail = cmpxchg(&cpu_buffer->tail_page,
892 tail_page, next_page);
894 if (old_tail == tail_page)
1051 cpu_buffer->tail_page = cpu_buffer->commit_page = cpu_buffer->head_page;
1487 while (cpu_buffer->commit_page != cpu_buffer->tail_page) {
1491 rb_is_reader_page(cpu_buffer->tail_page)))
1520 if (unlikely(cpu_buffer->commit_page != cpu_buffer->tail_page))
1594 struct buffer_page *tail_page,
1609 type = rb_head_page_set_update(cpu_buffer, next_page, tail_page,
1718 if (cpu_buffer->tail_page != tail_page &&
1719 cpu_buffer->tail_page != next_page)
1732 tail_page,
1761 struct buffer_page *tail_page,
1768 * must fill the old tail_page with padding.
1777 tail_page->real_end = 0;
1779 local_sub(length, &tail_page->write);
1783 event = __rb_page_index(tail_page, tail);
1791 tail_page->real_end = tail;
1811 local_sub(length, &tail_page->write);
1823 local_sub(length, &tail_page->write);
1829 struct buffer_page *tail_page, u64 *ts)
1836 next_page = tail_page;
1864 if (rb_is_head_page(cpu_buffer, next_page, &tail_page->list)) {
1879 tail_page,
1897 cpu_buffer->tail_page) &&
1906 ret = rb_tail_page_update(cpu_buffer, tail_page, next_page);
1918 rb_reset_tail(cpu_buffer, tail_page, tail, length);
1925 rb_reset_tail(cpu_buffer, tail_page, tail, length);
1934 struct buffer_page *tail_page;
1938 tail_page = cpu_buffer->tail_page;
1939 write = local_add_return(length, &tail_page->write);
1948 tail_page, ts);
1952 event = __rb_page_index(tail_page, tail);
1958 local_inc(&tail_page->entries);
1965 tail_page->page->time_stamp = *ts;
1984 bpage = cpu_buffer->tail_page;
2158 if (likely(cpu_buffer->tail_page == cpu_buffer->commit_page &&
2159 rb_page_write(cpu_buffer->tail_page) ==
3468 cpu_buffer->tail_page = cpu_buffer->head_page;