Lines Matching refs:w

105 	json_writer_t *w = json_wtr;  in dump_btf_type()  local
109 jsonw_start_object(w); in dump_btf_type()
110 jsonw_uint_field(w, "id", id); in dump_btf_type()
111 jsonw_string_field(w, "kind", btf_kind_str[btf_kind_safe(kind)]); in dump_btf_type()
112 jsonw_string_field(w, "name", btf_str(btf, t->name_off)); in dump_btf_type()
126 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
127 jsonw_uint_field(w, "bits_offset", BTF_INT_OFFSET(v)); in dump_btf_type()
128 jsonw_uint_field(w, "nr_bits", BTF_INT_BITS(v)); in dump_btf_type()
129 jsonw_string_field(w, "encoding", enc); in dump_btf_type()
144 jsonw_uint_field(w, "type_id", t->type); in dump_btf_type()
152 jsonw_uint_field(w, "type_id", arr->type); in dump_btf_type()
153 jsonw_uint_field(w, "index_type_id", arr->index_type); in dump_btf_type()
154 jsonw_uint_field(w, "nr_elems", arr->nelems); in dump_btf_type()
168 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
169 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
170 jsonw_name(w, "members"); in dump_btf_type()
171 jsonw_start_array(w); in dump_btf_type()
188 jsonw_start_object(w); in dump_btf_type()
189 jsonw_string_field(w, "name", name); in dump_btf_type()
190 jsonw_uint_field(w, "type_id", m->type); in dump_btf_type()
191 jsonw_uint_field(w, "bits_offset", bit_off); in dump_btf_type()
193 jsonw_uint_field(w, "bitfield_size", in dump_btf_type()
196 jsonw_end_object(w); in dump_btf_type()
205 jsonw_end_array(w); in dump_btf_type()
216 jsonw_string_field(w, "encoding", encoding); in dump_btf_type()
217 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
218 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
219 jsonw_name(w, "values"); in dump_btf_type()
220 jsonw_start_array(w); in dump_btf_type()
228 jsonw_start_object(w); in dump_btf_type()
229 jsonw_string_field(w, "name", name); in dump_btf_type()
231 jsonw_int_field(w, "val", v->val); in dump_btf_type()
233 jsonw_uint_field(w, "val", v->val); in dump_btf_type()
234 jsonw_end_object(w); in dump_btf_type()
243 jsonw_end_array(w); in dump_btf_type()
254 jsonw_string_field(w, "encoding", encoding); in dump_btf_type()
255 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
256 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
257 jsonw_name(w, "values"); in dump_btf_type()
258 jsonw_start_array(w); in dump_btf_type()
267 jsonw_start_object(w); in dump_btf_type()
268 jsonw_string_field(w, "name", name); in dump_btf_type()
270 jsonw_int_field(w, "val", val); in dump_btf_type()
272 jsonw_uint_field(w, "val", val); in dump_btf_type()
273 jsonw_end_object(w); in dump_btf_type()
284 jsonw_end_array(w); in dump_btf_type()
292 jsonw_string_field(w, "fwd_kind", fwd_kind); in dump_btf_type()
301 jsonw_uint_field(w, "type_id", t->type); in dump_btf_type()
302 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
314 jsonw_uint_field(w, "ret_type_id", t->type); in dump_btf_type()
315 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
316 jsonw_name(w, "params"); in dump_btf_type()
317 jsonw_start_array(w); in dump_btf_type()
325 jsonw_start_object(w); in dump_btf_type()
326 jsonw_string_field(w, "name", name); in dump_btf_type()
327 jsonw_uint_field(w, "type_id", p->type); in dump_btf_type()
328 jsonw_end_object(w); in dump_btf_type()
334 jsonw_end_array(w); in dump_btf_type()
344 jsonw_uint_field(w, "type_id", t->type); in dump_btf_type()
345 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
358 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
359 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
360 jsonw_name(w, "vars"); in dump_btf_type()
361 jsonw_start_array(w); in dump_btf_type()
367 jsonw_start_object(w); in dump_btf_type()
368 jsonw_uint_field(w, "type_id", v->type); in dump_btf_type()
369 jsonw_uint_field(w, "offset", v->offset); in dump_btf_type()
370 jsonw_uint_field(w, "size", v->size); in dump_btf_type()
371 jsonw_end_object(w); in dump_btf_type()
385 jsonw_end_array(w); in dump_btf_type()
390 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
399 jsonw_uint_field(w, "type_id", t->type); in dump_btf_type()
400 jsonw_int_field(w, "component_idx", tag->component_idx); in dump_btf_type()