Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/tests/
Dmaps.c11 struct map_def { struct
18 struct map_def *merged; argument
25 struct map_def *merged = &args->merged[args->i]; in check_maps_cb()
48 static int check_maps(struct map_def *merged, unsigned int size, struct maps *maps) in check_maps()
77 struct map_def bpf_progs[] = { in test__maps__merge_in()
82 struct map_def merged12[] = { in test__maps__merge_in()
91 struct map_def merged3[] = { in test__maps__merge_in()
/linux-6.12.1/tools/lib/bpf/
Dlibbpf.c2513 struct btf_map_def *map_def, struct btf_map_def *inner_def) in parse_btf_map_def() argument
2530 if (!get_map_field_int(map_name, btf, m, &map_def->map_type)) in parse_btf_map_def()
2532 map_def->parts |= MAP_DEF_MAP_TYPE; in parse_btf_map_def()
2534 if (!get_map_field_int(map_name, btf, m, &map_def->max_entries)) in parse_btf_map_def()
2536 map_def->parts |= MAP_DEF_MAX_ENTRIES; in parse_btf_map_def()
2538 if (!get_map_field_int(map_name, btf, m, &map_def->map_flags)) in parse_btf_map_def()
2540 map_def->parts |= MAP_DEF_MAP_FLAGS; in parse_btf_map_def()
2542 if (!get_map_field_int(map_name, btf, m, &map_def->numa_node)) in parse_btf_map_def()
2544 map_def->parts |= MAP_DEF_NUMA_NODE; in parse_btf_map_def()
2550 if (map_def->key_size && map_def->key_size != sz) { in parse_btf_map_def()
[all …]
Dlibbpf_internal.h283 struct btf_map_def *map_def, struct btf_map_def *inner_def);