Home
last modified time | relevance | path

Searched refs:data_head (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.c212 unsigned long data_head, data_tail; in __event_read_samples() local
222 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()
/linux-6.15/tools/include/linux/
H A Dring_buffer.h59 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()
/linux-6.15/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c483 __u64 data_head, data_tail; in perfbuf_custom_consumer() local
502 data_head = ring_buffer_read_head(header); in perfbuf_custom_consumer()
504 while (data_head != data_tail) { in perfbuf_custom_consumer()
/linux-6.15/Documentation/userspace-api/
H A Dperf_ring_buffer.rst80 head pointer ``data_head`` and a tail pointer ``data_tail``. When the
93 |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 of
456 the ``data_head`` while the user space cannot access the ``data_tail`` due
488 the ``data_head`` keeps the position of current data, the perf always
542 if (LOAD ->data_tail) { LOAD ->data_head
546 STORE ->data_head STORE ->data_tail
/linux-6.15/tools/memory-model/Documentation/
H A Drecipes.txt334 * if (LOAD ->data_tail) { LOAD ->data_head
338 * STORE ->data_head STORE ->data_tail
389 * if (LOAD ->data_tail) { LOAD ->data_head
393 * STORE ->data_head STORE ->data_tail
/linux-6.15/tools/include/uapi/linux/
H A Dperf_event.h735 __u64 data_head; /* head in the data section */ member
/linux-6.15/include/uapi/linux/
H A Dperf_event.h735 __u64 data_head; /* head in the data section */ member
/linux-6.15/kernel/events/
H A Dring_buffer.c114 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
H A Dcore.c14505 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head)) in perf_event_init()
/linux-6.15/tools/perf/
H A Ddesign.txt332 __u32 data_head; /* head in the data section */
/linux-6.15/tools/lib/bpf/
H A Dlibbpf.c13177 __u64 data_head = ring_buffer_read_head(header); in perf_event_read_simple() local
13184 while (data_head != data_tail) { in perf_event_read_simple()