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

/xnu-2782.1.97/bsd/hfs/
H A Dhfs_endian.c71 src->clumpSize = SWAP_BE32 (src->clumpSize);
72 src->totalBlocks = SWAP_BE32 (src->totalBlocks);
75 src->extents[i].startBlock = SWAP_BE32 (src->extents[i].startBlock);
76 src->extents[i].blockCount = SWAP_BE32 (src->extents[i].blockCount);
117 srcDesc->fLink = SWAP_BE32 (srcDesc->fLink);
118 srcDesc->bLink = SWAP_BE32 (srcDesc->bLink);
253 srcHead->rootNode = SWAP_BE32 (srcHead->rootNode);
254 srcHead->leafRecords = SWAP_BE32 (srcHead->leafRecords);
255 srcHead->firstLeafNode = SWAP_BE32 (srcHead->firstLeafNode);
256 srcHead->lastLeafNode = SWAP_BE32 (srcHea
[all...]
H A Dhfs_endian.h49 #define SWAP_BE32(__a) OSSwapBigToHostInt32 (__a) macro
H A Dhfs_vfsops.c886 SWAP_BE32(vhp->blockSize) != vcb->blockSize) {
891 vcb->vcbLsMod = to_bsd_time(SWAP_BE32(vhp->modifyDate));
892 vcb->vcbAtrb = SWAP_BE32 (vhp->attributes);
893 vcb->vcbJinfoBlock = SWAP_BE32(vhp->journalInfoBlock);
894 vcb->vcbClpSiz = SWAP_BE32 (vhp->rsrcClumpSize);
895 vcb->vcbNxtCNID = SWAP_BE32 (vhp->nextCatalogID);
896 vcb->vcbVolBkUp = to_bsd_time(SWAP_BE32(vhp->backupDate));
897 vcb->vcbWrCnt = SWAP_BE32 (vhp->writeCount);
898 vcb->vcbFilCnt = SWAP_BE32 (vhp->fileCount);
899 vcb->vcbDirCnt = SWAP_BE32 (vh
[all...]
H A Dhfs_vfsutils.c117 if (SWAP_BE32(mdb->drAlBlkSiz) == 0 ||
118 (SWAP_BE32(mdb->drAlBlkSiz) & 0x01FF) != 0)
133 vcb->hfs_itime = to_bsd_time(LocalToUTC(SWAP_BE32(mdb->drCrDate)));
134 vcb->localCreateDate = SWAP_BE32 (mdb->drCrDate);
135 vcb->vcbLsMod = to_bsd_time(LocalToUTC(SWAP_BE32(mdb->drLsMod)));
142 vcb->blockSize = SWAP_BE32 (mdb->drAlBlkSiz);
143 vcb->vcbClpSiz = SWAP_BE32 (mdb->drClpSiz);
145 vcb->vcbNxtCNID = SWAP_BE32 (mdb->drNxtCNID);
147 vcb->vcbVolBkUp = to_bsd_time(LocalToUTC(SWAP_BE32(mdb->drVolBkUp)));
148 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_timebase = SWAP_BE32 (hotfileinfo.timebase);
211 hfsmp->hfc_timeout = SWAP_BE32 (hotfileinfo.timeleft) + tv.tv_sec ;
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_search.c459 type = SWAP_BE32(recp->userInfo.fdType);
460 creator = SWAP_BE32(recp->userInfo.fdCreator);
717 if ((SWAP_BE32(filep->userInfo.fdType) == kHardLinkFileType) &&
718 (SWAP_BE32(filep->userInfo.fdCreator) == kHFSPlusCreator)) {
723 } else if ((SWAP_BE32(filep->userInfo.fdType) == kHFSAliasType) &&
724 (SWAP_BE32(filep->userInfo.fdCreator) == kHFSAliasCreator) &&
H A Dhfs_catalog.c944 if ((SWAP_BE32(recp->hfsPlusFile.userInfo.fdType) == kHardLinkFileType) &&
945 (SWAP_BE32(recp->hfsPlusFile.userInfo.fdCreator) == kHFSPlusCreator)) {
948 (SWAP_BE32(recp->hfsPlusFile.userInfo.fdType) == kHFSAliasType) &&
949 (SWAP_BE32(recp->hfsPlusFile.userInfo.fdCreator) == kHFSAliasCreator)) {
1971 (SWAP_BE32(file->userInfo.fdType) == kHFSAliasType) &&
1972 (SWAP_BE32(file->userInfo.fdCreator) == kHFSAliasCreator);
2857 if ((SWAP_BE32(rec->hfsPlusFile.userInfo.fdType) == kHardLinkFileType) &&
2858 (SWAP_BE32(rec->hfsPlusFile.userInfo.fdCreator) == kHFSPlusCreator)) {
2861 (SWAP_BE32(rec->hfsPlusFile.userInfo.fdType) == kHFSAliasType) &&
2862 (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_xattr.c767 if (fip->fdType == SWAP_BE32(kHardLinkFileType)) {
H A Dhfs_vnops.c6276 fip->fdType = SWAP_BE32(kSymLinkFileType);
6277 fip->fdCreator = SWAP_BE32(kSymLinkCreator);
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c1971 currentWord = SWAP_BE32 (*buffer);
2033 currentWord = SWAP_BE32 (*buffer);
2137 currentWord = SWAP_BE32 (*buffer);
2382 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
2386 *currentWord |= SWAP_BE32 (bitMask); // set the bits in the bitmap
2424 *currentWord = SWAP_BE32 (bitMask);
2458 if ((*currentWord & SWAP_BE32 (bitMask)) != 0) {
2462 *currentWord |= SWAP_BE32 (bitMask); // set the bits in the bitmap
2686 if (*currentWord & SWAP_BE32(bitMask))
2709 (*currentWord & SWAP_BE32 (bitMas
[all...]

Completed in 115 milliseconds