Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.c212 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
/linux/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/tools/perf/arch/x86/tests/
H A Damd-ibs-period.c151 unsigned long data_tail, data_head; in rb_read() local
156 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() local
175 if ((rb->data_tail + size) > data_head) in rb_skip()
176 rb->data_tail = data_head; in rb_skip()
/linux/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/tools/memory-model/Documentation/
H A Drecipes.txt338 * if (LOAD ->data_tail) { LOAD ->data_head
342 * STORE ->data_head STORE ->data_tail
393 * if (LOAD ->data_tail) { LOAD ->data_head
397 * STORE ->data_head STORE ->data_tail
/linux/tools/include/uapi/linux/
H A Dperf_event.h745 __u64 data_head; /* head in the data section */ member
/linux/kernel/events/
H A Dring_buffer.c114 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
H A Dcore.c14803 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head)) in perf_event_init()
/linux/tools/perf/
H A Ddesign.txt332 __u32 data_head; /* head in the data section */
/linux/tools/lib/bpf/
H A Dlibbpf.c13227 __u64 data_head = ring_buffer_read_head(header); in perf_event_read_simple() local
13234 while (data_head != data_tail) { in perf_event_read_simple()