Searched refs:bytesToAdd (Results 1 - 4 of 4) sorted by relevance
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_btreeio.c | 384 u_int64_t bytesToAdd; local 398 bytesToAdd = minEOF - filePtr->fcbEOF; 400 if (bytesToAdd < filePtr->ff_clumpsize) 401 bytesToAdd = filePtr->ff_clumpsize; //XXX why not always be a mutiple of clump size? 446 while((off_t)bytesToAdd >= btInfo.nodeSize) { 448 retval = ExtendFileC(vcb, filePtr, bytesToAdd, 0, 452 bytesToAdd >>= 1; 453 if (bytesToAdd < btInfo.nodeSize) { 455 } else if ((bytesToAdd % btInfo.nodeSize) != 0) { 457 bytesToAdd [all...] |
H A D | hfs_readwrite.c | 301 off_t bytesToAdd = 0; local 504 bytesToAdd = writelimit - filebytes; 507 retval = hfs_chkdq(cp, (int64_t)(roundup(bytesToAdd, hfsmp->blockSize)), 519 bytesToAdd = writelimit - filebytes; 533 retval = MacToVFSError(ExtendFileC (hfsmp, (FCB*)fp, bytesToAdd, 557 uio_setresid(uio, (uio_resid(uio) - bytesToAdd)); 558 resid -= bytesToAdd; 766 uio_setresid(uio, (uio_resid(uio) + bytesToAdd)); 767 resid += bytesToAdd; 3275 off_t bytesToAdd; local [all...] |
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 958 int64_t bytesToAdd, // number of bytes to allocate 1004 if (bytesToAdd >= kTwoGigabytes) 1006 if ((((int64_t)fcb->ff_blocks * (int64_t)volumeBlockSize) + bytesToAdd) >= kTwoGigabytes) 1015 blocksToAdd = howmany(bytesToAdd, volumeBlockSize); 1016 bytesToAdd = (int64_t)((int64_t)blocksToAdd * (int64_t)volumeBlockSize); 1023 && (bytesToAdd < (int64_t)HFS_MAX_DEFERED_ALLOC) 1034 *actualBytesAdded = bytesToAdd; 1045 bytesToAdd = (int64_t)blocksToAdd * (int64_t)volumeBlockSize; 1061 && (bytesToAdd < (int64_t)HFS_MAX_DEFERED_ALLOC) 1063 maximumBytes = (int64_t)howmany(bytesToAdd, vc 955 ExtendFileC( ExtendedVCB *vcb, FCB *fcb, int64_t bytesToAdd, u_int32_t blockHint, u_int32_t flags, int64_t *actualBytesAdded) argument [all...] |
/xnu-2782.1.97/bsd/hfs/hfscommon/headers/ |
H A D | FileMgrInternal.h | 279 int64_t bytesToAdd,
|
Completed in 35 milliseconds