Lines Matching defs:map_info
72 struct bpf_map_info *map_info, void *key,
81 if (map_info->btf_key_type_id) {
84 ret = btf_dumper_type(d, map_info->btf_key_type_id, key);
89 value_id = map_info->btf_vmlinux_value_type_id ?
90 : map_info->btf_value_type_id;
92 if (!map_is_per_cpu(map_info->type)) {
101 step = round_up(map_info->value_size, 8);
214 print_entry_error(struct bpf_map_info *map_info, void *key, int lookup_errno)
220 if ((map_is_map_of_maps(map_info->type) ||
221 map_is_map_of_progs(map_info->type)) && lookup_errno == ENOENT)
227 print_hex_data_json(key, map_info->key_size);
239 map_info->type == BPF_MAP_TYPE_REUSEPORT_SOCKARRAY)
242 print_entry_error_msg(map_info, key,
743 struct bpf_map_info *map_info, struct btf *btf,
747 print_entry_error(map_info, key, errno);
752 print_entry_json(map_info, key, value, btf);
760 do_dump_btf(&d, map_info, key, value);
762 print_entry_plain(map_info, key, value);