Lines Matching refs:btf_ext
287 struct btf_ext *btf_ext; member
1424 if (!obj->btf_ext) in bpf_object__sanitize_btf_ext()
1428 btf_ext__free(obj->btf_ext); in bpf_object__sanitize_btf_ext()
1429 obj->btf_ext = NULL; in bpf_object__sanitize_btf_ext()
1465 obj->btf_ext = btf_ext__new(btf_ext_data->d_buf, in bpf_object__init_btf()
1467 if (IS_ERR(obj->btf_ext)) { in bpf_object__init_btf()
1469 BTF_EXT_ELF_SEC, PTR_ERR(obj->btf_ext)); in bpf_object__init_btf()
1470 obj->btf_ext = NULL; in bpf_object__init_btf()
1508 if (obj->btf_ext) { in bpf_object__sanitize_and_load_btf()
1509 btf_ext__free(obj->btf_ext); in bpf_object__sanitize_and_load_btf()
1510 obj->btf_ext = NULL; in bpf_object__sanitize_and_load_btf()
2271 err = btf_ext__reloc_func_info(obj->btf, obj->btf_ext, in bpf_program_reloc_btf_ext()
2280 prog->func_info_rec_size = btf_ext__func_info_rec_size(obj->btf_ext); in bpf_program_reloc_btf_ext()
2284 err = btf_ext__reloc_line_info(obj->btf, obj->btf_ext, in bpf_program_reloc_btf_ext()
2293 prog->line_info_rec_size = btf_ext__line_info_rec_size(obj->btf_ext); in bpf_program_reloc_btf_ext()
3136 seg = &obj->btf_ext->offset_reloc_info; in bpf_core_reloc_offsets()
3181 if (obj->btf_ext->offset_reloc_info.len) in bpf_object__relocate_core()
3218 if (obj->btf_ext) { in bpf_program__reloc_text()
3248 if (obj->btf_ext) { in bpf_program__relocate()
3301 if (obj->btf_ext) { in bpf_object__relocate()
3379 if (prog->obj->btf_ext) in load_program()
4192 btf_ext__free(obj->btf_ext); in bpf_object__close()