Searched refs:BLK2ADDR (Results 1 – 3 of 3) sorted by relevance
/third_party/iowow/src/kv/ |
D | iwkv.c | 383 db->next_db_addr = BLK2ADDR(db->next_db_addr); // blknum -> addr in _db_at() 488 off_t sba = BLK2ADDR(sbn); in _db_dispose_chain() 496 memcpy(&kvszpow, mm + BLK2ADDR(kvblkn) + KBLK_SZPOW_OFF, 1); in _db_dispose_chain() 524 rc = fsm->deallocate(fsm, BLK2ADDR(kvblkn), 1ULL << kvszpow); in _db_dispose_chain() 600 IWRC(fsm->deallocate(fsm, BLK2ADDR(db->meta_blk), BLK2ADDR(db->meta_blkn)), rc); in _db_destroy_lw() 1335 return _kvblk_at_mm(lx, BLK2ADDR(sblk->kvblkn), mm, 0, &sblk->kvblk); in _sblk_loadkvblk_mm() 1371 off_t kvb_addr = BLK2ADDR(sblk->kvblkn); in _sblk_destroy() 2172 off_t blkaddr = BLK2ADDR(blkn); in _lx_roll_forward() 2643 rc = _sblk_at(lx, BLK2ADDR(rb.n[0]), 0, &nb); in _lx_del_sblk_lw() 2791 rc = _kvblk_at_mm(lx, BLK2ADDR(cn1->kblkn), mm, 0, &kb); in _dbcache_cmp_nodes() [all …]
|
D | iwkv_internal.h | 101 #define BLK2ADDR(blk_) (((uint64_t) (blk_)) << IWKV_FSM_BPOW) macro
|
/third_party/iowow/src/kv/dbg/ |
D | iwkvdbg.c | 141 rc = _sblk_at(&lx, BLK2ADDR(blk), 0, &sb); in iwkvd_db()
|