ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

FF_T_UINT8 FF_getMinorBlockNumber ( FF_IOMAN pIoman,
FF_T_UINT32  nEntry,
FF_T_UINT16  nEntrySize 
) [private]

Definition at line 68 of file ff_blk.c.

Referenced by FF_FetchEntryWithContext(), FF_GetC(), FF_PushEntryWithContext(), FF_PutC(), FF_PutEntry(), FF_Read(), and FF_Write().

                                                                                                {
    FF_PARTITION *pPart             = pIoman->pPartition;
    FF_T_UINT32 relClusterEntry     = nEntry % (pIoman->BlkSize * (pPart->SectorsPerCluster * pPart->BlkFactor) / nEntrySize);
    FF_T_UINT16 relmajorBlockEntry  = (FF_T_UINT16)(relClusterEntry % (pPart->BlkSize / nEntrySize));
    FF_T_UINT8 minorBlockNumber     = (FF_T_UINT8) (relmajorBlockEntry / (pIoman->BlkSize / nEntrySize));
    return minorBlockNumber;
}

Generated on Sun May 27 2012 06:00:47 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.