Lines Matching refs:aux
85 static struct bpf_stream *bpf_stream_get(enum bpf_stream_id stream_id, struct bpf_prog_aux *aux) in bpf_stream_get() argument
89 return &aux->stream[stream_id - 1]; in bpf_stream_get()
203 stream = bpf_stream_get(stream_id, prog->aux); in bpf_prog_stream_read()
222 struct bpf_prog_aux *aux = aux__prog; in bpf_stream_vprintk_impl() local
228 stream = bpf_stream_get(stream_id, aux); in bpf_stream_vprintk_impl()
257 for (i = 0; i < ARRAY_SIZE(prog->aux->stream); i++) { in bpf_prog_stream_init()
258 atomic_set(&prog->aux->stream[i].capacity, 0); in bpf_prog_stream_init()
259 init_llist_head(&prog->aux->stream[i].log); in bpf_prog_stream_init()
260 mutex_init(&prog->aux->stream[i].lock); in bpf_prog_stream_init()
261 prog->aux->stream[i].backlog_head = NULL; in bpf_prog_stream_init()
262 prog->aux->stream[i].backlog_tail = NULL; in bpf_prog_stream_init()
271 for (i = 0; i < ARRAY_SIZE(prog->aux->stream); i++) { in bpf_prog_stream_free()
272 list = llist_del_all(&prog->aux->stream[i].log); in bpf_prog_stream_free()
274 bpf_stream_free_list(prog->aux->stream[i].backlog_head); in bpf_prog_stream_free()
318 stream = bpf_stream_get(stream_id, prog->aux); in bpf_stream_stage_commit()