Searched refs:total_len (Results 1 – 3 of 3) sorted by relevance
/kernel/bpf/ |
D | ringbuf.c | 646 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/ |
D | relay.c | 1115 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/ |
D | ring_buffer.c | 6373 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()
|