Searched refs:data_head (Results 1 – 12 of 12) sorted by relevance
212 unsigned long data_head, data_tail; in __event_read_samples() 222 data_head = metadata_page->data_head; in __event_read_samples() 235 * data_head points to head in data buffer. in __event_read_samples() 239 if (data_head - data_tail < sizeof(header)) in __event_read_samples() 251 if ((metadata_page->data_tail + *size) > metadata_page->data_head) in __event_read_samples() 252 data_tail = metadata_page->data_head; in __event_read_samples() 205 unsigned long data_head, data_tail; __event_read_samples() local
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()
11 struct pcache_cache_data_head *data_head; in cache_data_head_init() local13 data_head = get_data_head(cache); in cache_data_head_init()19 data_head->head_pos.cache_seg = next_seg; in cache_data_head_init()20 data_head->head_pos.seg_off = 0; in cache_data_head_init()38 struct pcache_cache_data_head *data_head; in cache_data_alloc() local46 data_head = get_data_head(cache); in cache_data_alloc()49 if (!data_head->head_pos.cache_seg) { in cache_data_alloc()52 cache_pos_copy(&key->cache_pos, &data_head->head_pos); in cache_data_alloc()55 head_pos = &data_head->head_pos; in cache_data_alloc()
150 unsigned long data_tail, data_head; in rb_read() 155 data_head = rb->data_head; in rb_read() 159 if ((data_head - data_tail) < size) in rb_read() 170 size_t data_head = rb->data_head; in rb_skip() 174 if ((rb->data_tail + size) > data_head) in rb_skip() 175 rb->data_tail = data_head; in rb_skip() 151 unsigned long data_tail, data_head; rb_read() local 171 size_t data_head = rb->data_head; rb_skip() local
536 __u64 data_head, data_tail;555 data_head = ring_buffer_read_head(header);557 while (data_head != data_tail) {483 __u64 data_head, data_tail; perfbuf_custom_consumer() local
338 * if (LOAD ->data_tail) { LOAD ->data_head342 * STORE ->data_head STORE ->data_tail393 * if (LOAD ->data_tail) { LOAD ->data_head397 * STORE ->data_head STORE ->data_tail
749 __u64 data_head; /* head in the data section */ member
114 WRITE_ONCE(rb->user_page->data_head, head); in perf_output_put_handle()
15332 * Build time assertion that we keep the data_head at the intended in perf_event_sysfs_init() 15335 BUILD_BUG_ON((offsetof(struct perf_event_mmap_page, data_head)) in perf_event_sysfs_init()
332 __u32 data_head; /* head in the data section */
14156 __u64 data_head = ring_buffer_read_head(header); in bpf_program__set_attach_target() 14163 while (data_head != data_tail) { in bpf_program__set_attach_target() 13576 __u64 data_head = ring_buffer_read_head(header); perf_event_read_simple() local