Lines Matching defs:prog
77 int bpf_struct_ops_test_run(struct bpf_prog *prog, const union bpf_attr *kattr,
90 if (prog->aux->attach_btf_id != st_ops->type_id)
93 func_proto = prog->aux->attach_func_proto;
116 /* prog doesn't take the ownership of the reference from caller */
117 bpf_prog_inc(prog);
118 bpf_link_init(&link->link, BPF_LINK_TYPE_STRUCT_OPS, &bpf_struct_ops_link_lops, prog);
120 op_idx = prog->expected_attach_type;
151 const struct bpf_prog *prog,
154 return bpf_tracing_btf_ctx_access(off, size, type, prog, info);
159 const struct bpf_prog *prog)
167 if (prog->aux->sleepable)