Lines Matching refs:value_size
95 return malloc(round_up(info->value_size, 8) * in alloc_value()
98 return malloc(info->value_size); in alloc_value()
131 step = round_up(map_info->value_size, 8); in do_dump_btf()
171 print_hex_data_json(value, info->value_size); in print_entry_json()
186 step = round_up(info->value_size, 8); in print_entry_json()
200 info->value_size); in print_entry_json()
280 break_names = info->key_size > 16 || info->value_size > 16; in print_entry_plain()
281 single_line = info->key_size + info->value_size <= 24 && in print_entry_plain()
291 if (info->value_size) { in print_entry_plain()
293 fprint_hex(stdout, value, info->value_size, " "); in print_entry_plain()
301 step = round_up(info->value_size, 8); in print_entry_plain()
308 if (info->value_size) { in print_entry_plain()
311 i, info->value_size > 16 ? '\n' : ' '); in print_entry_plain()
313 info->value_size, " "); in print_entry_plain()
357 step = round_up(info->value_size, 8); in fill_per_cpu_value()
359 memcpy(value + i * step, value, info->value_size); in fill_per_cpu_value()
363 void *key, void *value, __u32 key_size, __u32 value_size, in parse_elem() argument
386 return parse_elem(argv, info, NULL, value, key_size, value_size, in parse_elem()
392 if (value_size) in parse_elem()
404 if (value_size != 4) { in parse_elem()
422 if (value_size != 4) { in parse_elem()
441 argv = parse_bytes(argv, "value", value, value_size); in parse_elem()
448 return parse_elem(argv, info, key, NULL, key_size, value_size, in parse_elem()
465 value_size, NULL, value_fd); in parse_elem()
502 jsonw_uint_field(json_wtr, "bytes_value", info->value_size); in show_map_close_json()
585 info->key_size, info->value_size, info->max_entries); in show_map_close_plain()
881 info->value_size != 8) in map_dump()
994 if (info->value_size) { in alloc_key_value()
1028 info.value_size, &flags, &value_fd); in do_update()
1297 if (parse_u32_arg(&argc, &argv, &attr.value_size, in do_create()