Lines Matching refs:btf_id
2322 struct btf *attach_btf, u32 btf_id, in bpf_prog_load_check_attach() argument
2325 if (btf_id) { in bpf_prog_load_check_attach()
2326 if (btf_id > BTF_MAX_TYPE) in bpf_prog_load_check_attach()
2343 if (attach_btf && (!btf_id || dst_prog)) in bpf_prog_load_check_attach()
2960 u32 btf_id, in bpf_tracing_prog_attach() argument
2996 if (!!tgt_prog_fd != !!btf_id) { in bpf_tracing_prog_attach()
3015 key = bpf_trampoline_compute_key(tgt_prog, NULL, btf_id); in bpf_tracing_prog_attach()
3069 btf_id = prog->aux->attach_btf_id; in bpf_tracing_prog_attach()
3070 key = bpf_trampoline_compute_key(NULL, prog->aux->attach_btf, btf_id); in bpf_tracing_prog_attach()
3081 err = bpf_check_attach_target(NULL, prog, tgt_prog, btf_id, in bpf_tracing_prog_attach()
4120 info.btf_id = btf_obj_id(prog->aux->btf); in bpf_prog_get_info_by_fd()
4228 info.btf_id = btf_obj_id(map->btf); in bpf_map_get_info_by_fd()
4347 #define BPF_BTF_GET_FD_BY_ID_LAST_FIELD btf_id
4357 return btf_get_fd_by_id(attr->btf_id); in bpf_btf_get_fd_by_id()