Searched refs:bpow (Results 1 – 5 of 5) sorted by relevance
/third_party/iowow/src/fs/ |
D | iwfsmfile.c | 101 uint8_t bpow; /**< Block size power for 2 */ member 437 size_t aunit_blk = (impl->aunit >> impl->bpow); in _fsm_blk_allocate_aligned_lw() 580 static_assert(sizeof(impl->bpow) == 1, "sizeof(impl->bpow) == 1"); in _fsm_write_meta_lw() 581 assert(sp + sizeof(impl->bpow) <= IWFSM_CUSTOM_HDR_DATA_OFFSET); in _fsm_write_meta_lw() 582 memcpy(hdr + sp, &impl->bpow, sizeof(impl->bpow)); in _fsm_write_meta_lw() 583 sp += sizeof(impl->bpow); in _fsm_write_meta_lw() 912 …if ((bmlen & ((1U << impl->bpow) - 1)) || (bmoff & ((1U << impl->bpow) - 1)) || (bmoff & (impl->au… in _fsm_init_lw() 922 if (bmlen * 8 < ((bmoff + bmlen) >> impl->bpow) + 1) { in _fsm_init_lw() 966 assert(!((impl->bmlen - bmlen) & ((1U << impl->bpow) - 1))); in _fsm_init_lw() 994 rc = _fsm_set_bit_status_lw(impl, (bmoff >> impl->bpow), (bmlen >> impl->bpow), 1, FSM_BM_NONE); in _fsm_init_lw() [all …]
|
D | iwfsmfile.h | 164 uint8_t bpow; /**< Block size power for 2 */ member
|
/third_party/iowow/src/fs/tests/ |
D | iwfs_test3.c | 90 void test_stress(char *path, int bpow, bool mmap_all) { in test_stress() argument 100 .bpow = bpow, in test_stress()
|
D | iwfs_test2.c | 228 .bpow = 6, in test_fsm_open_close() 286 .bpow = 6, in test_fsm_uniform_alloc_impl() 547 .bpow = blkpow, in test_block_allocation_impl() 566 task.blkpow = opts.bpow; in test_block_allocation_impl() 608 .bpow = 6, in test_block_allocation1_impl() 616 int bsize = (1 << opts.bpow); /* byte block */ in test_block_allocation1_impl()
|
/third_party/iowow/src/kv/ |
D | iwkv.c | 3518 .bpow = IWKV_FSM_BPOW, // 64 bytes block size in iwkv_open()
|