Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dbpf_verifier.h620 u32 used_btf_cnt; /* number of used BTF objects */ member
Dbpf.h1392 u32 used_btf_cnt; member
/linux-6.6.21/kernel/bpf/
Dverifier.c17432 for (i = 0; i < env->used_btf_cnt; i++) { in check_pseudo_btf_id()
17439 if (env->used_btf_cnt >= MAX_USED_BTFS) { in check_pseudo_btf_id()
17444 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
17457 env->used_btf_cnt++; in check_pseudo_btf_id()
17758 env->used_btf_cnt); in release_btfs()
20379 if (env->used_btf_cnt) { in bpf_check()
20381 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
20390 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
20391 env->prog->aux->used_btf_cnt = env->used_btf_cnt; in bpf_check()
20393 if (env->used_map_cnt || env->used_btf_cnt) { in bpf_check()
Dcore.c2705 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()