Home
last modified time | relevance | path

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

/linux/include/linux/
A Dbpf_verifier.h430 u32 used_btf_cnt; /* number of used BTF objects */ member
A Dbpf.h854 u32 used_btf_cnt; member
/linux/kernel/bpf/
A Dverifier.c11553 for (i = 0; i < env->used_btf_cnt; i++) { in check_pseudo_btf_id()
11560 if (env->used_btf_cnt >= MAX_USED_BTFS) { in check_pseudo_btf_id()
11565 btf_mod = &env->used_btfs[env->used_btf_cnt]; in check_pseudo_btf_id()
11578 env->used_btf_cnt++; in check_pseudo_btf_id()
11921 env->used_btf_cnt); in release_btfs()
14103 if (env->used_btf_cnt) { in bpf_check()
14105 env->prog->aux->used_btfs = kmalloc_array(env->used_btf_cnt, in bpf_check()
14114 sizeof(env->used_btfs[0]) * env->used_btf_cnt); in bpf_check()
14115 env->prog->aux->used_btf_cnt = env->used_btf_cnt; in bpf_check()
14117 if (env->used_map_cnt || env->used_btf_cnt) { in bpf_check()
A Dcore.c2264 __bpf_free_used_btfs(aux, aux->used_btfs, aux->used_btf_cnt); in bpf_free_used_btfs()

Completed in 38 milliseconds