CernVM-FS
2.12.0
|
#include <glue_buffer.h>
Public Member Functions | |
int32_t | Add (const struct stat &info) |
uint64_t | Erase (int32_t index) |
struct stat | Get (int32_t index) const |
Private Attributes | |
BigVector< struct stat > | store_ |
A vector of stat structs. When removing items, the empty slot is swapped with the last element so that there are no gaps in the vector. The memory allocation of the vector grows and shrinks with the size. Removal of items returns the inode of the element swapped with the gap so that the page entry tracker can update its index.
Definition at line 382 of file glue_buffer.h.
|
inline |
Definition at line 384 of file glue_buffer.h.
Referenced by glue::PageCacheTracker::Open().
|
inline |
Definition at line 393 of file glue_buffer.h.
Referenced by glue::PageCacheTracker::Close().
|
inline |
Definition at line 401 of file glue_buffer.h.
Referenced by glue::PageCacheTracker::GetInfoIfOpen().
|
private |
Definition at line 404 of file glue_buffer.h.