• Home
  • Raw
  • Download

Lines Matching refs:w

103 	json_writer_t *w = json_wtr;  in dump_btf_type()  local
110 jsonw_start_object(w); in dump_btf_type()
111 jsonw_uint_field(w, "id", id); in dump_btf_type()
112 jsonw_string_field(w, "kind", btf_kind_str[safe_kind]); in dump_btf_type()
113 jsonw_string_field(w, "name", btf_str(btf, t->name_off)); in dump_btf_type()
127 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
128 jsonw_uint_field(w, "bits_offset", BTF_INT_OFFSET(v)); in dump_btf_type()
129 jsonw_uint_field(w, "nr_bits", BTF_INT_BITS(v)); in dump_btf_type()
130 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()
214 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
215 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
216 jsonw_name(w, "values"); in dump_btf_type()
217 jsonw_start_array(w); in dump_btf_type()
225 jsonw_start_object(w); in dump_btf_type()
226 jsonw_string_field(w, "name", name); in dump_btf_type()
227 jsonw_uint_field(w, "val", v->val); in dump_btf_type()
228 jsonw_end_object(w); in dump_btf_type()
234 jsonw_end_array(w); in dump_btf_type()
242 jsonw_string_field(w, "fwd_kind", fwd_kind); in dump_btf_type()
251 jsonw_uint_field(w, "type_id", t->type); in dump_btf_type()
252 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
264 jsonw_uint_field(w, "ret_type_id", t->type); in dump_btf_type()
265 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
266 jsonw_name(w, "params"); in dump_btf_type()
267 jsonw_start_array(w); in dump_btf_type()
275 jsonw_start_object(w); in dump_btf_type()
276 jsonw_string_field(w, "name", name); in dump_btf_type()
277 jsonw_uint_field(w, "type_id", p->type); in dump_btf_type()
278 jsonw_end_object(w); in dump_btf_type()
284 jsonw_end_array(w); in dump_btf_type()
294 jsonw_uint_field(w, "type_id", t->type); in dump_btf_type()
295 jsonw_string_field(w, "linkage", linkage); in dump_btf_type()
307 jsonw_uint_field(w, "size", t->size); in dump_btf_type()
308 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type()
309 jsonw_name(w, "vars"); in dump_btf_type()
310 jsonw_start_array(w); in dump_btf_type()
316 jsonw_start_object(w); in dump_btf_type()
317 jsonw_uint_field(w, "type_id", v->type); in dump_btf_type()
318 jsonw_uint_field(w, "offset", v->offset); in dump_btf_type()
319 jsonw_uint_field(w, "size", v->size); in dump_btf_type()
320 jsonw_end_object(w); in dump_btf_type()
327 jsonw_end_array(w); in dump_btf_type()