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_ioman.c File Reference
#include <string.h>
#include "ff_ioman.h"
#include "ff_fatdef.h"
#include "ff_crc.h"

Go to the source code of this file.

Defines

#define FF_GPT_HEAD_ENTRY_SIZE   0x54
#define FF_GPT_HEAD_TOTAL_ENTRIES   0x50
#define FF_GPT_HEAD_PART_ENTRY_LBA   0x48
#define FF_GPT_ENTRY_FIRST_SECTOR_LBA   0x20
#define FF_GPT_HEAD_CRC   0x10
#define FF_GPT_HEAD_LENGTH   0x0C

Functions

FF_T_UINT32 FF_CountFreeClusters (FF_IOMAN *pIoman, FF_ERROR *pError)
static void FF_IOMAN_InitBufferDescriptors (FF_IOMAN *pIoman)
 Initialises Buffer Descriptions as part of the FF_IOMAN object initialisation.
FF_IOMANFF_CreateIOMAN (FF_T_UINT8 *pCacheMem, FF_T_UINT32 Size, FF_T_UINT16 BlkSize, FF_ERROR *pError)
 Creates an FF_IOMAN object, to initialise FullFAT.
FF_ERROR FF_DestroyIOMAN (FF_IOMAN *pIoman)
 Destroys an FF_IOMAN object, and frees all assigned memory.
FF_ERROR FF_FlushCache (FF_IOMAN *pIoman)
 Flushes all Write cache buffers with no active Handles.
FF_BUFFERFF_GetBuffer (FF_IOMAN *pIoman, FF_T_UINT32 Sector, FF_T_UINT8 Mode)
void FF_ReleaseBuffer (FF_IOMAN *pIoman, FF_BUFFER *pBuffer)
 Releases a buffer resource.
FF_ERROR FF_RegisterBlkDevice (FF_IOMAN *pIoman, FF_T_UINT16 BlkSize, FF_WRITE_BLOCKS fnWriteBlocks, FF_READ_BLOCKS fnReadBlocks, void *pParam)
 Registers a device driver with FullFAT.
FF_T_SINT32 FF_BlockRead (FF_IOMAN *pIoman, FF_T_UINT32 ulSectorLBA, FF_T_UINT32 ulNumSectors, void *pBuffer)
FF_T_SINT32 FF_BlockWrite (FF_IOMAN *pIoman, FF_T_UINT32 ulSectorLBA, FF_T_UINT32 ulNumSectors, void *pBuffer)
static FF_ERROR FF_DetermineFatType (FF_IOMAN *pIoman)
static FF_T_SINT8 FF_PartitionCount (FF_T_UINT8 *pBuffer)
static FF_ERROR FF_GetEfiPartitionEntry (FF_IOMAN *pIoman, FF_T_UINT32 ulPartitionNumber)
FF_ERROR FF_MountPartition (FF_IOMAN *pIoman, FF_T_UINT8 PartitionNumber)
 Mounts the Specified partition, the volume specified by the FF_IOMAN object provided.
FF_ERROR FF_UnregisterBlkDevice (FF_IOMAN *pIoman)
 Unregister a Blockdevice, so that the IOMAN can be re-used for another device.
static FF_T_BOOL FF_ActiveHandles (FF_IOMAN *pIoman)
 Checks the cache for Active Handles.
FF_ERROR FF_UnmountPartition (FF_IOMAN *pIoman)
 Unmounts the active partition.
FF_ERROR FF_IncreaseFreeClusters (FF_IOMAN *pIoman, FF_T_UINT32 Count)
FF_ERROR FF_DecreaseFreeClusters (FF_IOMAN *pIoman, FF_T_UINT32 Count)
FF_T_SINT32 FF_GetPartitionBlockSize (FF_IOMAN *pIoman)
 Returns the Block-size of a mounted Partition.
FF_T_UINT32 FF_GetVolumeSize (FF_IOMAN *pIoman)

Detailed Description

Author:
James Walmsley

Definition in file ff_ioman.c.


Generated on Sun May 27 2012 06:00:51 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.