Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dbpf_verifier.h461 u32 used_btf_cnt; /* number of used BTF objects */ member
Dbpf.h1015 u32 used_btf_cnt; member
/linux-5.19.10/kernel/bpf/
Dverifier.c12455 for (i = 0; i < env->used_btf_cnt; i++) { in check_pseudo_btf_id()
12462 if (env->used_btf_cnt >= MAX_USED_BTFS) { in check_pseudo_btf_id()
12467 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
12480 env->used_btf_cnt++; in check_pseudo_btf_id()
12826 env->used_btf_cnt); in release_btfs()
15106 if (env->used_btf_cnt) { in bpf_check()
15108 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
15117 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
15118 env->prog->aux->used_btf_cnt = env->used_btf_cnt; in bpf_check()
15120 if (env->used_map_cnt || env->used_btf_cnt) { in bpf_check()
Dcore.c2542 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()