Home
last modified time | relevance | path

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

/kernel/bpf/
Dcore.c2515 struct btf_mod_pair *used_btfs, u32 len) in __bpf_free_used_btfs() argument
2522 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs()
2532 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()
2533 kfree(aux->used_btfs); in bpf_free_used_btfs()
Dverifier.c12925 if (env->used_btfs[i].btf == btf) { in check_pseudo_btf_id()
12936 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
13244 __bpf_free_used_btfs(env->prog->aux, env->used_btfs, in release_btfs()
15680 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
15681 sizeof(env->used_btfs[0]), in bpf_check()
15683 if (!env->prog->aux->used_btfs) { in bpf_check()
15688 memcpy(env->prog->aux->used_btfs, env->used_btfs, in bpf_check()
15689 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
15707 if (!env->prog->aux->used_btfs) in bpf_check()