Lines Matching refs:attach_btf_id
485 __u32 attach_btf_id; member
1260 if (!prog->attach_btf_id) { in bpf_map__init_kern_struct_ops()
1261 prog->attach_btf_id = kern_type_id; in bpf_map__init_kern_struct_ops()
1270 if (prog->attach_btf_id != kern_type_id) { in bpf_map__init_kern_struct_ops()
1273 prog->attach_btf_id, kern_type_id); in bpf_map__init_kern_struct_ops()
7358 if ((def & SEC_ATTACH_BTF) && !prog->attach_btf_id) { in libbpf_prepare_prog_load()
7385 prog->attach_btf_id = btf_type_id; in libbpf_prepare_prog_load()
7393 opts->attach_btf_id = btf_type_id; in libbpf_prepare_prog_load()
7426 if (prog->attach_btf_id == 0) { in bpf_object_load_prog()
7443 load_attr.attach_btf_id = prog->attach_btf_id; in bpf_object_load_prog()
13614 prog->attach_btf_id = btf_id; in bpf_program__set_attach_target()