Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/benchs/
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()
/Linux-v5.15/tools/include/linux/
Dring_buffer.h71 smp_store_release(&base->data_tail, tail); in ring_buffer_write_tail()
/Linux-v5.15/tools/memory-model/Documentation/
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
398 The kernel's control dependency between the load from ->data_tail
400 between the load from data and the store to ->data_tail prevents
/Linux-v5.15/include/uapi/linux/
Dperf_event.h670 __u64 data_tail; /* user-space written tail */ member
/Linux-v5.15/tools/include/uapi/linux/
Dperf_event.h670 __u64 data_tail; /* user-space written tail */ member
/Linux-v5.15/kernel/events/
Dring_buffer.c193 tail = READ_ONCE(rb->user_page->data_tail); in __perf_output_begin()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.c9750 __u64 data_tail = header->data_tail; in bpf_perf_event_read_simple() local
9756 while (data_head != data_tail) { in bpf_perf_event_read_simple()
9757 ehdr = base + (data_tail & (mmap_size - 1)); in bpf_perf_event_read_simple()
9782 data_tail += ehdr_size; in bpf_perf_event_read_simple()
9787 ring_buffer_write_tail(header, data_tail); in bpf_perf_event_read_simple()