Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/
H A Dgen.c241 static const struct btf_type *find_type_for_map(struct btf *btf, const char *map_ident) in find_type_for_map() argument
257 if (strcmp(sec_ident, map_ident) == 0) in find_type_for_map()
298 char map_ident[256]; in codegen_datasecs() local
307 if (!is_skel_data(map, map_ident, sizeof(map_ident))) in codegen_datasecs()
310 sec = find_type_for_map(btf, map_ident); in codegen_datasecs()
320 printf(" struct %s__%s {\n", obj_name, map_ident); in codegen_datasecs()
321 printf(" } *%s;\n", map_ident); in codegen_datasecs()
349 char map_ident[256], sec_ident[256]; in codegen_subskel_datasecs() local
360 if (!is_mmapable_map(map, map_ident, sizeof(map_ident))) in codegen_subskel_datasecs()
363 sec = find_type_for_map(btf, map_ident); in codegen_subskel_datasecs()
[all …]