Home
last modified time | relevance | path

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

/linux/include/linux/
A Dbpf_verifier.h428 struct btf_mod_pair used_btfs[MAX_USED_BTFS]; /* array of BTF's used by BPF program */ member
A Dbpf.h894 struct btf_mod_pair *used_btfs; member
1947 struct btf_mod_pair *used_btfs, u32 len);
/linux/kernel/bpf/
A Dcore.c2247 struct btf_mod_pair *used_btfs, u32 len) in __bpf_free_used_btfs() argument
2254 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs()
2264 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()
2265 kfree(aux->used_btfs); in bpf_free_used_btfs()
A Dverifier.c11554 if (env->used_btfs[i].btf == btf) { in check_pseudo_btf_id()
11565 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
11920 __bpf_free_used_btfs(env->prog->aux, env->used_btfs, in release_btfs()
14105 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
14106 sizeof(env->used_btfs[0]), in bpf_check()
14108 if (!env->prog->aux->used_btfs) { in bpf_check()
14113 memcpy(env->prog->aux->used_btfs, env->used_btfs, in bpf_check()
14114 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
14132 if (!env->prog->aux->used_btfs) in bpf_check()

Completed in 36 milliseconds