Lines Matching refs:trim
366 int64_t trim = 0;
468 // even multiple of the nodeSize then trim things back. if
469 // the file isn't large enough we trim back to the original
470 // size. otherwise we trim back to be an even multiple of the
483 trim = filePtr->fcbEOF - origSize;
485 trim = ((filePtr->fcbEOF - origSize) % btInfo.nodeSize);
488 ret = TruncateFileC(vcb, filePtr, filePtr->fcbEOF - trim, 0, 0, FTOC(filePtr)->c_fileid, 0);
499 panic("hfs: error truncating btree files (sz 0x%llx, trim %lld, ret %ld)\n",
500 filePtr->fcbEOF, trim, (long)ret);
516 panic("hfs: extendbtree: fcb %p has eof 0x%llx not a multiple of 0x%x (trim %llx)\n",
517 filePtr, filePtr->fcbEOF, btInfo.nodeSize, trim);