Home
last modified time | relevance | path

Searched refs:SLEVELS (Results 1 – 2 of 2) sorted by relevance

/dports/databases/iowow/iowow-1.4.13/src/kv/
H A Diwkv_internal.h59 #define SLEVELS 24U macro
61 #define AANUM (2U * SLEVELS + 2 /* levels + (new block created) + (db block may be updated) */)
228 uint32_t lcnt[SLEVELS]; /**< SBLK count per level */
240 blkn_t n[SLEVELS]; /**< Next nodes */
294 SBLK *plower[SLEVELS]; /**< Pinned lower nodes per level */
295 SBLK *pupper[SLEVELS]; /**< Pinned upper nodes per level */
411 #define SOFF_BPOS_U1_V2 (SOFF_N0_U4 + 4 * SLEVELS)
413 #define SOFF_LK_V1 (SOFF_N0_U4 + 4 * SLEVELS)
426 #define DOFF_C0_U4 (DOFF_N0_U4 + 4 * SLEVELS)
427 #define DOFF_METABLK_U4 (DOFF_C0_U4 + 4 * SLEVELS)
H A Diwkv.c390 for (int i = 0; i < SLEVELS; ++i) { in _db_at()
428 wp += 4 + SLEVELS * 4 * 2; // set to zero in _db_save()
430 wp += 4 + SLEVELS * 4 * 2; // skip in _db_save()
1426 assert(lvl < SLEVELS); in _sblk_genlevel()
1431 for (lvl = 0; lvl < SLEVELS && !(r & 1); ++lvl) r >>= 1; in _sblk_genlevel()
1432 uint8_t ret = IW_UNLIKELY(lvl >= SLEVELS) ? SLEVELS - 1 : lvl; in _sblk_genlevel()
1518 for (int i = SLEVELS - 1; i >= 0; --i) { in _sblk_create_v2()
1596 for (int i = 0; i < SLEVELS; ++i) { in _sblk_at2()
1621 if (sblk->lvl >= SLEVELS) { in _sblk_at2()
1708 for (int i = 0; i < SLEVELS; ++i) { in _sblk_sync_mm()
[all …]