Lines Matching refs:bpf_stream_elem

101 	int min = offsetof(struct bpf_stream_elem, str[0]);  in bpf_stream_page_check_room()
112 static void bpf_stream_elem_init(struct bpf_stream_elem *elem, int len) in bpf_stream_elem_init()
119 static struct bpf_stream_page *bpf_stream_page_from_elem(struct bpf_stream_elem *elem) in bpf_stream_page_from_elem()
126 static struct bpf_stream_elem *bpf_stream_page_push_elem(struct bpf_stream_page *stream_page, int l… in bpf_stream_page_push_elem()
130 stream_page->consumed += round_up(offsetof(struct bpf_stream_elem, str[len]), 8); in bpf_stream_page_push_elem()
131 return (struct bpf_stream_elem *)&stream_page->buf[consumed]; in bpf_stream_page_push_elem()
134 static struct bpf_stream_elem *bpf_stream_page_reserve_elem(int len) in bpf_stream_page_reserve_elem()
136 struct bpf_stream_elem *elem = NULL; in bpf_stream_page_reserve_elem()
160 static struct bpf_stream_elem *bpf_stream_elem_alloc(int len) in bpf_stream_elem_alloc()
163 struct bpf_stream_elem *elem; in bpf_stream_elem_alloc()
184 struct bpf_stream_elem *elem = NULL; in __bpf_stream_push_str()
211 static void bpf_stream_release_capacity(struct bpf_stream *stream, struct bpf_stream_elem *elem) in bpf_stream_release_capacity()
232 static void bpf_stream_free_elem(struct bpf_stream_elem *elem) in bpf_stream_free_elem()
242 struct bpf_stream_elem *elem, *tmp; in bpf_stream_free_list()
287 static bool bpf_stream_consume_elem(struct bpf_stream_elem *elem, int *len) in bpf_stream_consume_elem()
301 struct bpf_stream_elem *elem = NULL; in bpf_stream_read()