describe a physical page addr 更多...
#include <ftl.h>
成员变量 | |
| union { | |
| struct { | |
| uint64_t blk: BLK_BITS | |
| uint64_t pg: PG_BITS | |
| uint64_t sec: SEC_BITS | |
| uint64_t pl: PL_BITS | |
| uint64_t lun: LUN_BITS | |
| uint64_t ch: CH_BITS | |
| uint64_t rsv: 1 | |
| } g | |
| uint64_t ppa | |
| }; | |
describe a physical page addr
| union { ... } |
| uint64_t ppa::blk |
| uint64_t ppa::ch |
| struct { ... } ppa::g |
| uint64_t ppa::lun |
| uint64_t ppa::pg |
| uint64_t ppa::pl |
| uint64_t ppa::ppa |
| uint64_t ppa::rsv |
| uint64_t ppa::sec |