Lines Matching refs:aux
357 prog->aux->ops = tl->ops; in find_prog_type()
393 BUG_ON(!prog->aux->ops->get_func_proto); in fixup_bpf_calls()
395 fn = prog->aux->ops->get_func_proto(insn->imm); in fixup_bpf_calls()
406 static void free_used_maps(struct bpf_prog_aux *aux) in free_used_maps() argument
410 for (i = 0; i < aux->used_map_cnt; i++) in free_used_maps()
411 bpf_map_put(aux->used_maps[i]); in free_used_maps()
413 kfree(aux->used_maps); in free_used_maps()
418 if (atomic_dec_and_test(&prog->aux->refcnt)) { in bpf_prog_put()
419 free_used_maps(prog->aux); in bpf_prog_put()
467 atomic_inc(&prog->aux->refcnt); in bpf_prog_get()
518 atomic_set(&prog->aux->refcnt, 1); in bpf_prog_load()
545 free_used_maps(prog->aux); in bpf_prog_load()