Home
last modified time | relevance | path

Searched refs:used_btfs (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/include/linux/
Dbpf_verifier.h618 struct btf_mod_pair used_btfs[MAX_USED_BTFS]; /* array of BTF's used by BPF program */ member
Dbpf.h1433 struct btf_mod_pair *used_btfs; member
2747 struct btf_mod_pair *used_btfs, u32 len);
/linux-6.6.21/kernel/bpf/
Dcore.c2688 struct btf_mod_pair *used_btfs, u32 len) in __bpf_free_used_btfs() argument
2695 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs()
2705 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()
2706 kfree(aux->used_btfs); in bpf_free_used_btfs()
Dverifier.c17433 if (env->used_btfs[i].btf == btf) { in check_pseudo_btf_id()
17444 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
17757 __bpf_free_used_btfs(env->prog->aux, env->used_btfs, in release_btfs()
20381 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
20382 sizeof(env->used_btfs[0]), in bpf_check()
20384 if (!env->prog->aux->used_btfs) { in bpf_check()
20389 memcpy(env->prog->aux->used_btfs, env->used_btfs, in bpf_check()
20390 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
20408 if (!env->prog->aux->used_btfs) in bpf_check()