Searched refs:KV_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance
79 #define KV_BLOCK_SIZE (1 << KV_BLOCK_SIZE_BITS) macro81 #define KV_BLOCK_OFF_MASK ~(KV_BLOCK_SIZE - 1)
136 if (!kv_flash_erase(pos, KV_BLOCK_SIZE)) { in kv_block_format()147 g_kv_mgr.block_info[blk_idx].space = KV_BLOCK_SIZE - KV_BLOCK_HDR_SIZE; in kv_block_format()202 g_kv_mgr.write_pos = blk_start + KV_BLOCK_SIZE - blk_info->space; in kv_calc_position()588 if (g_kv_mgr.block_info[i].space != (KV_BLOCK_SIZE - KV_BLOCK_HDR_SIZE)) { in kv_init_internal()639 KV_BLOCK_SIZE - \ in kv_init_internal()744 end = (blk_idx << KV_BLOCK_SIZE_BITS) + KV_BLOCK_SIZE; in kv_item_traverse()
Completed in 4 milliseconds