Searched refs:SWAP_BE16 (Results 1 - 10 of 10) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_endian.h48 #define SWAP_BE16(__a) OSSwapBigToHostInt16 (__a) macro
H A Dhfs_endian.c172 srcDesc->numRecords = SWAP_BE16 (srcDesc->numRecords);
193 srcOffs[i] = SWAP_BE16 (srcOffs[i]);
245 srcHead->treeDepth = SWAP_BE16 (srcHead->treeDepth);
252 srcHead->nodeSize = SWAP_BE16 (srcHead->nodeSize);
253 srcHead->maxKeyLength = SWAP_BE16 (srcHead->maxKeyLength);
374 srcOffs[i] = SWAP_BE16 (srcOffs[i]);
377 srcDesc->numRecords = SWAP_BE16 (srcDesc->numRecords);
449 srcKey->keyLength = SWAP_BE16 (srcKey->keyLength);
460 srcKey->keyLength = SWAP_BE16 (srcKey->keyLength);
512 srcKey->keyLength = SWAP_BE16 (srcKe
[all...]
H A Dhfs_vfsutils.c111 ((SWAP_BE16(mdb->drAtrb) & kHFSVolumeUnmountedMask) == 0)) {
120 vcb->vcbSigWord = SWAP_BE16 (mdb->drSigWord);
124 vcb->vcbAtrb = SWAP_BE16 (mdb->drAtrb);
125 vcb->vcbNmFls = SWAP_BE16 (mdb->drNmFls);
126 vcb->vcbVBMSt = SWAP_BE16 (mdb->drVBMSt);
127 vcb->nextAllocation = SWAP_BE16 (mdb->drAllocPtr);
128 vcb->totalBlocks = SWAP_BE16 (mdb->drNmAlBlks);
132 vcb->vcbAlBlSt = SWAP_BE16 (mdb->drAlBlSt);
134 vcb->freeBlocks = SWAP_BE16 (mdb->drFreeBks);
137 vcb->vcbNmRtDirs = SWAP_BE16 (md
[all...]
H A Dhfs_link.c107 fip->fdFlags = SWAP_BE16 (kIsAlias);
111 fip->fdFlags = SWAP_BE16 (kHasBeenInited);
965 fndrinfo->frLocation.v = SWAP_BE16(16384);
966 fndrinfo->frLocation.h = SWAP_BE16(16384);
967 fndrinfo->frFlags = SWAP_BE16(kIsInvisible + kNameLocked);
H A Dhfs_vfsops.c912 if ((SWAP_BE16(vhp->signature) != kHFSPlusSigWord &&
913 SWAP_BE16(vhp->signature) != kHFSXSigWord) ||
914 (SWAP_BE16(vhp->version) != kHFSPlusVersion &&
915 SWAP_BE16(vhp->version) != kHFSXVersion) ||
1567 if ((SWAP_BE16(mdbp->drSigWord) == kHFSSigWord) &&
1568 (mntwrapper || (SWAP_BE16(mdbp->drEmbedSigWord) != kHFSPlusSigWord))) {
1637 if (SWAP_BE16(mdbp->drEmbedSigWord) == kHFSPlusSigWord) {
1638 embeddedOffset = SWAP_BE16(mdbp->drAlBlSt) * kHFSBlockSize;
1639 embeddedOffset += (u_int64_t)SWAP_BE16(mdbp->drEmbedExtent.startBlock) *
1682 disksize = (u_int64_t)SWAP_BE16(mdb
[all...]
H A Dhfs_hotfiles.c1863 SWAP_BE16 (kIsInvisible + kNameLocked);
1881 ndp->numRecords = SWAP_BE16 (3);
1883 index[(nodesize / 2) - 1] = SWAP_BE16 (offset);
1887 bthp->nodeSize = SWAP_BE16 (nodesize);
1893 bthp->maxKeyLength = SWAP_BE16 (HFC_KEYLENGTH);
1895 index[(nodesize / 2) - 2] = SWAP_BE16 (offset);
1910 index[(nodesize / 2) - 3] = SWAP_BE16 (offset);
1916 index[(nodesize / 2) - 4] = SWAP_BE16 (offset);
H A Dhfs_search.c583 if ( (SWAP_BE16(finfop->frFlags) & kHasBundle)
600 (SWAP_BE16(finfop->frFlags) & kIsInvisible) ) {
757 flags = SWAP_BE16(finder_info->frFlags);
766 flags = SWAP_BE16(finder_info->fdFlags);
H A Dhfs_btreeio.c141 (SWAP_BE16 (((BTHeaderRec *)((char *)block->buffer + 14))->nodeSize) != buf_count(bp))) {
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/
H A DBTreeAllocate.c168 freeWord = SWAP_BE16 (*pos);
193 *pos |= SWAP_BE16 (mask); // set the map bit for the node
667 word = SWAP_BE16(*pos);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/
H A DBTreesPrivate.h187 #define M_SWAP_BE16_ClearBitNum(integer,bitNumber) ((integer) &= SWAP_BE16(~(1<<(bitNumber))))
188 #define M_SWAP_BE16_SetBitNum(integer,bitNumber) ((integer) |= SWAP_BE16(1<<(bitNumber)))

Completed in 48 milliseconds