class BcacheMapper
Defined at line 78 of file ../../src/storage/f2fs/bcache.h
Public Methods
void BcacheMapper (const BcacheMapper & )
Defined at line 80 of file ../../src/storage/f2fs/bcache.h
BcacheMapper & operator= (const BcacheMapper & )
Defined at line 81 of file ../../src/storage/f2fs/bcache.h
void BcacheMapper (BcacheMapper && )
Defined at line 82 of file ../../src/storage/f2fs/bcache.h
BcacheMapper & operator= (BcacheMapper && )
Defined at line 83 of file ../../src/storage/f2fs/bcache.h
uint64_t Maxblk ()
Defined at line 93 of file ../../src/storage/f2fs/bcache.h
block_t BlockSize ()
Defined at line 94 of file ../../src/storage/f2fs/bcache.h
bool IsWritable ()
Defined at line 103 of file ../../src/storage/f2fs/bcache.h
size_t GetFreeSpaceSize ()
Defined at line 104 of file ../../src/storage/f2fs/bcache.h
size_t GetSliceSize ()
Defined at line 111 of file ../../src/storage/f2fs/bcache.h
void ForEachBcache (fit::function<void (Bcache *)> func)
This function is only used for test and InspectTree purposes.
Defined at line 119 of file ../../src/storage/f2fs/bcache.h
zx::result<std::unique_ptr<BcacheMapper>> Create (std::vector<std::unique_ptr<Bcache>> bcaches)
Defined at line 271 of file ../../src/storage/f2fs/bcache.cc
zx_status_t Readblk (block_t bno, void * data)
Make a read/write operation from/to a 4KiB block at |bno|.
|buffer_| is used as a block buffer.
Defined at line 215 of file ../../src/storage/f2fs/bcache.cc
zx_status_t Writeblk (block_t bno, const void * data)
Defined at line 234 of file ../../src/storage/f2fs/bcache.cc
zx_status_t Trim (size_t start, size_t num)
Defined at line 248 of file ../../src/storage/f2fs/bcache.cc
zx_status_t BlockGetInfo (fuchsia_storage_block::wire::BlockInfo * out_info)
Defined at line 454 of file ../../src/storage/f2fs/bcache.cc
zx_status_t RunRequests (const std::vector<storage::BufferedOperation> & operations)
Defined at line 283 of file ../../src/storage/f2fs/bcache.cc
zx_status_t Flush ()
Defined at line 262 of file ../../src/storage/f2fs/bcache.cc
zx_status_t BlockAttachVmo (const zx::vmo & vmo, storage::Vmoid * out)
Defined at line 362 of file ../../src/storage/f2fs/bcache.cc
zx_status_t BlockDetachVmo (storage::Vmoid vmoid)
Defined at line 389 of file ../../src/storage/f2fs/bcache.cc