Home
last modified time | relevance | path

Searched refs:used_map_cnt (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/bpf/
A Doffload.c120 for (i = 0; i < prog->aux->used_map_cnt; i++) in nfp_map_ptrs_record()
134 for (i = 0; i < prog->aux->used_map_cnt; i++) in nfp_map_ptrs_record()
/linux/include/linux/
A Dbpf_verifier.h429 u32 used_map_cnt; /* number of used maps */ member
A Dbpf.h853 u32 used_map_cnt; member
/linux/Documentation/bpf/
A Ddrgn.rst128 .used_map_cnt = (u32)1,
/linux/kernel/bpf/
A Dsyscall.c3509 for (i = 0, *off = 0; i < prog->aux->used_map_cnt; i++) { in bpf_map_from_imm()
3646 info.nr_map_ids = prog->aux->used_map_cnt; in bpf_prog_get_info_by_fd()
4558 for (i = 0; i < prog->aux->used_map_cnt; i++) in bpf_prog_bind_map()
4564 used_maps_new = kmalloc_array(prog->aux->used_map_cnt + 1, in bpf_prog_bind_map()
4573 sizeof(used_maps_old[0]) * prog->aux->used_map_cnt); in bpf_prog_bind_map()
4574 used_maps_new[prog->aux->used_map_cnt] = map; in bpf_prog_bind_map()
4576 prog->aux->used_map_cnt++; in bpf_prog_bind_map()
A Dverifier.c11859 for (j = 0; j < env->used_map_cnt; j++) { in resolve_pseudo_ldimm64()
11867 if (env->used_map_cnt >= MAX_USED_MAPS) { in resolve_pseudo_ldimm64()
11879 aux->map_index = env->used_map_cnt; in resolve_pseudo_ldimm64()
11880 env->used_maps[env->used_map_cnt++] = map; in resolve_pseudo_ldimm64()
11914 env->used_map_cnt); in release_maps()
14088 if (env->used_map_cnt) { in bpf_check()
14090 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check()
14100 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check()
14101 env->prog->aux->used_map_cnt = env->used_map_cnt; in bpf_check()
14117 if (env->used_map_cnt || env->used_btf_cnt) { in bpf_check()
A Dcore.c1862 for (i = 0; i < aux->used_map_cnt; i++) { in bpf_check_tail_call()
2242 __bpf_free_used_maps(aux, aux->used_maps, aux->used_map_cnt); in bpf_free_used_maps()

Completed in 49 milliseconds