Lines Matching refs:le32toh
318 btx->btx_entry = le32toh(btx->btx_entry);
358 hdr->text = le32toh(ex->a_text);
359 hdr->data = le32toh(ex->a_data);
360 hdr->bss = le32toh(ex->a_bss);
361 hdr->entry = le32toh(ex->a_entry);
362 if (le32toh(ex->a_entry) >= BTX_PGSIZE)
371 ep = (void *)((uint8_t *)p + le32toh(ee->e_phoff) +
373 if (le32toh(ep->p_type) == PT_LOAD)
376 hdr->text = le32toh(ep->p_filesz);
377 hdr->org = le32toh(ep->p_paddr);
378 if (le32toh(ep->p_flags) & PF_W)
382 hdr->data = le32toh(ep->p_filesz);
383 hdr->bss = le32toh(ep->p_memsz) -
384 le32toh(ep->p_filesz);
392 hdr->entry = le32toh(ee->e_entry);
426 eh.p[1].p_offset = htole32(le32toh(eh.p[0].p_offset) +
427 le32toh(eh.p[0].p_filesz));
429 htole32(align(le32toh(eh.p[0].p_paddr) + le32toh(eh.p[0].p_memsz),