Searched refs:btf_mod (Results 1 – 3 of 3) sorted by relevance
6174 btf_mod = kzalloc(sizeof(*btf_mod), GFP_KERNEL); in btf_module_notify()6175 if (!btf_mod) { in btf_module_notify()6183 kfree(btf_mod); in btf_module_notify()6190 kfree(btf_mod); in btf_module_notify()6195 btf_mod->module = module; in btf_module_notify()6196 btf_mod->btf = btf; in btf_module_notify()6234 if (btf_mod->sysfs_attr) in btf_module_notify()6236 btf_put(btf_mod->btf); in btf_module_notify()6238 kfree(btf_mod); in btf_module_notify()6269 if (btf_mod->btf != btf) in btf_try_get_module()[all …]
2250 struct btf_mod_pair *btf_mod; in __bpf_free_used_btfs() local2254 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs()2255 if (btf_mod->module) in __bpf_free_used_btfs()2256 module_put(btf_mod->module); in __bpf_free_used_btfs()2257 btf_put(btf_mod->btf); in __bpf_free_used_btfs()
6703 struct module *btf_mod = NULL; in check_kfunc_call() local6712 desc_btf = find_kfunc_desc_btf(env, insn->imm, insn->off, &btf_mod); in check_kfunc_call()6722 !env->ops->check_kfunc_call(func_id, btf_mod)) { in check_kfunc_call()11462 struct btf_mod_pair *btf_mod; in check_pseudo_btf_id() local11565 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()11566 btf_mod->btf = btf; in check_pseudo_btf_id()11567 btf_mod->module = NULL; in check_pseudo_btf_id()11571 btf_mod->module = btf_try_get_module(btf); in check_pseudo_btf_id()11572 if (!btf_mod->module) { in check_pseudo_btf_id()
Completed in 649 milliseconds