Lines Matching refs:ARRAY_SIZE
437 char *values[ARRAY_SIZE(options)] = { }; in probe_kernel_image_config()
476 for (i = 0; i < ARRAY_SIZE(options); i++) { in probe_kernel_image_config()
485 for (i = 0; i < ARRAY_SIZE(options); i++) { in probe_kernel_image_config()
542 return probe_prog_load_ifindex(prog_type, insns, ARRAY_SIZE(insns), in probe_prog_type_ifindex()
665 probe_prog_load_ifindex(prog_type, insns, ARRAY_SIZE(insns), buf, in probe_helper_ifindex()
747 for (id = 1; id < ARRAY_SIZE(helper_name); id++) { in probe_helpers_for_progtype()
818 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_large_insn_limit()
839 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_bounded_loops()
860 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_v2_isa_extension()
881 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_v3_isa_extension()
903 probe_misc_feature(insns, ARRAY_SIZE(insns), in probe_v4_isa_extension()
1078 cap_value_t cap_list[ARRAY_SIZE(bpf_caps)]; in handle_perms()
1097 for (i = 0; i < ARRAY_SIZE(bpf_caps); i++) { in handle_perms()
1121 (!run_as_unprivileged && nb_bpf_caps == ARRAY_SIZE(bpf_caps)) || in handle_perms()
1283 if (id >= ARRAY_SIZE(helper_name)) in get_helper_name()