Lines Matching refs:gen_loader
511 struct bpf_gen *gen_loader; member
2931 if (obj->btf_vmlinux || obj->gen_loader) in bpf_object__load_vmlinux_btf()
3014 if (obj->gen_loader) { in bpf_object__sanitize_and_load_btf()
3020 bpf_gen__load_btf(obj->gen_loader, raw_data, raw_size); in bpf_object__sanitize_and_load_btf()
4351 if (obj->gen_loader) in bpf_object__probe_loading()
4734 if (obj && obj->gen_loader) in kernel_supports()
4827 if (obj->gen_loader) { in bpf_object__populate_internal_map()
4828 bpf_gen__map_update_elem(obj->gen_loader, map - obj->maps, in bpf_object__populate_internal_map()
4831 bpf_gen__map_freeze(obj->gen_loader, map - obj->maps); in bpf_object__populate_internal_map()
4936 if (obj->gen_loader) { in bpf_object__create_map()
4937 bpf_gen__map_create(obj->gen_loader, def->type, map_name, in bpf_object__create_map()
4970 if (obj->gen_loader) in bpf_object__create_map()
4992 if (obj->gen_loader) { in init_map_in_map_slots()
4993 bpf_gen__populate_outer_map(obj->gen_loader, in init_map_in_map_slots()
5021 if (obj->gen_loader) in init_prog_array_slots()
5265 if (obj->gen_loader) in load_module_btfs()
5569 if (prog->obj->gen_loader) { in bpf_core_apply_relo()
5711 if (obj->gen_loader) { in bpf_object__relocate_data()
5721 if (obj->gen_loader) { in bpf_object__relocate_data()
5739 if (obj->gen_loader) { in bpf_object__relocate_data()
6266 if (obj->gen_loader) in bpf_object__relocate()
6327 if (!obj->gen_loader) in bpf_object__relocate()
6527 if (obj->gen_loader) in bpf_object__sanitize_prog()
6666 if (obj->gen_loader) { in bpf_object_load_prog_instance()
6667 bpf_gen__prog_load(obj->gen_loader, prog->type, prog->name, in bpf_object_load_prog_instance()
6783 bpf_gen__record_extern(obj->gen_loader, ext->name, in bpf_program_record_relos()
6788 bpf_gen__record_extern(obj->gen_loader, ext->name, in bpf_program_record_relos()
6800 bpf_gen__record_relo_core(obj->gen_loader, &cr); in bpf_program_record_relos()
6841 if (obj->gen_loader) in bpf_object_load_prog()
6924 if (obj->gen_loader) in bpf_object__load_progs()
7375 if (obj->gen_loader) { in bpf_object__resolve_ksyms_btf_id()
7490 if (obj->gen_loader) in bpf_object_load()
7491 bpf_gen__init(obj->gen_loader, extra_log_level, obj->nr_programs, obj->nr_maps); in bpf_object_load()
7504 if (obj->gen_loader) { in bpf_object_load()
7511 err = bpf_gen__finish(obj->gen_loader, obj->nr_programs, obj->nr_maps); in bpf_object_load()
8155 bpf_gen__free(obj->gen_loader); in bpf_object__close()
8263 obj->gen_loader = gen; in bpf_object__gen_loader()
9087 if (prog->obj->gen_loader) { in libbpf_find_attach_btf_id()
9088 bpf_gen__record_attach_target(prog->obj->gen_loader, attach_name, attach_type); in libbpf_find_attach_btf_id()