Searched refs:used_map_cnt (Results 1 – 3 of 3) sorted by relevance
201 u32 used_map_cnt; /* number of used maps */ member1876 for (j = 0; j < env->used_map_cnt; j++) in replace_map_fd_with_map_ptr()1882 if (env->used_map_cnt >= MAX_USED_MAPS) { in replace_map_fd_with_map_ptr()1888 env->used_maps[env->used_map_cnt++] = map; in replace_map_fd_with_map_ptr()1916 for (i = 0; i < env->used_map_cnt; i++) in release_maps()2122 if (ret == 0 && env->used_map_cnt) { in bpf_check()2124 env->prog->aux->used_maps = kmalloc_array(env->used_map_cnt, in bpf_check()2134 sizeof(env->used_maps[0]) * env->used_map_cnt); in bpf_check()2135 env->prog->aux->used_map_cnt = env->used_map_cnt; in bpf_check()
410 for (i = 0; i < aux->used_map_cnt; i++) in free_used_maps()
122 u32 used_map_cnt; member