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

/linux-master/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);
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.c205 unsigned long data_head, data_tail; local
218 data_tail = metadata_page->data_tail;
227 * the data_tail to know the last read data.
232 if (data_head - data_tail < sizeof(header))
235 data_tail += sizeof(header);
239 return sample_buff + page_size + data_tail;
240 data_tail += *size;
244 if ((metadata_page->data_tail + *size) > metadata_page->data_head)
245 data_tail
[all...]
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c483 __u64 data_head, data_tail; local
503 data_tail = header->data_tail;
504 while (data_head != data_tail) {
505 ehdr = base + (data_tail & mmap_mask);
511 data_tail += ehdr_size;
513 ring_buffer_write_tail(header, data_tail);
/linux-master/include/uapi/linux/
H A Dperf_event.h714 * When the mapping is PROT_WRITE the @data_tail value should be
716 * an smp_mb() to separate the data read from the ->data_tail store.
725 __u64 data_tail; /* user-space written tail */ member in struct:perf_event_mmap_page
/linux-master/tools/include/uapi/linux/
H A Dperf_event.h714 * When the mapping is PROT_WRITE the @data_tail value should be
716 * an smp_mb() to separate the data read from the ->data_tail store.
725 __u64 data_tail; /* user-space written tail */ member in struct:perf_event_mmap_page
/linux-master/kernel/events/
H A Dring_buffer.c88 * if (LOAD ->data_tail) { LOAD ->data_head
92 * STORE ->data_head STORE ->data_tail
98 * the ->data_tail and the stores of $data. In case ->data_tail
197 tail = READ_ONCE(rb->user_page->data_tail);
/linux-master/tools/lib/bpf/
H A Dlibbpf.c12790 __u64 data_tail = header->data_tail; local
12796 while (data_head != data_tail) {
12797 ehdr = base + (data_tail & (mmap_size - 1));
12822 data_tail += ehdr_size;
12827 ring_buffer_write_tail(header, data_tail);

Completed in 170 milliseconds