Home
last modified time | relevance | path

Searched refs:OSSwapBigToHostInt32 (Results 1 – 10 of 10) sorted by relevance

/xnu-8796.121.2/bsd/kern/
H A Dmach_fat.c86 nfat_arch = OSSwapBigToHostInt32(header->nfat_arch); in fatfile_getarch()
100 testtype = OSSwapBigToHostInt32(arch->cputype); in fatfile_getarch()
101 testsubtype = OSSwapBigToHostInt32(arch->cpusubtype) & ~CPU_SUBTYPE_MASK; in fatfile_getarch()
102 testfeatures = OSSwapBigToHostInt32(arch->cpusubtype) & CPU_SUBTYPE_MASK; in fatfile_getarch()
130 validate_potential_simulator_binary(OSSwapBigToHostInt32(best_arch->cputype), in fatfile_getarch()
131 imgp, OSSwapBigToHostInt32(best_arch->offset), in fatfile_getarch()
132 OSSwapBigToHostInt32(best_arch->size)) != LOAD_SUCCESS) { in fatfile_getarch()
144 OSSwapBigToHostInt32(best_arch->cputype); in fatfile_getarch()
146 OSSwapBigToHostInt32(best_arch->cpusubtype); in fatfile_getarch()
148 OSSwapBigToHostInt32(best_arch->offset); in fatfile_getarch()
[all …]
H A Dmach_loader.c3815 } else if (OSSwapBigToHostInt32(header->fat_header.magic) == FAT_MAGIC) { in get_macho_vnode()
H A Dkern_exec.c762 if (OSSwapBigToHostInt32(fat_header->magic) != FAT_MAGIC) { in exec_fat_imgact()
/xnu-8796.121.2/bsd/vfs/
H A Dvfs_quota.c407 if ((OSSwapBigToHostInt32(header.dqh_magic) != quotamagic[type]) || in dqfileopen()
408 (OSSwapBigToHostInt32(header.dqh_version) > QF_VERSION) || in dqfileopen()
409 (!powerof2(OSSwapBigToHostInt32(header.dqh_maxentries))) || in dqfileopen()
410 (OSSwapBigToHostInt32(header.dqh_maxentries) > (file_size / sizeof(struct dqblk)))) { in dqfileopen()
416 qfp->qf_btime = OSSwapBigToHostInt32(header.dqh_btime); in dqfileopen()
421 qfp->qf_itime = OSSwapBigToHostInt32(header.dqh_itime); in dqfileopen()
427 qfp->qf_maxentries = OSSwapBigToHostInt32(header.dqh_maxentries); in dqfileopen()
428 qfp->qf_entrycnt = OSSwapBigToHostInt32(header.dqh_entrycnt); in dqfileopen()
823 if (OSSwapBigToHostInt32(dqb->dqb_id) == id) { in dqlookup()
827 dqb->dqb_ihardlimit = OSSwapBigToHostInt32(dqb->dqb_ihardlimit); in dqlookup()
[all …]
H A Dvfs_xattr.c1462 #define SWAP32(x) OSSwapBigToHostInt32((x))
/xnu-8796.121.2/EXTERNAL_HEADERS/architecture/
H A Dbyte_order.h170 return (unsigned int)OSSwapBigToHostInt32((uint32_t)x); in NXSwapBigIntToHost()
179 return (unsigned long)OSSwapBigToHostInt32((uint32_t)x); in NXSwapBigLongToHost()
206 return NXConvertSwappedFloatToHost((NXSwappedFloat)OSSwapBigToHostInt32((uint32_t)x)); in NXSwapBigFloatToHost()
/xnu-8796.121.2/libkern/libkern/
H A DOSByteOrder.h91 #define OSSwapBigToHostInt(x) OSSwapBigToHostInt32(x)
224 #define OSSwapBigToHostInt32(x) ((uint32_t)(x)) macro
298 #define OSSwapBigToHostInt32(x) OSSwapInt32(x) macro
H A Dmkext.h94 #define MKEXT_SWAP(num) OSSwapBigToHostInt32((uint32_t)(num))
/xnu-8796.121.2/osfmk/kdp/
H A Dkdp_udp.h63 #define ntohl(x) OSSwapBigToHostInt32(x)
/xnu-8796.121.2/iokit/Kernel/
H A DIOPMrootDomain.cpp9308 tracePointPCI = OSSwapBigToHostInt32(bootFailureCode); in callPlatformFunction()