Home
last modified time | relevance | path

Searched refs:section_names (Results 1 – 1 of 1) sorted by relevance

/tools/lib/bpf/
Dlibbpf.c4488 } section_names[] = { variable
4562 int i, len = ARRAY_SIZE(section_names) * MAX_TYPE_NAME_SIZE; in libbpf_get_type_names()
4571 for (i = 0; i < ARRAY_SIZE(section_names); i++) { in libbpf_get_type_names()
4572 if (attach_type && !section_names[i].is_attachable) in libbpf_get_type_names()
4575 if (strlen(buf) + strlen(section_names[i].sec) + 2 > len) { in libbpf_get_type_names()
4580 strcat(buf, section_names[i].sec); in libbpf_get_type_names()
4595 for (i = 0; i < ARRAY_SIZE(section_names); i++) { in libbpf_prog_type_by_name()
4596 if (strncmp(name, section_names[i].sec, section_names[i].len)) in libbpf_prog_type_by_name()
4598 *prog_type = section_names[i].prog_type; in libbpf_prog_type_by_name()
4599 *expected_attach_type = section_names[i].expected_attach_type; in libbpf_prog_type_by_name()
[all …]