Searched refs:used_btfs (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/include/linux/ |
D | bpf_verifier.h | 504 struct btf_mod_pair used_btfs[MAX_USED_BTFS]; /* array of BTF's used by BPF program */ member
|
D | bpf.h | 1170 struct btf_mod_pair *used_btfs; member 2335 struct btf_mod_pair *used_btfs, u32 len);
|
/linux-6.1.9/kernel/bpf/ |
D | core.c | 2512 struct btf_mod_pair *used_btfs, u32 len) in __bpf_free_used_btfs() argument 2519 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs() 2529 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs() 2530 kfree(aux->used_btfs); in bpf_free_used_btfs()
|
D | verifier.c | 12651 if (env->used_btfs[i].btf == btf) { in check_pseudo_btf_id() 12662 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id() 12970 __bpf_free_used_btfs(env->prog->aux, env->used_btfs, in release_btfs() 15394 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check() 15395 sizeof(env->used_btfs[0]), in bpf_check() 15397 if (!env->prog->aux->used_btfs) { in bpf_check() 15402 memcpy(env->prog->aux->used_btfs, env->used_btfs, in bpf_check() 15403 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check() 15421 if (!env->prog->aux->used_btfs) in bpf_check()
|