Home
last modified time | relevance | path

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

/Linux-v5.4/sound/firewire/dice/
Ddice-proc.c59 static const char *const section_names[5] = { in dice_proc_read() local
71 u32 sections[ARRAY_SIZE(section_names) * 2]; in dice_proc_read()
120 for (i = 0; i < ARRAY_SIZE(section_names); ++i) in dice_proc_read()
122 section_names[i], in dice_proc_read()
/Linux-v5.4/tools/lib/bpf/
Dlibbpf.c4482 } 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()
[all …]