Searched refs:section_defs (Results 1 – 1 of 1) sorted by relevance
8322 static const struct bpf_sec_def section_defs[] = { variable8475 int i, n = ARRAY_SIZE(section_defs); in find_sec_def()8479 section_defs[i].sec, section_defs[i].len)) in find_sec_def()8481 return §ion_defs[i]; in find_sec_def()8488 int i, len = ARRAY_SIZE(section_defs) * MAX_TYPE_NAME_SIZE; in libbpf_get_type_names()8497 for (i = 0; i < ARRAY_SIZE(section_defs); i++) { in libbpf_get_type_names()8498 if (attach_type && !section_defs[i].is_attachable) in libbpf_get_type_names()8501 if (strlen(buf) + strlen(section_defs[i].sec) + 2 > len) { in libbpf_get_type_names()8506 strcat(buf, section_defs[i].sec); in libbpf_get_type_names()8777 for (i = 0; i < ARRAY_SIZE(section_defs); i++) { in libbpf_find_attach_btf_id()[all …]