/freebsd-10.2-release/sys/dev/usb/net/ |
H A D | if_urndis.c | 441 DPRINTF("type 0x%x len %u\n", le32toh(hdr->rm_type), 442 le32toh(hdr->rm_len)); 444 if (le32toh(hdr->rm_len) > RNDIS_RESPONSE_LEN) { 446 le32toh(hdr->rm_len), RNDIS_RESPONSE_LEN); 464 switch (le32toh(hdr->rm_type)) { 479 rval = le32toh(hdr->rm_status); 484 le32toh(hdr->rm_type)); 502 le32toh(msg->rm_len), 503 le32toh(msg->rm_rid), 504 le32toh(ms [all...] |
/freebsd-10.2-release/sys/sys/ |
H A D | imgact_aout.h | 37 ( le32toh((ex).a_midmag) & 0xffff ) 79 (le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \ 80 le32toh((ex).a_entry) & ~__LDPGSZ) : __LDPGSZ) 84 N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text)) 93 N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text)) 97 N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data)) 101 (N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize)) 104 #define N_STROFF(ex) (N_SYMOFF(ex) + le32toh((e [all...] |
H A D | endian.h | 79 #define le32toh(x) ((uint32_t)(x)) macro 93 #define le32toh(x) bswap32((x)) macro
|
/freebsd-10.2-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_fs_sb.h | 15 #define sb_block_count(sbp) (le32toh((sbp)->s_v1.s_block_count)) 17 #define sb_free_blocks(sbp) (le32toh((sbp)->s_v1.s_free_blocks)) 19 #define sb_root_block(sbp) (le32toh((sbp)->s_v1.s_root_block)) 61 (le32toh((sbi)->s_v1.s_hash_function_code))
|
H A D | reiserfs_fs.h | 156 le32toh((SB_V1_DISK_SUPER_BLOCK(sbi)->s_blocksize)) 158 le32toh((SB_V1_DISK_SUPER_BLOCK(sbi)->s_block_count)) 160 le32toh((SB_V1_DISK_SUPER_BLOCK(sbi)->s_free_blocks)) 166 le32toh((SB_V1_DISK_SUPER_BLOCK(sbi)->s_root_block)) 433 #define get_block_num(p, i) le32toh(get_unaligned((p) + (i))) 498 le32toh(key->u.k_offset_v1.k_offset) : 514 uniqueness2type(le32toh(key->u.k_offset_v1.k_uniqueness)) : 710 #define sd_v1_size(sdp) (le32toh((sdp)->sd_size)) 712 #define sd_v1_atime(sdp) (le32toh((sdp)->sd_atime)) 714 #define sd_v1_mtime(sdp) (le32toh((sd [all...] |
/freebsd-10.2-release/usr.sbin/btxld/ |
H A D | btxld.c | 317 btx->btx_entry = le32toh(btx->btx_entry); 357 hdr->text = le32toh(ex->a_text); 358 hdr->data = le32toh(ex->a_data); 359 hdr->bss = le32toh(ex->a_bss); 360 hdr->entry = le32toh(ex->a_entry); 361 if (le32toh(ex->a_entry) >= BTX_PGSIZE) 370 ep = (void *)((uint8_t *)p + le32toh(ee->e_phoff) + 372 if (le32toh(ep->p_type) == PT_LOAD) 375 hdr->text = le32toh(ep->p_filesz); 376 hdr->org = le32toh(e [all...] |
/freebsd-10.2-release/usr.sbin/kgzip/ |
H A D | kgzcmp.c | 95 htole32(le32toh(ehdr.sh[KGZ_SH_DATA].sh_size) + kh->nsize); 226 xcopy(idi, ido, le32toh(a->a_text), N_TXTOFF(*a)); 227 addr += le32toh(a->a_text); 230 xcopy(idi, ido, le32toh(a->a_data), N_DATOFF(*a)); 231 addr += le32toh(a->a_data); 234 kh->isize = kh->dsize + le32toh(a->a_bss); 235 kh->entry = le32toh(a->a_entry);
|
/freebsd-10.2-release/sys/libkern/ |
H A D | murmur3_32.c | 55 k = le32toh(*data32);
|
/freebsd-10.2-release/sys/dev/txp/ |
H A D | if_txp.c | 354 p2 = le32toh(p2); 379 p2 = le32toh(rsp->rsp_par2) & 0xFFFF; 383 p2 = le32toh(rsp->rsp_par2); 396 p2 = le32toh(rsp->rsp_par2); 627 WRITE_REG(sc, TXP_H2A_1, le32toh(fileheader->addr)); 629 WRITE_REG(sc, TXP_H2A_2, le32toh(fileheader->hmac[0])); 631 WRITE_REG(sc, TXP_H2A_3, le32toh(fileheader->hmac[1])); 633 WRITE_REG(sc, TXP_H2A_4, le32toh(fileheader->hmac[2])); 635 WRITE_REG(sc, TXP_H2A_5, le32toh(fileheader->hmac[3])); 637 WRITE_REG(sc, TXP_H2A_6, le32toh(fileheade [all...] |
/freebsd-10.2-release/sys/dev/patm/ |
H A D | if_patm_intr.c | 388 stamp = le32toh(tsqe->stamp); 396 patm_tx(sc, stamp, le32toh(tsqe->stat)); 400 patm_tx_idle(sc, le32toh(tsqe->stat)); 413 stamp = le32toh(tsqe->stamp); 433 stat = le32toh(rsqe->stat); 452 stat = le32toh(rsqe->stat); 483 sc->rawh = &sc->lbufs[le32toh(sc->rawhnd->handle) & MBUF_HMASK]; 485 tail = le32toh(sc->rawhnd->tail); 499 h = le32toh(cell[1]);
|
/freebsd-10.2-release/usr.sbin/usbdump/ |
H A D | usbdump.c | 473 up->up_totlen = le32toh(up->up_totlen); 474 up->up_busunit = le32toh(up->up_busunit); 475 up->up_flags = le32toh(up->up_flags); 476 up->up_status = le32toh(up->up_status); 477 up->up_error = le32toh(up->up_error); 478 up->up_interval = le32toh(up->up_interval); 479 up->up_frames = le32toh(up->up_frames); 480 up->up_packet_size = le32toh(up->up_packet_size); 481 up->up_packet_count = le32toh(up->up_packet_count); 482 up->up_endpoint = le32toh(u [all...] |
/freebsd-10.2-release/sys/boot/powerpc/ps3/ |
H A D | ps3disk.c | 224 le64toh(hdr->hdr_lba_self) != 1 || le32toh(hdr->hdr_revision) < 0x00010000 || 225 le32toh(hdr->hdr_entsz) < sizeof(struct gpt_ent) || 226 stor_dev.sd_blksize % le32toh(hdr->hdr_entsz) != 0) { 232 eps = stor_dev.sd_blksize / le32toh(hdr->hdr_entsz); 234 elba = slba + le32toh(hdr->hdr_entries) / eps; 310 uuid->time_low = le32toh(uuid->time_low);
|
/freebsd-10.2-release/contrib/ofed/include/infiniband/ |
H A D | byteorder.h | 43 #define le32_to_cpu le32toh 57 #define le32_to_cpup(x) le32toh(*((uint32_t *)x))
|
/freebsd-10.2-release/contrib/openbsm/compat/ |
H A D | endian.h | 137 #define le32toh(x) ((uint32_t)(x)) macro 151 #define le32toh(x) bswap32((x)) macro
|
/freebsd-10.2-release/sys/dev/mps/ |
H A D | mps_sas_lsi.c | 281 foreign_config = (le32toh(event_data->Flags) & 389 "handle 0x%x", le32toh(event_data->PreviousValue), 390 le32toh(event_data->NewValue), 396 "handle 0x%x", le32toh(event_data->PreviousValue), 397 le32toh(event_data->NewValue), 403 "handle 0x%x", le32toh(event_data->PreviousValue), 404 le32toh(event_data->NewValue), 408 state = le32toh(event_data->NewValue); 456 "%d", le32toh(event_data->PreviousValue), 457 le32toh(event_dat [all...] |
/freebsd-10.2-release/sys/ofed/include/asm/ |
H A D | byteorder.h | 46 #define le32_to_cpu le32toh 60 #define le32_to_cpup(x) le32toh(*((uint32_t *)x))
|
/freebsd-10.2-release/sys/dev/bxe/ |
H A D | bxe_stats.h | 489 ADD_64(s_hi, le32toh(a_hi_le), \ 490 s_lo, le32toh(a_lo_le)) 580 diff = le32toh(uclient->s) - le32toh(old_uclient->s); \ 593 diff = le32toh(xclient->s) - le32toh(old_xclient->s); \ 600 qstats->t##_hi = qstats_old->t##_hi + le32toh(s.hi); \ 601 qstats->t##_lo = qstats_old->t##_lo + le32toh(s.lo); \ 640 estats->s = le32toh(tport->s) + fwstats->s; \ 672 diff = le32toh(uclien [all...] |
/freebsd-10.2-release/sys/fs/udf/ |
H A D | udf_vfsops.c | 405 mvds_start = le32toh(avdp.main_vds_ex.loc); 406 mvds_end = mvds_start + (le32toh(avdp.main_vds_ex.len) - 1) / bsize; 415 udfmp->bsize = le32toh(lvd->lb_size); 419 fsd_offset = le32toh(lvd->_lvd_use.fsd_loc.loc.lb_num); 428 udfmp->part_len = le32toh(pd->part_len); 429 udfmp->part_start = le32toh(pd->start_loc); 479 sector = le32toh(udfmp->root_icb.loc.lb_num) + udfmp->part_start; 480 size = le32toh(udfmp->root_icb.len); 668 size = UDF_FENTRY_SIZE + le32toh(fe->l_ea) + le32toh(f [all...] |
H A D | udf_vnops.c | 138 perm = le32toh(node->fentry->perm); 304 vap->va_uid = (le32toh(fentry->uid) == -1) ? 0 : le32toh(fentry->uid); 305 vap->va_gid = (le32toh(fentry->gid) == -1) ? 0 : le32toh(fentry->gid); 452 data = &fentry->data[le32toh(fentry->l_ea)]; 453 fsize = le32toh(fentry->l_ad); 1318 *data = &fentry->data[le32toh(fentry->l_ea)]; 1319 *size = le32toh(fentry->l_ad); 1402 if (ad_offset > le32toh(fentr [all...] |
H A D | udf.h | 115 return (le32toh(icb->loc.lb_num));
|
/freebsd-10.2-release/sys/boot/common/ |
H A D | part.c | 118 uuid->time_low = le32toh(uuid->time_low); 158 sz = le32toh(hdr->hdr_size); 163 crc = le32toh(hdr->hdr_crc_self); 170 hdr->hdr_revision = le32toh(hdr->hdr_revision); 185 hdr->hdr_entries = le32toh(hdr->hdr_entries); 186 hdr->hdr_entsz = le32toh(hdr->hdr_entsz); 196 hdr->hdr_crc_table = le32toh(hdr->hdr_crc_table); 391 start = le32toh(dp[0].dp_start); 397 end = le32toh(dp[0].dp_size); 411 offset = e1->part.start + le32toh(d [all...] |
/freebsd-10.2-release/sys/contrib/xz-embedded/freebsd/ |
H A D | xz_config.h | 71 #define get_le32(ptr) le32toh(*(const uint32_t *)(ptr))
|
/freebsd-10.2-release/sys/dev/mpr/ |
H A D | mpr_sas_lsi.c | 284 foreign_config = (le32toh(event_data->Flags) & 467 "handle 0x%x", le32toh(event_data->PreviousValue), 468 le32toh(event_data->NewValue), 474 "handle 0x%x", le32toh(event_data->PreviousValue), 475 le32toh(event_data->NewValue), 481 "handle 0x%x", le32toh(event_data->PreviousValue), 482 le32toh(event_data->NewValue), 486 state = le32toh(event_data->NewValue); 540 "%d", le32toh(event_data->PreviousValue), 541 le32toh(event_dat [all...] |
/freebsd-10.2-release/sys/dev/terasic/mtl/ |
H A D | terasic_mtl_reg.c | 145 *blendp = le32toh(bus_read_4(sc->mtl_reg_res, TERASIC_MTL_OFF_BLEND)); 214 v = le32toh(v); 245 *addrp = le32toh(addr);
|
/freebsd-10.2-release/sys/dev/ipw/ |
H A D | if_ipw.c | 486 if (fp->datasize < sizeof *hdr + le32toh(hdr->mainsz) + 487 le32toh(hdr->ucodesz)) { 1014 ipw_cmdname(le32toh(cmd->type)), le32toh(cmd->type), 1015 le32toh(cmd->subtype), le32toh(cmd->seq), le32toh(cmd->len), 1016 le32toh(cmd->status))); 1033 state = le32toh(*mtod(sbuf->m, uint32_t *)); 1197 DPRINTFN(5, ("received frame len=%u, rssi=%u\n", le32toh(statu [all...] |