/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | ring_buffer.h | 17 * 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 D | ring_buffer.h | 17 * 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 D | misc.c | 205 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 D | rxtx.h | 97 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 D | rxtx.c | 253 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 D | rxtx.h | 95 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 D | rxtx.c | 249 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 D | bench_ringbufs.c | 487 __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 D | bench_ringbufs.c | 483 __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 D | perf_event.h | 314 __u64 data_head; member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | perf_event.h | 628 * 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 D | perf_event.h | 628 * 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 D | perf_event.h | 707 * 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 D | perf_event.h | 707 * 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 D | perf_event.h | 279 __u64 data_head; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | perf_event.h | 279 __u64 data_head; member
|
/kernel/linux/linux-5.10/kernel/events/ |
H A D | ring_buffer.c | 58 * @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 D | core.c | 13227 * 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 D | ring_buffer.c | 58 * @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 D | core.c | 13755 * 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 D | libbpf.c | 9904 __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 D | libbpf.c | 12254 __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()
|