Searched refs:KV_BLOCK_SIZE_BITS (Results 1 – 3 of 3) sorted by relevance
15 #if (KV_BLOCK_SIZE_BITS >= 16) || (KV_TOTAL_SIZE >= 0x10000)79 #define KV_BLOCK_SIZE (1 << KV_BLOCK_SIZE_BITS)80 #define KV_BLOCK_NUMS (KV_TOTAL_SIZE >> KV_BLOCK_SIZE_BITS)
29 #define KV_BLOCK_SIZE_BITS 12 macro31 #define KV_BLOCK_SIZE_BITS KV_CONFIG_BLOCK_SIZE_BITS macro
131 kv_size_t pos = (blk_idx << KV_BLOCK_SIZE_BITS); in kv_block_format()170 blk_idx = (g_kv_mgr.write_pos) >> KV_BLOCK_SIZE_BITS; in kv_calc_position()185 blk_idx_tmp = (g_kv_mgr.write_pos) >> KV_BLOCK_SIZE_BITS; in kv_calc_position()201 blk_start = (i << KV_BLOCK_SIZE_BITS); in kv_calc_position()282 i = off >> KV_BLOCK_SIZE_BITS; in kv_item_del()395 idx = (g_kv_mgr.write_pos) >> KV_BLOCK_SIZE_BITS; in __item_gc_cb()685 i = (origin_pos >> KV_BLOCK_SIZE_BITS) + 1; in kv_gc_task()705 if (i == (origin_pos >> KV_BLOCK_SIZE_BITS)) { in kv_gc_task()743 pos = (blk_idx << KV_BLOCK_SIZE_BITS) + KV_BLOCK_HDR_SIZE; in kv_item_traverse()744 end = (blk_idx << KV_BLOCK_SIZE_BITS) + KV_BLOCK_SIZE; in kv_item_traverse()[all …]
Completed in 5 milliseconds