Lines Matching defs:map_info
98 struct bpf_map_info *map_info, void *key,
107 if (map_info->btf_key_type_id) {
110 ret = btf_dumper_type(d, map_info->btf_key_type_id, key);
115 value_id = map_info->btf_vmlinux_value_type_id ?
116 : map_info->btf_value_type_id;
118 if (!map_is_per_cpu(map_info->type)) {
127 step = round_up(map_info->value_size, 8);
237 print_entry_error(struct bpf_map_info *map_info, void *key, int lookup_errno)
243 if ((map_is_map_of_maps(map_info->type) ||
244 map_is_map_of_progs(map_info->type)) && lookup_errno == ENOENT)
250 print_hex_data_json(key, map_info->key_size);
262 map_info->type == BPF_MAP_TYPE_REUSEPORT_SOCKARRAY)
265 print_entry_error_msg(map_info, key,
748 struct bpf_map_info *map_info, struct btf *btf,
752 print_entry_error(map_info, key, errno);
757 print_entry_json(map_info, key, value, btf);
765 do_dump_btf(&d, map_info, key, value);
767 print_entry_plain(map_info, key, value);