Searched refs:bytesToAdd (Results 1 - 4 of 4) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_btreeio.c | 359 u_int64_t bytesToAdd; local 373 bytesToAdd = minEOF - filePtr->fcbEOF; 375 if (bytesToAdd < filePtr->ff_clumpsize) 376 bytesToAdd = filePtr->ff_clumpsize; //XXX why not always be a mutiple of clump size? 421 while((off_t)bytesToAdd >= btInfo.nodeSize) { 423 retval = ExtendFileC(vcb, filePtr, bytesToAdd, 0, 427 bytesToAdd >>= 1; 428 if (bytesToAdd < btInfo.nodeSize) { 430 } else if ((bytesToAdd % btInfo.nodeSize) != 0) { 432 bytesToAdd [all...] |
H A D | hfs_readwrite.c | 279 off_t bytesToAdd = 0; local 475 bytesToAdd = writelimit - filebytes; 478 retval = hfs_chkdq(cp, (int64_t)(roundup(bytesToAdd, hfsmp->blockSize)), 490 bytesToAdd = writelimit - filebytes; 504 retval = MacToVFSError(ExtendFileC (hfsmp, (FCB*)fp, bytesToAdd, 528 uio_setresid(uio, (uio_resid(uio) - bytesToAdd)); 529 resid -= bytesToAdd; 742 uio_setresid(uio, (uio_resid(uio) + bytesToAdd)); 743 resid += bytesToAdd; 2845 off_t bytesToAdd; local [all...] |
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 942 int64_t bytesToAdd, // number of bytes to allocate 987 if (bytesToAdd >= kTwoGigabytes) 989 if ((((int64_t)fcb->ff_blocks * (int64_t)volumeBlockSize) + bytesToAdd) >= kTwoGigabytes) 996 blocksToAdd = howmany(bytesToAdd, volumeBlockSize); 997 bytesToAdd = (int64_t)((int64_t)blocksToAdd * (int64_t)volumeBlockSize); 1004 && (bytesToAdd < (int64_t)HFS_MAX_DEFERED_ALLOC) 1015 *actualBytesAdded = bytesToAdd; 1026 bytesToAdd = (int64_t)blocksToAdd * (int64_t)volumeBlockSize; 1042 && (bytesToAdd < (int64_t)HFS_MAX_DEFERED_ALLOC) 1044 maximumBytes = (int64_t)howmany(bytesToAdd, vc 939 ExtendFileC( ExtendedVCB *vcb, FCB *fcb, int64_t bytesToAdd, u_int32_t blockHint, u_int32_t flags, int64_t *actualBytesAdded) argument [all...] |
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/ |
H A D | FileMgrInternal.h | 290 int64_t bytesToAdd,
|
Completed in 30 milliseconds