Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dbpf_verifier.h618 struct btf_mod_pair used_btfs[MAX_USED_BTFS]; /* array of BTF's used by BPF program */ member
H A Dbpf.h1447 struct btf_mod_pair *used_btfs; member
2775 struct btf_mod_pair *used_btfs, u32 len);
/openbmc/linux/kernel/bpf/
H A Dcore.c2714 struct btf_mod_pair *used_btfs, u32 len) in __bpf_free_used_btfs() argument
2721 btf_mod = &used_btfs[i]; in __bpf_free_used_btfs()
2731 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()
2732 kfree(aux->used_btfs); in bpf_free_used_btfs()
H A Dverifier.c17462 if (env->used_btfs[i].btf == btf) { in check_pseudo_btf_id()
17473 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
17787 __bpf_free_used_btfs(env->prog->aux, env->used_btfs, in release_btfs()
20411 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
20412 sizeof(env->used_btfs[0]), in bpf_check()
20414 if (!env->prog->aux->used_btfs) { in bpf_check()
20419 memcpy(env->prog->aux->used_btfs, env->used_btfs, in bpf_check()
20420 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
20438 if (!env->prog->aux->used_btfs) in bpf_check()