Home
last modified time | relevance | path

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

/openbmc/linux/tools/bpf/bpftool/
H A Dgen.c212 static const struct btf_type *find_type_for_map(struct btf *btf, const char *map_ident) in find_type_for_map() argument
228 if (strcmp(sec_ident, map_ident) == 0) in find_type_for_map()
251 char map_ident[256]; in codegen_datasecs() local
260 if (!is_internal_mmapable_map(map, map_ident, sizeof(map_ident))) in codegen_datasecs()
263 sec = find_type_for_map(btf, map_ident); in codegen_datasecs()
273 printf(" struct %s__%s {\n", obj_name, map_ident); in codegen_datasecs()
274 printf(" } *%s;\n", map_ident); in codegen_datasecs()
302 char map_ident[256], sec_ident[256]; in codegen_subskel_datasecs() local
313 if (!is_internal_mmapable_map(map, map_ident, sizeof(map_ident))) in codegen_subskel_datasecs()
316 sec = find_type_for_map(btf, map_ident); in codegen_subskel_datasecs()
[all …]