Searched refs:used_map_cnt (Results 1 – 8 of 8) sorted by relevance
120 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()
428 u32 used_map_cnt; /* number of used maps */ member
839 u32 used_map_cnt; member
128 .used_map_cnt = (u32)1,
3308 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()
10484 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()
1805 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()
5524 for (i = 0; i < new->aux->used_map_cnt; i++) { in generic_xdp_install()