Searched refs:data_head (Results 1 – 10 of 10) sorted by relevance
212 unsigned long data_head, data_tail; in __event_read_samples() 222 data_head = metadata_page->data_head; in __event_read_samples() 235 * data_head points to head in data buffer. in __event_read_samples() 239 if (data_head - data_tail < sizeof(header)) in __event_read_samples() 251 if ((metadata_page->data_tail + *size) > metadata_page->data_head) in __event_read_samples() 252 data_tail = metadata_page->data_head; in __event_read_samples() 205 unsigned long data_head, data_tail; __event_read_samples() local
59 return smp_load_acquire(&base->data_head); in ring_buffer_read_head()61 u64 head = READ_ONCE(base->data_head); in ring_buffer_read_head()
151 unsigned long data_tail, data_head; in rb_read() local156 data_head = rb->data_head; in rb_read()160 if ((data_head - data_tail) < size) in rb_read()171 size_t data_head = rb->data_head; in rb_skip() local175 if ((rb->data_tail + size) > data_head) in rb_skip()176 rb->data_tail = data_head; in rb_skip()
483 __u64 data_head, data_tail; in perfbuf_custom_consumer() local502 data_head = ring_buffer_read_head(header); in perfbuf_custom_consumer()504 while (data_head != data_tail) { in perfbuf_custom_consumer()
338 * if (LOAD ->data_tail) { LOAD ->data_head342 * STORE ->data_head STORE ->data_tail393 * if (LOAD ->data_tail) { LOAD ->data_head397 * STORE ->data_head STORE ->data_tail
745 __u64 data_head; /* head in the data section */ member
114 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
14803 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head)) in perf_event_init()
332 __u32 data_head; /* head in the data section */
13227 __u64 data_head = ring_buffer_read_head(header); in perf_event_read_simple() local13234 while (data_head != data_tail) { in perf_event_read_simple()