Searched refs:used_btfs (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/include/linux/ |
D | bpf_verifier.h | 459 struct btf_mod_pair used_btfs[MAX_USED_BTFS]; /* array of BTF's used by BPF program */ member
|
D | bpf.h | 1055 struct btf_mod_pair *used_btfs; member 2052 struct btf_mod_pair *used_btfs, u32 len);
|
/linux-5.19.10/kernel/bpf/ |
D | core.c | 2525 struct btf_mod_pair *used_btfs, u32 len) in __bpf_free_used_btfs() argument 2532 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs() 2542 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs() 2543 kfree(aux->used_btfs); in bpf_free_used_btfs()
|
D | verifier.c | 12456 if (env->used_btfs[i].btf == btf) { in check_pseudo_btf_id() 12467 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id() 12825 __bpf_free_used_btfs(env->prog->aux, env->used_btfs, in release_btfs() 15108 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check() 15109 sizeof(env->used_btfs[0]), in bpf_check() 15111 if (!env->prog->aux->used_btfs) { in bpf_check() 15116 memcpy(env->prog->aux->used_btfs, env->used_btfs, in bpf_check() 15117 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check() 15135 if (!env->prog->aux->used_btfs) in bpf_check()
|