Home
last modified time | relevance | path

Searched refs:data_head (Results 1 - 22 of 22) sorted by relevance

/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
59 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()
/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
59 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()
/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
215 data_head = metadata_page->data_head; in __event_read_samples()
228 * data_head points to head in data buffer. in __event_read_samples()
232 if (data_head - data_tail < sizeof(header)) in __event_read_samples()
244 if ((metadata_page->data_tail + *size) > metadata_page->data_head) in __event_read_samples()
245 data_tail = metadata_page->data_head; in __event_read_samples()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
H A Drxtx.h97 struct vnt_tx_datahead_g data_head; member
105 struct vnt_tx_datahead_ab data_head; member
115 struct vnt_tx_datahead_g data_head; member
H A Drxtx.c253 vnt_rxtx_datahead_g(tx_context, &buf->data_head); in vnt_rxtx_rts_g_head()
269 vnt_rxtx_datahead_ab(tx_context, &buf->data_head); in vnt_rxtx_rts_ab_head()
291 vnt_rxtx_datahead_g(tx_context, &buf->data_head); in vnt_fill_cts_head()
/kernel/linux/linux-6.6/drivers/staging/vt6656/
H A Drxtx.h95 struct vnt_tx_datahead_g data_head; member
103 struct vnt_tx_datahead_ab data_head; member
113 struct vnt_tx_datahead_g data_head; member
H A Drxtx.c249 vnt_rxtx_datahead_g(tx_context, &buf->data_head); in vnt_rxtx_rts_g_head()
265 vnt_rxtx_datahead_ab(tx_context, &buf->data_head); in vnt_rxtx_rts_ab_head()
287 vnt_rxtx_datahead_g(tx_context, &buf->data_head); in vnt_fill_cts_head()
/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
506 data_head = ring_buffer_read_head(header); in perfbuf_custom_consumer()
508 while (data_head != 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
502 data_head = ring_buffer_read_head(header); in perfbuf_custom_consumer()
504 while (data_head != data_tail) { in perfbuf_custom_consumer()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dperf_event.h314 __u64 data_head; member
/kernel/linux/linux-5.10/tools/include/uapi/linux/
H A Dperf_event.h628 * User-space reading the @data_head value should issue an smp_rmb(),
641 __u64 data_head; /* head in the data section */ member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dperf_event.h628 * User-space reading the @data_head value should issue an smp_rmb(),
641 __u64 data_head; /* head in the data section */ member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dperf_event.h707 * User-space reading the @data_head value should issue an smp_rmb(),
720 __u64 data_head; /* head in the data section */ member
/kernel/linux/linux-6.6/tools/include/uapi/linux/
H A Dperf_event.h707 * User-space reading the @data_head value should issue an smp_rmb(),
720 __u64 data_head; /* head in the data section */ member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dperf_event.h279 __u64 data_head; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dperf_event.h279 __u64 data_head; member
/kernel/linux/linux-5.10/kernel/events/
H A Dring_buffer.c58 * @rb->user_page->data_head. in perf_output_put_handle()
88 * if (LOAD ->data_tail) { LOAD ->data_head in perf_output_put_handle()
92 * STORE ->data_head STORE ->data_tail in perf_output_put_handle()
110 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
H A Dcore.c13227 * Build time assertion that we keep the data_head at the intended in perf_event_init()
13230 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head)) in perf_event_init()
/kernel/linux/linux-6.6/kernel/events/
H A Dring_buffer.c58 * @rb->user_page->data_head. in perf_output_put_handle()
88 * if (LOAD ->data_tail) { LOAD ->data_head in perf_output_put_handle()
92 * STORE ->data_head STORE ->data_tail in perf_output_put_handle()
110 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
H A Dcore.c13755 * Build time assertion that we keep the data_head at the intended in perf_event_init()
13758 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head)) in perf_event_init()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf.c9904 __u64 data_head = ring_buffer_read_head(header); in bpf_perf_event_read_simple() local
9911 while (data_head != data_tail) { in bpf_perf_event_read_simple()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlibbpf.c12254 __u64 data_head = ring_buffer_read_head(header); in perf_event_read_simple() local
12261 while (data_head != data_tail) { in perf_event_read_simple()

Completed in 103 milliseconds