Lines Matching refs:fCurrent
645 fCurrent(-1),
653 fCurrent(-1),
672 if (fCurrent < 0)
675 fRunBlockEnd = fCurrent >= 0
680 if (fCurrent >= 0 && pos >= fRunFileOffset && pos < fRunBlockEnd)
707 fCurrent = (start % indirectSize) / directSize;
708 fRunFileOffset = fInode->data.max_indirect_range + (index * indirectSize) + (fCurrent * directSize);
710 fRun = indirect[fCurrent];
711 //printf("\tfCurrent = %ld, fRunFileOffset = %lld, fRunBlockEnd = %lld, fRun = %ld,%d\n",fCurrent,fRunFileOffset,fRunBlockEnd,fRun.allocation_group,fRun.start);
723 fCurrent = -1;
727 while (++fCurrent < indirectRuns) {
728 if (indirect[fCurrent].IsZero())
732 fRunBlockEnd += indirect[fCurrent].length << fDisk->BlockShift();
736 if (fCurrent == indirectRuns || indirect[fCurrent].IsZero())
739 fRun = indirect[fCurrent];
741 //printf("### indirect-run[%ld] = (%ld,%d,%d), offset = %lld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset);
747 fCurrent = -1;
751 while (++fCurrent < NUM_DIRECT_BLOCKS) {
752 if (fInode->data.direct[fCurrent].IsZero())
756 fRunBlockEnd += fInode->data.direct[fCurrent].length << fDisk->BlockShift();
760 if (fCurrent == NUM_DIRECT_BLOCKS || fInode->data.direct[fCurrent].IsZero())
763 fRun = fInode->data.direct[fCurrent];
764 //printf("### run[%ld] = (%ld,%d,%d), offset = %lld\n",fCurrent,fRun.allocation_group,fRun.start,fRun.length,fRunFileOffset);