Lines Matching refs:bswap_32

216 	h->hdr_len = bswap_32(h->hdr_len);  in btf_bswap_hdr()
217 h->type_off = bswap_32(h->type_off); in btf_bswap_hdr()
218 h->type_len = bswap_32(h->type_len); in btf_bswap_hdr()
219 h->str_off = bswap_32(h->str_off); in btf_bswap_hdr()
220 h->str_len = bswap_32(h->str_len); in btf_bswap_hdr()
235 if (bswap_32(hdr->hdr_len) != sizeof(struct btf_header)) { in btf_parse_hdr()
237 bswap_32(hdr->hdr_len)); in btf_parse_hdr()
334 t->name_off = bswap_32(t->name_off); in btf_bswap_type_base()
335 t->info = bswap_32(t->info); in btf_bswap_type_base()
336 t->type = bswap_32(t->type); in btf_bswap_type_base()
362 *(__u32 *)(t + 1) = bswap_32(*(__u32 *)(t + 1)); in btf_bswap_type_rest()
366 e->name_off = bswap_32(e->name_off); in btf_bswap_type_rest()
367 e->val = bswap_32(e->val); in btf_bswap_type_rest()
372 e64->name_off = bswap_32(e64->name_off); in btf_bswap_type_rest()
373 e64->val_lo32 = bswap_32(e64->val_lo32); in btf_bswap_type_rest()
374 e64->val_hi32 = bswap_32(e64->val_hi32); in btf_bswap_type_rest()
379 a->type = bswap_32(a->type); in btf_bswap_type_rest()
380 a->index_type = bswap_32(a->index_type); in btf_bswap_type_rest()
381 a->nelems = bswap_32(a->nelems); in btf_bswap_type_rest()
386 m->name_off = bswap_32(m->name_off); in btf_bswap_type_rest()
387 m->type = bswap_32(m->type); in btf_bswap_type_rest()
388 m->offset = bswap_32(m->offset); in btf_bswap_type_rest()
393 p->name_off = bswap_32(p->name_off); in btf_bswap_type_rest()
394 p->type = bswap_32(p->type); in btf_bswap_type_rest()
398 btf_var(t)->linkage = bswap_32(btf_var(t)->linkage); in btf_bswap_type_rest()
402 v->type = bswap_32(v->type); in btf_bswap_type_rest()
403 v->offset = bswap_32(v->offset); in btf_bswap_type_rest()
404 v->size = bswap_32(v->size); in btf_bswap_type_rest()
408 btf_decl_tag(t)->component_idx = bswap_32(btf_decl_tag(t)->component_idx); in btf_bswap_type_rest()