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