Home
last modified time | relevance | path

Searched refs:data_tail (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.c205 unsigned long data_head, data_tail; in __event_read_samples() local
218 data_tail = metadata_page->data_tail; in __event_read_samples()
227 * the data_tail to know the last read data. in __event_read_samples()
232 if (data_head - data_tail < sizeof(header)) in __event_read_samples()
235 data_tail += sizeof(header); in __event_read_samples()
239 return sample_buff + page_size + data_tail; in __event_read_samples()
240 data_tail += *size; in __event_read_samples()
244 if ((metadata_page->data_tail + *size) > metadata_page->data_head) in __event_read_samples()
245 data_tail in __event_read_samples()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c487 __u64 data_head, data_tail; in perfbuf_custom_consumer() local
507 data_tail = header->data_tail; in perfbuf_custom_consumer()
508 while (data_head != data_tail) { in perfbuf_custom_consumer()
509 ehdr = base + (data_tail & mmap_mask); in perfbuf_custom_consumer()
515 data_tail += ehdr_size; in perfbuf_custom_consumer()
517 ring_buffer_write_tail(header, data_tail); in perfbuf_custom_consumer()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c483 __u64 data_head, data_tail; in perfbuf_custom_consumer() local
503 data_tail = header->data_tail; in perfbuf_custom_consumer()
504 while (data_head != data_tail) { in perfbuf_custom_consumer()
505 ehdr = base + (data_tail & mmap_mask); in perfbuf_custom_consumer()
511 data_tail += ehdr_size; in perfbuf_custom_consumer()
513 ring_buffer_write_tail(header, data_tail); in perfbuf_custom_consumer()
/kernel/linux/linux-5.10/tools/include/linux/
H A Dring_buffer.h17 * if (LOAD ->data_tail) { LOAD ->data_head
21 * STORE ->data_head STORE ->data_tail
27 * load of the ->data_tail and the stores of $data. In case
28 * ->data_tail indicates there is no room in the buffer to
71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/kernel/linux/linux-6.6/tools/include/linux/
H A Dring_buffer.h17 * if (LOAD ->data_tail) { LOAD ->data_head
21 * STORE ->data_head STORE ->data_tail
27 * load of the ->data_tail and the stores of $data. In case
28 * ->data_tail indicates there is no room in the buffer to
71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dperf_event.h315 __u64 data_tail; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dperf_event.h631 * When the mapping is PROT_WRITE the @data_tail value should be
633 * an smp_mb() to separate the data read from the ->data_tail store.
642 __u64 data_tail; /* user-space written tail */ member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dperf_event.h631 * When the mapping is PROT_WRITE the @data_tail value should be
633 * an smp_mb() to separate the data read from the ->data_tail store.
642 __u64 data_tail; /* user-space written tail */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dperf_event.h710 * When the mapping is PROT_WRITE the @data_tail value should be
712 * an smp_mb() to separate the data read from the ->data_tail store.
721 __u64 data_tail; /* user-space written tail */ member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dperf_event.h710 * When the mapping is PROT_WRITE the @data_tail value should be
712 * an smp_mb() to separate the data read from the ->data_tail store.
721 __u64 data_tail; /* user-space written tail */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dperf_event.h280 __u64 data_tail; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dperf_event.h280 __u64 data_tail; member
/kernel/linux/linux-5.10/kernel/events/
H A Dring_buffer.c88 * if (LOAD ->data_tail) { LOAD ->data_head in perf_output_put_handle()
92 * STORE ->data_head STORE ->data_tail in perf_output_put_handle()
98 * the ->data_tail and the stores of $data. In case ->data_tail in perf_output_put_handle()
195 tail = READ_ONCE(rb->user_page->data_tail); in __perf_output_begin()
/kernel/linux/linux-6.6/kernel/events/
H A Dring_buffer.c88 * if (LOAD ->data_tail) { LOAD ->data_head in perf_output_put_handle()
92 * STORE ->data_head STORE ->data_tail in perf_output_put_handle()
98 * the ->data_tail and the stores of $data. In case ->data_tail in perf_output_put_handle()
197 tail = READ_ONCE(rb->user_page->data_tail); in __perf_output_begin()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf.c9905 __u64 data_tail = header->data_tail; in bpf_perf_event_read_simple() local
9911 while (data_head != data_tail) { in bpf_perf_event_read_simple()
9912 ehdr = base + (data_tail & (mmap_size - 1)); in bpf_perf_event_read_simple()
9937 data_tail += ehdr_size; in bpf_perf_event_read_simple()
9942 ring_buffer_write_tail(header, data_tail); in bpf_perf_event_read_simple()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlibbpf.c12255 __u64 data_tail = header->data_tail; in perf_event_read_simple() local
12261 while (data_head != data_tail) { in perf_event_read_simple()
12262 ehdr = base + (data_tail & (mmap_size - 1)); in perf_event_read_simple()
12287 data_tail += ehdr_size; in perf_event_read_simple()
12292 ring_buffer_write_tail(header, data_tail); in perf_event_read_simple()

Completed in 51 milliseconds