class Page
Defined at line 74 of file ../../src/storage/f2fs/file_cache.h
Public Methods
void Page (FileCache * file_cache, pgoff_t index)
Defined at line 16 of file ../../src/storage/f2fs/file_cache.cc
void ~Page ()
Defined at line 18 of file ../../src/storage/f2fs/file_cache.cc
VnodeF2fs & GetVnode ()
Defined at line 20 of file ../../src/storage/f2fs/file_cache.cc
FileCache & GetFileCache ()
Defined at line 24 of file ../../src/storage/f2fs/file_cache.cc
VmoManager & GetVmoManager ()
Defined at line 22 of file ../../src/storage/f2fs/file_cache.cc
void Page ()
Defined at line 79 of file ../../src/storage/f2fs/file_cache.h
void Page (const Page & )
Defined at line 81 of file ../../src/storage/f2fs/file_cache.h
Page & operator= (const Page & )
Defined at line 82 of file ../../src/storage/f2fs/file_cache.h
void Page (const Page && )
Defined at line 83 of file ../../src/storage/f2fs/file_cache.h
Page & operator= (const Page && )
Defined at line 84 of file ../../src/storage/f2fs/file_cache.h
void fbl_recycle ()
Defined at line 87 of file ../../src/storage/f2fs/file_cache.h
pgoff_t GetKey ()
Defined at line 89 of file ../../src/storage/f2fs/file_cache.h
pgoff_t GetIndex ()
Defined at line 90 of file ../../src/storage/f2fs/file_cache.h
template <typename U = void>
U * GetAddress ()
Defined at line 102 of file ../../src/storage/f2fs/file_cache.h
zx_status_t GetVmo ()
If it runs on a discardable VMO, this method ensures that a associated VMO keeps with its
mapping until |this| is evicted from FileCache. If it is backed on a pager's VMO, it does
nothing.
Defined at line 104 of file ../../src/storage/f2fs/file_cache.cc
bool IsDirty ()
Defined at line 107 of file ../../src/storage/f2fs/file_cache.h
bool IsWriteback ()
Defined at line 108 of file ../../src/storage/f2fs/file_cache.h
bool IsVmoLocked ()
Defined at line 109 of file ../../src/storage/f2fs/file_cache.h
bool IsActive ()
Defined at line 110 of file ../../src/storage/f2fs/file_cache.h
bool IsColdData ()
Defined at line 111 of file ../../src/storage/f2fs/file_cache.h
bool IsCommit ()
Defined at line 112 of file ../../src/storage/f2fs/file_cache.h
bool IsSync ()
Defined at line 113 of file ../../src/storage/f2fs/file_cache.h
bool InTreeContainer ()
Check that |this| Page exists in FileCache.
Defined at line 141 of file ../../src/storage/f2fs/file_cache.h
bool InListContainer ()
Check that |this| Page exists in any PageList.
Defined at line 143 of file ../../src/storage/f2fs/file_cache.h
zx_status_t VmoOpUnlock (bool evict)
Defined at line 187 of file ../../src/storage/f2fs/file_cache.cc
zx::result<bool> VmoOpLock ()
Defined at line 195 of file ../../src/storage/f2fs/file_cache.cc
bool IsUptodate ()
Defined at line 124 of file ../../src/storage/f2fs/file_cache.cc
void ClearWriteback ()
Defined at line 157 of file ../../src/storage/f2fs/file_cache.cc
void WaitOnWriteback ()
Defined at line 135 of file ../../src/storage/f2fs/file_cache.cc
bool SetUptodate ()
Defined at line 131 of file ../../src/storage/f2fs/file_cache.cc
void ClearUptodate ()
Defined at line 133 of file ../../src/storage/f2fs/file_cache.cc
bool SetCommit ()
Defined at line 166 of file ../../src/storage/f2fs/file_cache.cc
void ClearCommit ()
Defined at line 168 of file ../../src/storage/f2fs/file_cache.cc
bool SetSync ()
Defined at line 170 of file ../../src/storage/f2fs/file_cache.cc
void ClearSync ()
Defined at line 172 of file ../../src/storage/f2fs/file_cache.cc
void SetColdData ()
Defined at line 174 of file ../../src/storage/f2fs/file_cache.cc
bool ClearColdData ()
Defined at line 179 of file ../../src/storage/f2fs/file_cache.cc
bool SetDirty ()
Defined at line 60 of file ../../src/storage/f2fs/file_cache.cc
uint32_t Size ()
Defined at line 132 of file ../../src/storage/f2fs/file_cache.h
block_t GetBlockAddr ()
Defined at line 133 of file ../../src/storage/f2fs/file_cache.h
zx_status_t Read (void *data,uint64_toffset,size_tlen)
Defined at line 203 of file ../../src/storage/f2fs/file_cache.cc
zx_status_t Write (const void *data,uint64_toffset,size_tlen)
Defined at line 214 of file ../../src/storage/f2fs/file_cache.cc
F2fs * fs ()
Defined at line 37 of file ../../src/storage/f2fs/file_cache.cc
Protected Methods
void RecyclePage ()
It notifies VmoManager that there is no reference to |this|.
Defined at line 26 of file ../../src/storage/f2fs/file_cache.cc
Friends
class FileCache
class LockedPage