Searched refs:data_head (Results 1 – 11 of 11) sorted by relevance
212 unsigned long data_head, data_tail; in __event_read_samples() local222 data_head = metadata_page->data_head; 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()
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()
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()
80 head pointer ``data_head`` and a tail pointer ``data_tail``. When the93 |data_head|data_tail|...| | |***|***|***|***|***| | | |411 |Event wait queue| |data_head|data_tail| |***|***| | |***|451 with the head pointer ``data_head``, which works as the end position of456 the ``data_head`` while the user space cannot access the ``data_tail`` due488 the ``data_head`` keeps the position of current data, the perf always542 if (LOAD ->data_tail) { LOAD ->data_head546 STORE ->data_head STORE ->data_tail
334 * if (LOAD ->data_tail) { LOAD ->data_head338 * STORE ->data_head STORE ->data_tail389 * if (LOAD ->data_tail) { LOAD ->data_head393 * STORE ->data_head STORE ->data_tail
735 __u64 data_head; /* head in the data section */ member
114 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
14505 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head)) in perf_event_init()
332 __u32 data_head; /* head in the data section */
13177 __u64 data_head = ring_buffer_read_head(header); in perf_event_read_simple() local13184 while (data_head != data_tail) { in perf_event_read_simple()