Searched refs:data_head (Results 1 - 10 of 10) 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
59 return smp_load_acquire(&base->data_head);
61 u64 head = READ_ONCE(base->data_head);
/linux-master/drivers/staging/vt6656/
H A Drxtx.h95 struct vnt_tx_datahead_g data_head; member in struct:vnt_rts_g
103 struct vnt_tx_datahead_ab data_head; member in struct:vnt_rts_ab
113 struct vnt_tx_datahead_g data_head; member in struct:vnt_cts
H A Drxtx.c249 vnt_rxtx_datahead_g(tx_context, &buf->data_head);
265 vnt_rxtx_datahead_ab(tx_context, &buf->data_head);
287 vnt_rxtx_datahead_g(tx_context, &buf->data_head);
/linux-master/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmisc.c205 unsigned long data_head, data_tail; local
215 data_head = metadata_page->data_head;
228 * data_head points to head in data buffer.
232 if (data_head - data_tail < sizeof(header))
244 if ((metadata_page->data_tail + *size) > metadata_page->data_head)
245 data_tail = metadata_page->data_head;
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c483 __u64 data_head, data_tail; local
502 data_head = ring_buffer_read_head(header);
504 while (data_head != data_tail) {
/linux-master/include/uapi/linux/
H A Dperf_event.h711 * User-space reading the @data_head value should issue an smp_rmb(),
724 __u64 data_head; /* head in the data section */ member in struct:perf_event_mmap_page
/linux-master/tools/include/uapi/linux/
H A Dperf_event.h711 * User-space reading the @data_head value should issue an smp_rmb(),
724 __u64 data_head; /* head in the data section */ member in struct:perf_event_mmap_page
/linux-master/kernel/events/
H A Dring_buffer.c58 * @rb->user_page->data_head.
88 * if (LOAD ->data_tail) { LOAD ->data_head
92 * STORE ->data_head STORE ->data_tail
110 WRITE_ONCE(rb->user_page->data_head, head);
H A Dcore.c13771 * Build time assertion that we keep the data_head at the intended
13774 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head))
/linux-master/tools/lib/bpf/
H A Dlibbpf.c12789 __u64 data_head = ring_buffer_read_head(header); local
12796 while (data_head != data_tail) {

Completed in 244 milliseconds