Searched refs:btf_mod (Results 1 – 3 of 3) sorted by relevance
7376 btf_mod = kzalloc(sizeof(*btf_mod), GFP_KERNEL); in btf_module_notify()7377 if (!btf_mod) { in btf_module_notify()7383 kfree(btf_mod); in btf_module_notify()7396 kfree(btf_mod); in btf_module_notify()7403 btf_mod->btf = btf; in btf_module_notify()7455 btf_put(btf_mod->btf); in btf_module_notify()7457 kfree(btf_mod); in btf_module_notify()7496 if ((btf_mod->flags & BTF_MODULE_F_LIVE) && try_module_get(btf_mod->module)) in btf_try_get_module()7497 res = btf_mod->module; in btf_try_get_module()7530 btf_get(btf_mod->btf); in btf_get_module_btf()[all …]
2531 struct btf_mod_pair *btf_mod; in __bpf_free_used_btfs() local2535 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs()2536 if (btf_mod->module) in __bpf_free_used_btfs()2537 module_put(btf_mod->module); in __bpf_free_used_btfs()2538 btf_put(btf_mod->btf); in __bpf_free_used_btfs()
14900 struct btf_mod_pair *btf_mod; in check_pseudo_btf_id() local15003 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()15004 btf_mod->btf = btf; in check_pseudo_btf_id()15005 btf_mod->module = NULL; in check_pseudo_btf_id()15009 btf_mod->module = btf_try_get_module(btf); in check_pseudo_btf_id()15010 if (!btf_mod->module) { in check_pseudo_btf_id()
Completed in 54 milliseconds