Lines Matching full:consumed
22 * given all the individual records in it have been consumed.
25 * programs, which may be consumed at different times individually, hence
34 u32 consumed;
39 #define BPF_STREAM_PAGE_SZ (PAGE_SIZE - offsetofend(struct bpf_stream_page, consumed))
78 stream_page->consumed = 0;
102 int consumed = stream_page->consumed;
104 int rem = max(0, total - consumed - min);
128 u32 consumed = stream_page->consumed;
130 stream_page->consumed += round_up(offsetof(struct bpf_stream_elem, str[len]), 8);
131 return (struct bpf_stream_elem *)&stream_page->buf[consumed];