smart db slot-level info pointer (hides anti-padding LoadingParts arrays) More...
Public Member Functions | |
LoadingSlot (const SlotId slotId, LoadingParts &source) | |
bool | mapped () const |
void | mapped (const bool beMapped) |
bool | finalized () const |
void | finalized (const bool beFinalized) |
bool | freed () const |
void | freed (const bool beFreed) |
bool | used () const |
Public Attributes | |
Ipc::StoreMapSliceId & | more |
another slot in some chain belonging to the same entry (unordered!) More... | |
Private Attributes | |
LoadingFlags & | flags |
slot flags (see the above accessors) are ours More... | |
Detailed Description
Definition at line 133 of file RockRebuild.cc.
Constructor & Destructor Documentation
◆ LoadingSlot()
Rock::LoadingSlot::LoadingSlot | ( | const SlotId | slotId, |
LoadingParts & | source | ||
) |
Definition at line 207 of file RockRebuild.cc.
Member Function Documentation
◆ finalized() [1/2]
|
inline |
Definition at line 146 of file RockRebuild.cc.
References Rock::LoadingFlags::finalized, and flags.
Referenced by Rock::Rebuild::finalizeOrThrow(), and Rock::Rebuild::validateOneSlot().
◆ finalized() [2/2]
|
inline |
Definition at line 147 of file RockRebuild.cc.
References Rock::LoadingFlags::finalized, and flags.
◆ freed() [1/2]
|
inline |
Definition at line 150 of file RockRebuild.cc.
References flags, and Rock::LoadingFlags::freed.
Referenced by Rock::Rebuild::finalizeOrThrow(), Rock::Rebuild::freeSlot(), Rock::Rebuild::mapSlot(), used(), and Rock::Rebuild::validateOneSlot().
◆ freed() [2/2]
|
inline |
Definition at line 151 of file RockRebuild.cc.
References flags, and Rock::LoadingFlags::freed.
◆ mapped() [1/2]
|
inline |
Definition at line 142 of file RockRebuild.cc.
References flags, and Rock::LoadingFlags::mapped.
Referenced by Rock::Rebuild::finalizeOrThrow(), Rock::Rebuild::freeUnusedSlot(), Rock::Rebuild::mapSlot(), used(), and Rock::Rebuild::validateOneSlot().
◆ mapped() [2/2]
|
inline |
Definition at line 143 of file RockRebuild.cc.
References flags, and Rock::LoadingFlags::mapped.
◆ used()
|
inline |
Definition at line 153 of file RockRebuild.cc.
Member Data Documentation
◆ flags
|
private |
Definition at line 156 of file RockRebuild.cc.
Referenced by finalized(), freed(), and mapped().
◆ more
Ipc::StoreMapSliceId& Rock::LoadingSlot::more |
Definition at line 139 of file RockRebuild.cc.
Referenced by Rock::Rebuild::addSlotToEntry(), Rock::Rebuild::chainSlots(), and used().
The documentation for this class was generated from the following file:
- src/fs/rock/RockRebuild.cc