Home
last modified time | relevance | path

Searched refs:bpow (Results 1 – 5 of 5) sorted by relevance

/third_party/iowow/src/fs/
Diwfsmfile.c104 uint8_t bpow; /**< Block size power for 2 */ member
435 size_t aunit_blk = (fsm->aunit >> fsm->bpow); in _fsm_blk_allocate_aligned_lw()
586 static_assert(sizeof(fsm->bpow) == 1, "sizeof(fms->bpow) == 1"); in _fsm_write_meta_lw()
587 assert(sp + sizeof(fsm->bpow) <= IWFSM_CUSTOM_HDR_DATA_OFFSET); in _fsm_write_meta_lw()
588 memcpy(hdr + sp, &fsm->bpow, sizeof(fsm->bpow)); in _fsm_write_meta_lw()
589 sp += sizeof(fsm->bpow); in _fsm_write_meta_lw()
924 …if ((bmlen & ((1U << fsm->bpow) - 1)) || (bmoff & ((1U << fsm->bpow) - 1)) || (bmoff & (fsm->aunit… in _fsm_init_lw()
934 if (bmlen * 8 < ((bmoff + bmlen) >> fsm->bpow) + 1) { in _fsm_init_lw()
978 assert(!((fsm->bmlen - bmlen) & ((1U << fsm->bpow) - 1))); in _fsm_init_lw()
1006 …RCC(rc, rollback, _fsm_set_bit_status_lw(fsm, (bmoff >> fsm->bpow), (bmlen >> fsm->bpow), 1, FSM_B… in _fsm_init_lw()
[all …]
Diwfsmfile.h166 uint8_t bpow; /**< Block size power for 2 */ member
/third_party/iowow/src/fs/tests/
Diwfs_test3.c90 void test_stress(char *path, int bpow, bool mmap_all) { in test_stress() argument
100 .bpow = bpow, in test_stress()
Diwfs_test2.c230 .bpow = 6, in test_fsm_open_close()
287 .bpow = 6, in test_fsm_uniform_alloc_impl()
550 .bpow = blkpow, in test_block_allocation_impl()
569 task.blkpow = opts.bpow; in test_block_allocation_impl()
612 .bpow = 6, in test_block_allocation1_impl()
620 int bsize = (1 << opts.bpow); /* byte block */ in test_block_allocation1_impl()
/third_party/iowow/src/kv/
Diwkv.c3167 .bpow = IWKV_FSM_BPOW, // 64 bytes block size in iwkv_open()