Lines Matching refs:bswap_32
213 h->hdr_len = bswap_32(h->hdr_len); in btf_bswap_hdr()
214 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
215 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
216 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
217 h->str_len = bswap_32(h->str_len); in btf_bswap_hdr()
232 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
234 bswap_32(hdr->hdr_len)); in btf_parse_hdr()
329 t->name_off = bswap_32(t->name_off); in btf_bswap_type_base()
330 t->info = bswap_32(t->info); in btf_bswap_type_base()
331 t->type = bswap_32(t->type); in btf_bswap_type_base()
356 *(__u32 *)(t + 1) = bswap_32(*(__u32 *)(t + 1)); in btf_bswap_type_rest()
360 e->name_off = bswap_32(e->name_off); in btf_bswap_type_rest()
361 e->val = bswap_32(e->val); in btf_bswap_type_rest()
366 a->type = bswap_32(a->type); in btf_bswap_type_rest()
367 a->index_type = bswap_32(a->index_type); in btf_bswap_type_rest()
368 a->nelems = bswap_32(a->nelems); in btf_bswap_type_rest()
373 m->name_off = bswap_32(m->name_off); in btf_bswap_type_rest()
374 m->type = bswap_32(m->type); in btf_bswap_type_rest()
375 m->offset = bswap_32(m->offset); in btf_bswap_type_rest()
380 p->name_off = bswap_32(p->name_off); in btf_bswap_type_rest()
381 p->type = bswap_32(p->type); in btf_bswap_type_rest()
385 btf_var(t)->linkage = bswap_32(btf_var(t)->linkage); in btf_bswap_type_rest()
389 v->type = bswap_32(v->type); in btf_bswap_type_rest()
390 v->offset = bswap_32(v->offset); in btf_bswap_type_rest()
391 v->size = bswap_32(v->size); in btf_bswap_type_rest()
395 btf_decl_tag(t)->component_idx = bswap_32(btf_decl_tag(t)->component_idx); in btf_bswap_type_rest()