Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dbpf_verifier.h506 u32 used_btf_cnt; /* number of used BTF objects */ member
Dbpf.h1130 u32 used_btf_cnt; member
/linux-6.1.9/kernel/bpf/
Dverifier.c12650 for (i = 0; i < env->used_btf_cnt; i++) { in check_pseudo_btf_id()
12657 if (env->used_btf_cnt >= MAX_USED_BTFS) { in check_pseudo_btf_id()
12662 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
12675 env->used_btf_cnt++; in check_pseudo_btf_id()
12971 env->used_btf_cnt); in release_btfs()
15392 if (env->used_btf_cnt) { in bpf_check()
15394 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
15403 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
15404 env->prog->aux->used_btf_cnt = env->used_btf_cnt; in bpf_check()
15406 if (env->used_map_cnt || env->used_btf_cnt) { in bpf_check()
Dcore.c2529 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()