Home
last modified time | relevance | path

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

/linux-6.1.9/tools/bpf/bpftool/
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
261 if (!is_internal_mmapable_map(map, map_ident, sizeof(map_ident))) in codegen_datasecs()
264 sec = find_type_for_map(btf, map_ident); in codegen_datasecs()
274 printf(" struct %s__%s {\n", obj_name, map_ident); in codegen_datasecs()
275 printf(" } *%s;\n", map_ident); in codegen_datasecs()
303 char map_ident[256], sec_ident[256]; in codegen_subskel_datasecs() local
314 if (!is_internal_mmapable_map(map, map_ident, sizeof(map_ident))) in codegen_subskel_datasecs()
317 sec = find_type_for_map(btf, map_ident); in codegen_subskel_datasecs()
[all …]