Searched refs:btf_modules (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
D | libbpf.c | 711 struct module_btf *btf_modules; member 5648 err = libbpf_ensure_mem((void **)&obj->btf_modules, &obj->btf_module_cap, in load_module_btfs() 5649 sizeof(*obj->btf_modules), obj->btf_module_cnt + 1); in load_module_btfs() 5653 mod_btf = &obj->btf_modules[obj->btf_module_cnt++]; in load_module_btfs() 5720 obj->btf_modules[i].btf, in bpf_core_find_cands() 5721 obj->btf_modules[i].name, in bpf_core_find_cands() 8169 mod_btf = &obj->btf_modules[i]; in find_ksym_btf_id() 8531 close(obj->btf_modules[i].fd); in bpf_object_load() 8532 btf__free(obj->btf_modules[i].btf); in bpf_object_load() 8533 free(obj->btf_modules[i].name); in bpf_object_load() [all …]
|
/linux-6.12.1/kernel/bpf/ |
D | btf.c | 7843 static LIST_HEAD(btf_modules); 7903 list_add(&btf_mod->list, &btf_modules); in btf_module_notify() 7935 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_module_notify() 7946 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_module_notify() 7986 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_try_get_module() 8025 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_get_module_btf()
|