Lines Matching refs:json_wtr

115 	json_writer_t *w = json_wtr;  in dump_btf_type()
421 jsonw_end_object(json_wtr); in dump_btf_type()
435 jsonw_start_object(json_wtr); in dump_btf_raw()
436 jsonw_name(json_wtr, "types"); in dump_btf_raw()
437 jsonw_start_array(json_wtr); in dump_btf_raw()
461 jsonw_end_array(json_wtr); in dump_btf_raw()
462 jsonw_end_object(json_wtr); in dump_btf_raw()
1153 jsonw_start_object(json_wtr); /* btf object */ in show_btf_json()
1154 jsonw_uint_field(json_wtr, "id", info->id); in show_btf_json()
1155 jsonw_uint_field(json_wtr, "size", info->btf_size); in show_btf_json()
1157 jsonw_name(json_wtr, "prog_ids"); in show_btf_json()
1158 jsonw_start_array(json_wtr); /* prog_ids */ in show_btf_json()
1160 jsonw_uint(json_wtr, entry->value); in show_btf_json()
1162 jsonw_end_array(json_wtr); /* prog_ids */ in show_btf_json()
1164 jsonw_name(json_wtr, "map_ids"); in show_btf_json()
1165 jsonw_start_array(json_wtr); /* map_ids */ in show_btf_json()
1167 jsonw_uint(json_wtr, entry->value); in show_btf_json()
1169 jsonw_end_array(json_wtr); /* map_ids */ in show_btf_json()
1171 emit_obj_refs_json(refs_table, info->id, json_wtr); /* pids */ in show_btf_json()
1173 jsonw_bool_field(json_wtr, "kernel", info->kernel_btf); in show_btf_json()
1176 jsonw_string_field(json_wtr, "name", name); in show_btf_json()
1178 jsonw_end_object(json_wtr); /* btf object */ in show_btf_json()
1264 jsonw_start_array(json_wtr); /* root array */ in do_show()
1297 jsonw_end_array(json_wtr); /* root array */ in do_show()
1310 jsonw_null(json_wtr); in do_help()