• Home
  • Raw
  • Download

Lines Matching refs:aux

5336 	struct bpf_prog *tgt_prog = prog->aux->dst_prog;  in bpf_prog_get_target_btf()
5339 return tgt_prog->aux->btf; in bpf_prog_get_target_btf()
5341 return prog->aux->attach_btf; in bpf_prog_get_target_btf()
5384 const struct btf_type *t = prog->aux->attach_func_proto; in btf_ctx_access()
5385 struct bpf_prog *tgt_prog = prog->aux->dst_prog; in btf_ctx_access()
5387 const char *tname = prog->aux->attach_func_name; in btf_ctx_access()
5405 if (prog->aux->attach_btf_trace) { in btf_ctx_access()
5482 for (i = 0; i < prog->aux->ctx_arg_info_size; i++) { in btf_ctx_access()
5483 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access()
5506 for (i = 0; i < prog->aux->ctx_arg_info_size; i++) { in btf_ctx_access()
5507 const struct bpf_ctx_arg_aux *ctx_arg_info = &prog->aux->ctx_arg_info[i]; in btf_ctx_access()
5527 tgt_type = tgt_prog->aux->saved_dst_prog_type; in btf_ctx_access()
6129 struct btf *btf1 = prog->aux->btf; in btf_check_type_match()
6133 if (!prog->aux->func_info) { in btf_check_type_match()
6138 btf_id = prog->aux->func_info[0].type_id; in btf_check_type_match()
6578 if (sleepable && !env->prog->aux->sleepable) { in btf_check_func_arg_match()
6602 struct btf *btf = prog->aux->btf; in btf_check_subprog_arg_match()
6607 if (!prog->aux->func_info) in btf_check_subprog_arg_match()
6610 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_arg_match()
6614 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_arg_match()
6617 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_arg_match()
6625 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_arg_match()
6645 struct btf *btf = prog->aux->btf; in btf_check_subprog_call()
6650 if (!prog->aux->func_info) in btf_check_subprog_call()
6653 btf_id = prog->aux->func_info[subprog].type_id; in btf_check_subprog_call()
6657 if (prog->aux->func_info_aux[subprog].unreliable) in btf_check_subprog_call()
6660 is_global = prog->aux->func_info_aux[subprog].linkage == BTF_FUNC_GLOBAL; in btf_check_subprog_call()
6668 prog->aux->func_info_aux[subprog].unreliable = true; in btf_check_subprog_call()
6693 struct btf *btf = prog->aux->btf; in btf_prepare_func_args()
6699 if (!prog->aux->func_info || in btf_prepare_func_args()
6700 prog->aux->func_info_aux[subprog].linkage != BTF_FUNC_GLOBAL) { in btf_prepare_func_args()
6705 btf_id = prog->aux->func_info[subprog].type_id; in btf_prepare_func_args()
6726 if (prog->aux->func_info_aux[subprog].unreliable) { in btf_prepare_func_args()
6731 prog_type = prog->aux->dst_prog->type; in btf_prepare_func_args()