Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/tests/
Dmaps.c11 struct map_def { struct
17 static int check_maps(struct map_def *merged, unsigned int size, struct maps *maps) in check_maps() argument
62 struct map_def bpf_progs[] = { in test__maps__merge_in()
67 struct map_def merged12[] = { in test__maps__merge_in()
76 struct map_def merged3[] = { in test__maps__merge_in()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c2200 struct btf_map_def *map_def, struct btf_map_def *inner_def) in parse_btf_map_def() argument
2217 if (!get_map_field_int(map_name, btf, m, &map_def->map_type)) in parse_btf_map_def()
2219 map_def->parts |= MAP_DEF_MAP_TYPE; in parse_btf_map_def()
2221 if (!get_map_field_int(map_name, btf, m, &map_def->max_entries)) in parse_btf_map_def()
2223 map_def->parts |= MAP_DEF_MAX_ENTRIES; in parse_btf_map_def()
2225 if (!get_map_field_int(map_name, btf, m, &map_def->map_flags)) in parse_btf_map_def()
2227 map_def->parts |= MAP_DEF_MAP_FLAGS; in parse_btf_map_def()
2229 if (!get_map_field_int(map_name, btf, m, &map_def->numa_node)) in parse_btf_map_def()
2231 map_def->parts |= MAP_DEF_NUMA_NODE; in parse_btf_map_def()
2237 if (map_def->key_size && map_def->key_size != sz) { in parse_btf_map_def()
[all …]
Dlibbpf_internal.h265 struct btf_map_def *map_def, struct btf_map_def *inner_def);