| /src/external/bsd/mdocml/dist/ |
| test-be32toh.c | 10 return htobe32(be32toh(0x3a7d0cdb)) != 0x3a7d0cdb;
|
| dbm_map.c | 82 if (be32toh(*magic) != MANDOCDB_MAGIC) { 86 fname, be32toh(*magic), MANDOCDB_MAGIC); 95 if (be32toh(*magic) != MANDOCDB_VERSION) { 97 fname, be32toh(*magic), MANDOCDB_VERSION); 101 max_offset = be32toh(*dbm_getint(3)) + sizeof(int32_t); 112 if (be32toh(*magic) != MANDOCDB_MAGIC) { 114 fname, be32toh(*magic), MANDOCDB_MAGIC); 145 offset = be32toh(offset);
|
| /src/sys/arch/amiga/stand/bootblock/elf2bb/ |
| elf2bb.c | 150 be32toh(eh->e_shoff))); 160 sh = (Elf32_Shdr *)(image + be32toh(eh->e_shoff)); 162 be32toh(sh[be16toh(eh->e_shstrndx)].sh_offset)); 171 be32toh(sh[i].sh_name), shstrtab + be32toh(sh[i].sh_name), 172 be32toh(sh[i].sh_type), be32toh(sh[i].sh_flags), 173 be32toh(sh[i].sh_addr), be32toh(sh[i].sh_offset), 174 be32toh(sh[i].sh_size), be32toh(sh[i].sh_addralign))) [all...] |
| chksum.c | 52 sum += be32toh(block[i]);
|
| /src/lib/libc/citrus/ |
| citrus_db.c | 76 if (_memstream_seek(&ms, be32toh(dhx->dhx_entry_offset), SEEK_SET)) 79 if (be32toh(dhx->dhx_num_entries)*_CITRUS_DB_ENTRY_SIZE > 115 num_entries = be32toh(dhx->dhx_num_entries); 128 be32toh(dhx->dhx_entry_offset) + 143 offset = be32toh(dex->dex_next_offset); 153 if (be32toh(dex->dex_hash_value) != hashval) 157 if (be32toh(dex->dex_key_size) == _region_size(key)) { 159 if (_memstream_seek(&ms, be32toh(dex->dex_key_offset), 171 &ms, be32toh(dex->dex_data_offset), 176 be32toh(dex->dex_data_size)) == NULL [all...] |
| /src/sys/dev/dkwedge/ |
| dkwedge_rdb.c | 134 if (be32toh(rbp->id) == RDBLOCK_ID) { 148 newsecsize = be32toh(rbp->nbytes); 168 for (nextb = be32toh(rbp->partbhead); nextb != RDBNULL; 169 nextb = be32toh(pbp->next)) { 180 if (be32toh(pbp->id) != PARTBLOCK_ID) { 195 tabsize = be32toh(pbp->e.tabsize); 216 archtype = getarchtype(be32toh(pbp->e.dostype)); 252 be32toh(pbp->e.secpertrk) * be32toh(pbp->e.numheads) 253 * ((be32toh(pbp->e.sizeblock) << 2) / secsize) [all...] |
| /src/sys/arch/arm/nxp/ |
| imx6_gpc.c | 127 const u_int type = be32toh(specifier[0]); 128 const u_int intr = be32toh(specifier[1]); 130 const u_int trig = be32toh(specifier[2]) & 0xf; 156 const u_int type = be32toh(specifier[0]); 157 const u_int intr = be32toh(specifier[1]);
|
| imx6_iomux.c | 69 u_int mux_reg = be32toh(pins[0]); 70 u_int conf_reg = be32toh(pins[1]); 71 u_int input_reg = be32toh(pins[2]); 72 u_int mux_mode = be32toh(pins[3]); 73 u_int input_val = be32toh(pins[4]); 74 u_int config = be32toh(pins[5]);
|
| imx6_pwm.c | 60 const u_int index = be32toh(pwm[1]); 63 const u_int period = be32toh(pwm[2]); 67 const u_int polarity = be32toh(pwm[3]);
|
| /src/sys/arch/prep/prep/ |
| residual.c | 166 l = be32toh(devid); 194 ndev = be32toh(res->ActualNumDevices); 219 ndev = be32toh(res->ActualNumDevices); 231 l = be32toh(id->BusId); 321 if (be32toh(res->ResidualLength) == 0) 324 printf("ResidualLength = %ld\n", be32toh(res->ResidualLength)); 337 l = be32toh(vpd->FirmwareSupplier); 340 l = be32toh(vpd->FirmwareSupports); 352 printf(" NvramSize = %ld\n", be32toh(vpd->NvramSize)); 353 printf(" NumSIMMSlots = %ld\n", be32toh(vpd->NumSIMMSlots)) [all...] |
| /src/lib/libc/citrus/modules/ |
| citrus_mapper_std.c | 123 conv = be32toh(_region_peek32(&rc->rc_table, idx*4)); 170 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid); 171 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits); 172 m = be32toh(rcx->rcx_src_col_bits); 184 m = be32toh(rcx->rcx_src_row_begin); 185 n = be32toh(rcx->rcx_src_row_end); 195 m = be32toh(rcx->rcx_src_col_begin); 196 n = be32toh(rcx->rcx_src_col_end); 215 rc->rc_dst_invalid = be32toh(rcx->rcx_dst_invalid); 216 rc->rc_dst_unit_bits = be32toh(rcx->rcx_dst_unit_bits) [all...] |
| /src/sys/arch/mips/cavium/dev/ |
| octeon_intc.c | 123 const u_int reg = be32toh(specifier[0]); 124 const u_int bit = be32toh(specifier[1]); 151 const u_int reg = be32toh(specifier[0]); 152 const u_int bit = be32toh(specifier[1]);
|
| /src/sys/dev/ata/ |
| ata_raid_adaptec.c | 106 info->magic_0 = be32toh(info->magic_0); 107 info->magic_1 = be32toh(info->magic_1); 108 info->magic_2 = be32toh(info->magic_2); 109 info->magic_3 = be32toh(info->magic_3); 110 info->magic_4 = be32toh(info->magic_4); 124 be32toh(info->configs[0].disk_number)); 126 gen = be32toh(info->generation); 158 aai->aai_capacity = be32toh(info->configs[0].sectors); 186 adi->adi_compsize = be32toh(info->configs[drive+1].sectors);
|
| /src/sys/external/bsd/common/include/asm/ |
| byteorder.h | 56 #define be32_to_cpu be32toh
|
| /src/sys/sys/ |
| exec_aout.h | 94 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag)) 97 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000)) 100 ((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO) 103 ((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
|
| /src/sys/ufs/ffs/ |
| ffs_appleufs.c | 89 if (o->ul_magic != be32toh(APPLEUFS_LABEL_MAGIC)) 95 n->ul_magic = be32toh(o->ul_magic); 96 n->ul_version = be32toh(o->ul_version); 97 n->ul_time = be32toh(o->ul_time);
|
| /src/crypto/external/cpl/trousers/dist/src/include/ |
| portable_endian.h | 28 # define be32toh(x) OSSwapBigToHostInt32(x) macro 52 # define be32toh(x) betoh32(x) macro 72 # define be32toh(x) ntohl(x) macro 90 # define be32toh(x) (x) macro
|
| /src/sys/arch/sgimips/stand/sgivol/ |
| sgivol.c | 238 if (be32toh(volhdr->magic) != SGI_BOOT_BLOCK_MAGIC) 240 "Use -i first.\n", be32toh(volhdr->magic)); 305 checksum += be32toh(l[i]); 317 be32toh(volhdr->voldir[i].block), 318 be32toh(volhdr->voldir[i].bytes), 319 (be32toh(volhdr->voldir[i].bytes) + 511) / 512); 322 if (be32toh(volhdr->partitions[i].blocks)) { 324 i, i + 'a', be32toh(volhdr->partitions[i].blocks), 325 be32toh(volhdr->partitions[i].first), 326 be32toh(volhdr->partitions[i].type) [all...] |
| /src/sys/arch/arm/ti/ |
| ti_cpufreq.c | 81 if ((rev & be32toh(supported_hw[0])) == 0) 84 if ((efuse & be32toh(supported_hw[1])) == 0)
|
| /src/sys/arch/arm/nvidia/ |
| tegra_lic.c | 142 const u_int type = be32toh(specifier[0]); 143 const u_int intr = be32toh(specifier[1]); 145 const u_int trig = be32toh(specifier[2]) & 0xf; 167 const u_int type = be32toh(specifier[0]); 168 const u_int intr = be32toh(specifier[1]);
|
| /src/sys/dev/fdt/ |
| fdt_iommu.c | 129 fdtbus_get_phandle_from_native(be32toh(p[0])); 173 const u_int rid_base = be32toh(*p++); 175 fdtbus_get_phandle_from_native(be32toh(*p++)); 176 const u_int iommu_base = be32toh(*p++); 177 const u_int length = be32toh(*p++);
|
| /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
| endian.h | 31 #define be32toh(x) betoh32(x) macro 53 #define be32toh(x) _byteswap_ulong(x) macro 76 #define be32toh(x) OSSwapBigToHostInt32(x) macro 163 #define be32toh(x) (x) macro 170 #define be32toh(x) bswap_32(x) macro
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_nmi.c | 188 irq = be32toh(specifier[0]); 190 pol = be32toh(specifier[1]); 193 if (be32toh(specifier[0]) != 0) { 196 be32toh(specifier[0])); 201 irq = be32toh(specifier[1]); 203 pol = be32toh(specifier[2]); 335 const u_int irq = be32toh(specifier[1]); 395 be32toh(interrupts[0]) != 0 /* GIC_SPI */ || 396 be32toh(interrupts[2]) != 4 /* IRQ_TYPE_LEVEL_HIGH */) { 400 sc->sc_intr_nmi = be32toh(interrupts[1]) [all...] |
| /src/sys/fs/efs/ |
| efs_subr.c | 93 if (be32toh(esb->sb_magic) != EFS_SB_MAGIC && 94 be32toh(esb->sb_magic) != EFS_SB_NEWMAGIC) { 106 if (be32toh(esb->sb_size) > EFS_SIZE_MAX) { 111 if (be32toh(esb->sb_firstcg) <= EFS_BB_BITMAP) { 140 cgfsize = be32toh(sbp->sb_cgfsize); 141 firstcg = be32toh(sbp->sb_firstcg); 211 ei->ei_size = be32toh(ei->ei_di.di_size); 212 ei->ei_atime = be32toh(ei->ei_di.di_atime); 213 ei->ei_mtime = be32toh(ei->ei_di.di_mtime); 214 ei->ei_ctime = be32toh(ei->ei_di.di_ctime) [all...] |
| /src/tools/arm-elf2aout/sys/ |
| exec_aout.h | 92 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : ((ex).a_midmag)) 95 (be32toh((uint32_t)((ex).a_midmag))&0xffff) : (((ex).a_midmag) | 0x10000)) 98 ((be32toh((uint32_t)((ex).a_midmag))>>16)&0x03ff) : MID_ZERO) 101 ((be32toh((uint32_t)((ex).a_midmag))>>26)&0x3f) : 0)
|