Lines Matching refs:section_names
4482 } section_names[] = { variable
4556 int i, len = ARRAY_SIZE(section_names) * MAX_TYPE_NAME_SIZE; in libbpf_get_type_names()
4565 for (i = 0; i < ARRAY_SIZE(section_names); i++) { in libbpf_get_type_names()
4566 if (attach_type && !section_names[i].is_attachable) in libbpf_get_type_names()
4569 if (strlen(buf) + strlen(section_names[i].sec) + 2 > len) { in libbpf_get_type_names()
4574 strcat(buf, section_names[i].sec); in libbpf_get_type_names()
4589 for (i = 0; i < ARRAY_SIZE(section_names); i++) { in libbpf_prog_type_by_name()
4590 if (strncmp(name, section_names[i].sec, section_names[i].len)) in libbpf_prog_type_by_name()
4592 *prog_type = section_names[i].prog_type; in libbpf_prog_type_by_name()
4593 *expected_attach_type = section_names[i].expected_attach_type; in libbpf_prog_type_by_name()
4615 for (i = 0; i < ARRAY_SIZE(section_names); i++) { in libbpf_attach_type_by_name()
4616 if (strncmp(name, section_names[i].sec, section_names[i].len)) in libbpf_attach_type_by_name()
4618 if (!section_names[i].is_attachable) in libbpf_attach_type_by_name()
4620 *attach_type = section_names[i].attach_type; in libbpf_attach_type_by_name()