Lines Matching refs:map_num
1099 int map_num; member
1522 for (i = 0; i < ctx->map_num; i++) { in bpf_find_map_id()
1653 for (i = 0; i < ctx->map_num; i++) { in bpf_maps_attach_all()
1666 for (i = 0; have_map_in_map && i < ctx->map_num; i++) { in bpf_maps_attach_all()
1682 for (i = 0; have_map_in_map && i < ctx->map_num; i++) { in bpf_maps_attach_all()
1691 for (j = 0; j < ctx->map_num; j++) { in bpf_maps_attach_all()
1771 ctx->map_num = data->sec_data->d_size; in bpf_fetch_maps_begin()
1775 if (ctx->map_num > sizeof(ctx->maps)) { in bpf_fetch_maps_begin()
1780 memcpy(ctx->maps, data->sec_data->d_buf, ctx->map_num); in bpf_fetch_maps_begin()
1822 if (ctx->map_num % sym_num != 0 || in bpf_fetch_maps_end()
1823 ctx->map_num % sizeof(__u32) != 0) { in bpf_fetch_maps_end()
1828 ctx->map_len = ctx->map_num / sym_num; in bpf_fetch_maps_end()
1829 if (bpf_map_verify_all_offs(ctx, ctx->map_num)) { in bpf_fetch_maps_end()
1835 ctx->map_num = sym_num; in bpf_fetch_maps_end()
1845 ctx->map_num = sym_num; in bpf_fetch_maps_end()
1846 for (i = 0, buff = (void *)ctx->maps; i < ctx->map_num; in bpf_fetch_maps_end()