s32page.h File Reference

KPoolPageSize

const TIntKPoolPageSize

Size of the pages in the page pool.

KNullPageRefValue

const TUint32KNullPageRefValue

KNullPageRef

const TPageRefKNullPageRef

Defines a null page reference.

Typedef TPageAbandonFunction

typedef void(*TPageAbandonFunction

Typedef to define a function that abandons pages in page pool. It is used by MPagePool::AcquireL().

See also: MPagePool::AcquireL()

Enum TPageReclamation

Flags that define how allocated pages can be reclaimed.

A BTree can locate some pages even when the tree is broken, but not all. The ones it cannot track must be tracked by the page pool in order to reclaim the storage if the tree breaks. The page can be deleted, but its space not reclaimed.

The page pool will not track these pages, so to retrieve the space the page must be deleted explicitly.

EnumeratorValueDescription
EPageDeleteOnly
EPageReclaimable

Page can be reclaimed.

The page pool will track these pages, and will be able to reclaim the pages when, for example, RStorePagePool::ReclaimL() is called.

Enum TPageChange

Flags that define how a page should be treated when it is unlocked. Unlock only.

EnumeratorValueDescription
EPageNoChange
EPageDirty

Mark the page as dirty.

EPageUpdate

Mark the page as needing a safe update.

EPageAbandon-1

Discard the page.