Home
last modified time | relevance | path

Searched refs:btf_modules (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c670 struct module_btf *btf_modules; member
5574 err = libbpf_ensure_mem((void **)&obj->btf_modules, &obj->btf_module_cap, in load_module_btfs()
5575 sizeof(*obj->btf_modules), obj->btf_module_cnt + 1); in load_module_btfs()
5579 mod_btf = &obj->btf_modules[obj->btf_module_cnt++]; in load_module_btfs()
5646 obj->btf_modules[i].btf, in bpf_core_find_cands()
5647 obj->btf_modules[i].name, in bpf_core_find_cands()
7606 mod_btf = &obj->btf_modules[i]; in find_ksym_btf_id()
7957 close(obj->btf_modules[i].fd); in bpf_object_load()
7958 btf__free(obj->btf_modules[i].btf); in bpf_object_load()
7959 free(obj->btf_modules[i].name); in bpf_object_load()
[all …]
/linux-6.6.21/kernel/bpf/
Dbtf.c7336 static LIST_HEAD(btf_modules);
7395 list_add(&btf_mod->list, &btf_modules); in btf_module_notify()
7427 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_module_notify()
7438 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_module_notify()
7478 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_try_get_module()
7517 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_get_module_btf()