Lines Matching refs:sym_num
1098 int sym_num; member
1632 for (i = 0; i < ctx->sym_num; i++) { in bpf_map_fetch_name()
1715 for (i = 0; i < ctx->sym_num; i++) { in bpf_map_num_sym()
1793 for (i = 0; i < ctx->sym_num; i++) { in bpf_map_verify_all_offs()
1802 if (i == ctx->sym_num - 1) in bpf_map_verify_all_offs()
1813 int i, sym_num = bpf_map_num_sym(ctx); in bpf_fetch_maps_end() local
1816 if (sym_num == 0 || sym_num > ARRAY_SIZE(ctx->maps)) { in bpf_fetch_maps_end()
1818 sym_num); in bpf_fetch_maps_end()
1822 if (ctx->map_num % sym_num != 0 || in bpf_fetch_maps_end()
1828 ctx->map_len = ctx->map_num / sym_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()
1877 ctx->sym_num = data->sec_hdr.sh_size / data->sec_hdr.sh_entsize; in bpf_fetch_symtab()