Home
last modified time | relevance | path

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

/linux-5.19.10/tools/lib/bpf/
Dlibbpf.c534 struct module_btf *btf_modules; member
5463 err = libbpf_ensure_mem((void **)&obj->btf_modules, &obj->btf_module_cap, in load_module_btfs()
5464 sizeof(*obj->btf_modules), obj->btf_module_cnt + 1); in load_module_btfs()
5468 mod_btf = &obj->btf_modules[obj->btf_module_cnt++]; in load_module_btfs()
5535 obj->btf_modules[i].btf, in bpf_core_find_cands()
5536 obj->btf_modules[i].name, in bpf_core_find_cands()
7620 mod_btf = &obj->btf_modules[i]; in find_ksym_btf_id()
7904 close(obj->btf_modules[i].fd); in bpf_object_load()
7905 btf__free(obj->btf_modules[i].btf); in bpf_object_load()
7906 free(obj->btf_modules[i].name); in bpf_object_load()
[all …]
/linux-5.19.10/kernel/bpf/
Dbtf.c6755 static LIST_HEAD(btf_modules);
6811 list_add(&btf_mod->list, &btf_modules); in btf_module_notify()
6843 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_module_notify()
6854 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_module_notify()
6894 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_try_get_module()
6933 list_for_each_entry_safe(btf_mod, tmp, &btf_modules, list) { in btf_get_module_btf()