Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
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()
/kernel/linux/linux-5.10/include/linux/
Dbpf_verifier.h428 u32 used_map_cnt; /* number of used maps */ member
Dbpf.h839 u32 used_map_cnt; member
/kernel/linux/linux-5.10/Documentation/bpf/
Ddrgn.rst128 .used_map_cnt = (u32)1,
/kernel/linux/linux-5.10/kernel/bpf/
Dsyscall.c3308 for (i = 0, *off = 0; i < prog->aux->used_map_cnt; i++) { in bpf_map_from_imm()
3445 info.nr_map_ids = prog->aux->used_map_cnt; in bpf_prog_get_info_by_fd()
4350 for (i = 0; i < prog->aux->used_map_cnt; i++) in bpf_prog_bind_map()
4356 used_maps_new = kmalloc_array(prog->aux->used_map_cnt + 1, in bpf_prog_bind_map()
4365 sizeof(used_maps_old[0]) * prog->aux->used_map_cnt); in bpf_prog_bind_map()
4366 used_maps_new[prog->aux->used_map_cnt] = map; in bpf_prog_bind_map()
4368 prog->aux->used_map_cnt++; in bpf_prog_bind_map()
Dverifier.c10484 for (j = 0; j < env->used_map_cnt; j++) { in resolve_pseudo_ldimm64()
10492 if (env->used_map_cnt >= MAX_USED_MAPS) { in resolve_pseudo_ldimm64()
10504 aux->map_index = env->used_map_cnt; in resolve_pseudo_ldimm64()
10505 env->used_maps[env->used_map_cnt++] = map; in resolve_pseudo_ldimm64()
10539 env->used_map_cnt); in release_maps()
12539 if (ret == 0 && env->used_map_cnt) { in bpf_check()
12541 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check()
12551 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check()
12552 env->prog->aux->used_map_cnt = env->used_map_cnt; in bpf_check()
Dcore.c1805 for (i = 0; i < aux->used_map_cnt; i++) { in bpf_check_tail_call()
2173 __bpf_free_used_maps(aux, aux->used_maps, aux->used_map_cnt); in bpf_free_used_maps()
/kernel/linux/linux-5.10/net/core/
Ddev.c5524 for (i = 0; i < new->aux->used_map_cnt; i++) { in generic_xdp_install()