Searched refs:SWAP_BE32 (Results 1 - 11 of 11) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_endian.c68 src->clumpSize = SWAP_BE32 (src->clumpSize);
69 src->totalBlocks = SWAP_BE32 (src->totalBlocks);
72 src->extents[i].startBlock = SWAP_BE32 (src->extents[i].startBlock);
73 src->extents[i].blockCount = SWAP_BE32 (src->extents[i].blockCount);
114 srcDesc->fLink = SWAP_BE32 (srcDesc->fLink);
115 srcDesc->bLink = SWAP_BE32 (srcDesc->bLink);
247 srcHead->rootNode = SWAP_BE32 (srcHead->rootNode);
248 srcHead->leafRecords = SWAP_BE32 (srcHead->leafRecords);
249 srcHead->firstLeafNode = SWAP_BE32 (srcHead->firstLeafNode);
250 srcHead->lastLeafNode = SWAP_BE32 (srcHea
[all...]
H A Dhfs_endian.h49 #define SWAP_BE32(__a) OSSwapBigToHostInt32 (__a) macro
H A Dhfs_vfsutils.c105 if (SWAP_BE32(mdb->drAlBlkSiz) == 0 ||
106 (SWAP_BE32(mdb->drAlBlkSiz) & 0x01FF) != 0)
121 vcb->hfs_itime = to_bsd_time(LocalToUTC(SWAP_BE32(mdb->drCrDate)));
122 vcb->localCreateDate = SWAP_BE32 (mdb->drCrDate);
123 vcb->vcbLsMod = to_bsd_time(LocalToUTC(SWAP_BE32(mdb->drLsMod)));
130 vcb->blockSize = SWAP_BE32 (mdb->drAlBlkSiz);
131 vcb->vcbClpSiz = SWAP_BE32 (mdb->drClpSiz);
133 vcb->vcbNxtCNID = SWAP_BE32 (mdb->drNxtCNID);
135 vcb->vcbVolBkUp = to_bsd_time(LocalToUTC(SWAP_BE32(mdb->drVolBkUp)));
136 vcb->vcbWrCnt = SWAP_BE32 (md
[all...]
H A Dhfs_hotfiles.c206 (SWAP_BE32 (hotfileinfo.magic) == HFC_MAGIC) &&
207 (SWAP_BE32 (hotfileinfo.timeleft) > 0) &&
208 (SWAP_BE32 (hotfileinfo.timebase) > 0)) {
209 hfsmp->hfc_maxfiles = SWAP_BE32 (hotfileinfo.maxfilecnt);
210 hfsmp->hfc_timeout = SWAP_BE32 (hotfileinfo.timeleft) + tv.tv_sec ;
211 hfsmp->hfc_timebase = SWAP_BE32 (hotfileinfo.timebase);
218 hfsmp->vcbVN, SWAP_BE32 (hotfileinfo.timeleft));
477 hotfileinfo.magic = SWAP_BE32 (HFC_MAGIC);
478 hotfileinfo.version = SWAP_BE32 (HFC_VERSION);
479 hotfileinfo.duration = SWAP_BE32 (HFC_DEFAULT_DURATIO
[all...]
H A Dhfs_vfsops.c916 SWAP_BE32(vhp->blockSize) != vcb->blockSize) {
921 vcb->vcbLsMod = to_bsd_time(SWAP_BE32(vhp->modifyDate));
922 vcb->vcbAtrb = SWAP_BE32 (vhp->attributes);
923 vcb->vcbJinfoBlock = SWAP_BE32(vhp->journalInfoBlock);
924 vcb->vcbClpSiz = SWAP_BE32 (vhp->rsrcClumpSize);
925 vcb->vcbNxtCNID = SWAP_BE32 (vhp->nextCatalogID);
926 vcb->vcbVolBkUp = to_bsd_time(SWAP_BE32(vhp->backupDate));
927 vcb->vcbWrCnt = SWAP_BE32 (vhp->writeCount);
928 vcb->vcbFilCnt = SWAP_BE32 (vhp->fileCount);
929 vcb->vcbDirCnt = SWAP_BE32 (vh
[all...]
H A Dhfs_search.c449 type = SWAP_BE32(recp->userInfo.fdType);
450 creator = SWAP_BE32(recp->userInfo.fdCreator);
684 if ((SWAP_BE32(filep->userInfo.fdType) == kHardLinkFileType) &&
685 (SWAP_BE32(filep->userInfo.fdCreator) == kHFSPlusCreator)) {
690 } else if ((SWAP_BE32(filep->userInfo.fdType) == kHFSAliasType) &&
691 (SWAP_BE32(filep->userInfo.fdCreator) == kHFSAliasCreator) &&
H A Dhfs_catalog.c695 if ((SWAP_BE32(recp->hfsPlusFile.userInfo.fdType) == kHardLinkFileType) &&
696 (SWAP_BE32(recp->hfsPlusFile.userInfo.fdCreator) == kHFSPlusCreator)) {
699 (SWAP_BE32(recp->hfsPlusFile.userInfo.fdType) == kHFSAliasType) &&
700 (SWAP_BE32(recp->hfsPlusFile.userInfo.fdCreator) == kHFSAliasCreator)) {
1740 (SWAP_BE32(file->userInfo.fdType) == kHFSAliasType) &&
1741 (SWAP_BE32(file->userInfo.fdCreator) == kHFSAliasCreator);
2578 if ((SWAP_BE32(rec->hfsPlusFile.userInfo.fdType) == kHardLinkFileType) &&
2579 (SWAP_BE32(rec->hfsPlusFile.userInfo.fdCreator) == kHFSPlusCreator)) {
2582 (SWAP_BE32(rec->hfsPlusFile.userInfo.fdType) == kHFSAliasType) &&
2583 (SWAP_BE32(re
[all...]
H A Dhfs_link.c105 fip->fdType = SWAP_BE32 (kHFSAliasType);
106 fip->fdCreator = SWAP_BE32 (kHFSAliasCreator);
109 fip->fdType = SWAP_BE32 (kHardLinkFileType);
110 fip->fdCreator = SWAP_BE32 (kHFSPlusCreator);
H A Dhfs_vnops.c5218 fip->fdType = SWAP_BE32(kSymLinkFileType);
5219 fip->fdCreator = SWAP_BE32(kSymLinkCreator);
H A Dhfs_xattr.c723 if (fip->fdType == SWAP_BE32(kHardLinkFileType)) {
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c1932 currentWord = SWAP_BE32 (*buffer);
1975 currentWord = SWAP_BE32 (*buffer);
2018 *buffer = SWAP_BE32 (currentWord); // update value in bitmap
2054 currentWord = SWAP_BE32 (*buffer);
2057 *buffer = SWAP_BE32 (currentWord); // update the last change
2318 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
2322 *currentWord |= SWAP_BE32 (bitMask); // set the bits in the bitmap
2360 *currentWord = SWAP_BE32 (bitMask);
2394 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
2398 *currentWord |= SWAP_BE32 (bitMas
[all...]

Completed in 120 milliseconds