Lines Matching refs:aux
225 static struct bpf_stream *bpf_stream_get(enum bpf_stream_id stream_id, struct bpf_prog_aux *aux) in bpf_stream_get() argument
229 return &aux->stream[stream_id - 1]; in bpf_stream_get()
346 stream = bpf_stream_get(stream_id, prog->aux); in bpf_prog_stream_read()
364 struct bpf_prog_aux *aux = aux__prog; in bpf_stream_vprintk() local
370 stream = bpf_stream_get(stream_id, aux); in bpf_stream_vprintk()
399 for (i = 0; i < ARRAY_SIZE(prog->aux->stream); i++) { in bpf_prog_stream_init()
400 atomic_set(&prog->aux->stream[i].capacity, 0); in bpf_prog_stream_init()
401 init_llist_head(&prog->aux->stream[i].log); in bpf_prog_stream_init()
402 mutex_init(&prog->aux->stream[i].lock); in bpf_prog_stream_init()
403 prog->aux->stream[i].backlog_head = NULL; in bpf_prog_stream_init()
404 prog->aux->stream[i].backlog_tail = NULL; in bpf_prog_stream_init()
413 for (i = 0; i < ARRAY_SIZE(prog->aux->stream); i++) { in bpf_prog_stream_free()
414 list = llist_del_all(&prog->aux->stream[i].log); in bpf_prog_stream_free()
416 bpf_stream_free_list(prog->aux->stream[i].backlog_head); in bpf_prog_stream_free()
460 stream = bpf_stream_get(stream_id, prog->aux); in bpf_stream_stage_commit()