Home
last modified time | relevance | path

Searched refs:total_len (Results 1 – 3 of 3) sorted by relevance

/kernel/bpf/
Dringbuf.c646 u32 hdr_len, sample_len, total_len, flags, *hdr; in __bpf_user_ringbuf_peek() local
664 total_len = round_up(sample_len + BPF_RINGBUF_HDR_SZ, 8); in __bpf_user_ringbuf_peek()
667 if (total_len > prod_pos - cons_pos) in __bpf_user_ringbuf_peek()
671 if (total_len > ringbuf_total_data_sz(rb)) in __bpf_user_ringbuf_peek()
685 smp_store_release(&rb->consumer_pos, cons_pos + total_len); in __bpf_user_ringbuf_peek()
/kernel/
Drelay.c1115 unsigned int pidx, poff, total_len, subbuf_pages, nr_pages; in subbuf_splice_actor() local
1152 for (total_len = 0; spd.nr_pages < nr_pages; spd.nr_pages++) { in subbuf_splice_actor()
1154 unsigned int cur_pos = read_start + total_len; in subbuf_splice_actor()
1174 total_len += this_len; in subbuf_splice_actor()
1189 if (ret < 0 || ret < total_len) in subbuf_splice_actor()
/kernel/trace/
Dring_buffer.c6373 unsigned long total_len = 0; in test_ringbuffer() local
6405 total_len += ring_buffer_event_length(event); in test_ringbuffer()
6425 pr_info(" recorded len bytes: %ld\n", total_len); in test_ringbuffer()
6431 if (RB_WARN_ON(buffer, total_len != total_alloc || in test_ringbuffer()