Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dbpf_verifier.h642 u32 used_btf_cnt; /* number of used BTF objects */ member
H A Dbpf.h1406 u32 used_btf_cnt; member
/openbmc/linux/kernel/bpf/
H A Dverifier.c17494 for (i = 0; i < env->used_btf_cnt; i++) { in check_pseudo_btf_id()
17501 if (env->used_btf_cnt >= MAX_USED_BTFS) { in check_pseudo_btf_id()
17506 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
17519 env->used_btf_cnt++; in check_pseudo_btf_id()
17821 env->used_btf_cnt); in release_btfs()
20442 if (env->used_btf_cnt) { in bpf_check()
20444 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
20453 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
20454 env->prog->aux->used_btf_cnt = env->used_btf_cnt; in bpf_check()
20456 if (env->used_map_cnt || env->used_btf_cnt) { in bpf_check()
H A Dcore.c2731 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()