Home
last modified time | relevance | path

Searched refs:gpRedMR (Results 1 – 9 of 9) sorted by relevance

/FreeRTOS-Plus/Source/Reliance-Edge/core/driver/
A Dimap.c120 ( ( fAllocated && ( gpRedMR->ulFreeBlocks == 0U ) ) || in RedImapBlockSet()
168 gpRedMR->ulFreeBlocks--; in RedImapBlockSet()
189 gpRedMR->ulFreeBlocks++; in RedImapBlockSet()
220 else if( gpRedMR->ulFreeBlocks == 0U ) in RedImapAllocBlock()
226 uint32_t ulStopBlock = gpRedMR->ulAllocNextBlock; in RedImapAllocBlock()
233 ret = RedImapBlockState( gpRedMR->ulAllocNextBlock, &state ); in RedImapAllocBlock()
240 ret = RedImapBlockSet( gpRedMR->ulAllocNextBlock, true ); in RedImapAllocBlock()
243 *pulBlock = gpRedMR->ulAllocNextBlock; in RedImapAllocBlock()
250 gpRedMR->ulAllocNextBlock++; in RedImapAllocBlock()
252 if( gpRedMR->ulAllocNextBlock == gpRedVolume->ulBlockCount ) in RedImapAllocBlock()
[all …]
A Dvolume.c232 gpRedMR = &gpRedCoreVol->aMR[ bMR ]; in RedVolMountMetaroot()
270 gpRedMR = &gpRedCoreVol->aMR[ gpRedCoreVol->bCurMR ]; in RedVolMountMetaroot()
374 gpRedMR->hdr.ulSignature = META_SIG_METAROOT; in RedVolTransact()
386 MetaRootEndianSwap( gpRedMR ); in RedVolTransact()
389 gpRedMR->ulSectorCRC = 0U; in RedVolTransact()
399 gpRedMR->hdr.ulCRC = ulSectorCRC; in RedVolTransact()
402 gpRedMR->ulSectorCRC = ulSectorCRC; in RedVolTransact()
405 gpRedMR->hdr.ulCRC = RedRev32( gpRedMR->hdr.ulCRC ); in RedVolTransact()
406 gpRedMR->ulSectorCRC = RedRev32( gpRedMR->ulSectorCRC ); in RedVolTransact()
423 MetaRootEndianSwap( gpRedMR ); in RedVolTransact()
[all …]
A Dimapinline.c108 if( RedBitGet( gpRedMR->abEntries, ulOffset ) == fAllocated ) in RedImapIBlockSet()
119 RedBitSet( gpRedMR->abEntries, ulOffset ); in RedImapIBlockSet()
124 RedBitClear( gpRedMR->abEntries, ulOffset ); in RedImapIBlockSet()
A Dformat.c112 RedMemSet( gpRedMR, 0U, sizeof( *gpRedMR ) ); in RedVolFormat()
114 gpRedMR->ulFreeBlocks = gpRedVolume->ulBlocksAllocable; in RedVolFormat()
116 gpRedMR->ulFreeInodes = gpRedVolConf->ulInodeCount; in RedVolFormat()
118 gpRedMR->ulAllocNextBlock = gpRedCoreVol->ulFirstAllocableBN; in RedVolFormat()
A Dimapextern.c221 if( RedBitGet( gpRedMR->abEntries, ulImapNode ) ) in ImapNodeBranch()
223 RedBitClear( gpRedMR->abEntries, ulImapNode ); in ImapNodeBranch()
227 RedBitSet( gpRedMR->abEntries, ulImapNode ); in ImapNodeBranch()
A Dcore.c81 METAROOT * gpRedMR = &gaCoreVol[ 0U ].aMR[ 0U ]; variable
363 gpRedMR = &gpRedCoreVol->aMR[ gpRedCoreVol->bCurMR ]; in RedCoreVolSetCurrent()
529 …pStatFS->f_bfree = ( gpRedMR->ulFreeBlocks > RESERVED_BLOCKS ) ? ( gpRedMR->ulFreeBlocks - RESERVE… in RedCoreVolStat()
531 pStatFS->f_bfree = gpRedMR->ulFreeBlocks; in RedCoreVolStat()
535 pStatFS->f_ffree = gpRedMR->ulFreeInodes; in RedCoreVolStat()
536 pStatFS->f_favail = gpRedMR->ulFreeInodes; in RedCoreVolStat()
A Dinode.c317 gpRedMR->ulFreeInodes--; in RedInodeCreate()
484 if( gpRedMR->ulFreeInodes >= gpRedVolConf->ulInodeCount ) in RedInodeFree()
491 gpRedMR->ulFreeInodes++; in RedInodeFree()
808 else if( gpRedMR->ulFreeInodes == 0U ) in InodeFindFree()
A Dinodedata.c1918 uint32_t ulFreeBlocks = gpRedMR->ulFreeBlocks; in FreeBlockCount()
/FreeRTOS-Plus/Source/Reliance-Edge/core/include/
A Dredcorevol.h95 extern METAROOT * gpRedMR;

Completed in 21 milliseconds