Home
last modified time | relevance | path

Searched refs:IWFS_FSM (Results 1 – 7 of 7) sorted by relevance

/third_party/iowow/src/fs/
Diwfsmfile.h197 typedef struct IWFS_FSM { struct
217 iwrc(*allocate)(struct IWFS_FSM *f, off_t len, off_t *oaddr, off_t *olen, argument
236 iwrc(*reallocate)(struct IWFS_FSM *f, off_t nlen, off_t *oaddr, off_t *olen, argument
246 iwrc(*deallocate)(struct IWFS_FSM *f, off_t addr, off_t len); argument
253 iwrc(*check_allocation_status)(struct IWFS_FSM *f, off_t addr, off_t len, bool allocated); argument
266 iwrc(*writehdr)(struct IWFS_FSM *f, off_t off, const void *buf, off_t siz); argument
278 iwrc(*readhdr)(struct IWFS_FSM *f, off_t off, void *buf, off_t siz); argument
287 iwrc(*clear)(struct IWFS_FSM *f, iwfs_fsm_clrfalgs clrflags); argument
292 iwrc(*ensure_size)(struct IWFS_FSM *f, off_t size); argument
296 iwrc(*add_mmap)(struct IWFS_FSM *f, off_t off, size_t maxlen, iwfs_ext_mmap_opts_t opts); argument
[all …]
Diwfsmfile.c39 void iwfs_fsmdbg_dump_fsm_tree(IWFS_FSM *f, const char *hdr);
92 IWFS_FSM *f; /**< Self reference. */
1464 static iwrc _fsm_write(struct IWFS_FSM *f, off_t off, const void *buf, size_t siz, size_t *sp) { in _fsm_write()
1489 static iwrc _fsm_read(struct IWFS_FSM *f, off_t off, void *buf, size_t siz, size_t *sp) { in _fsm_read()
1513 static iwrc _fsm_sync(struct IWFS_FSM *f, iwfs_sync_flags flags) { in _fsm_sync()
1523 static iwrc _fsm_close(struct IWFS_FSM *f) { in _fsm_close()
1556 static iwrc _fsm_ensure_size(struct IWFS_FSM *f, off_t size) { in _fsm_ensure_size()
1571 static iwrc _fsm_add_mmap(struct IWFS_FSM *f, off_t off, size_t maxlen, iwfs_ext_mmap_opts_t opts) { in _fsm_add_mmap()
1576 static iwrc _fsm_remap_all(struct IWFS_FSM *f) { in _fsm_remap_all()
1581 iwrc _fsm_acquire_mmap(struct IWFS_FSM *f, off_t off, uint8_t **mm, size_t *sp) { in _fsm_acquire_mmap()
[all …]
/third_party/iowow/src/fs/tests/
Diwfs_test2.c63 uint64_t iwfs_fsmdbg_number_of_free_areas(IWFS_FSM *f);
72 void iwfs_fsmdbg_dump_fsm_tree(IWFS_FSM *f, const char *hdr);
73 iwrc iwfs_fsmdbg_state(IWFS_FSM *f, IWFS_FSMDBG_STATE *d);
74 iwrc iwfs_fsmdb_dump_fsm_bitmap(IWFS_FSM *f, int blimit);
235 IWFS_FSM fsm; in test_fsm_open_close()
301 IWFS_FSM fsm; in test_fsm_uniform_alloc_impl()
406 IWFS_FSM *fsm;
419 IWFS_FSM *fsm = task->fsm; in recordsthr()
554 IWFS_FSM fsm; in test_block_allocation_impl()
598 IWFS_FSM fsm; in test_block_allocation1_impl()
Diwfs_test3.c91 IWFS_FSM fsm; in test_stress()
/third_party/iowow/src/kv/dbg/
Diwkvdbg.c11 IWFS_FSM *fsm = &kb->db->iwkv->fsm; in iwkvd_kvblk()
44 IWFS_FSM *fsm = &sb->db->iwkv->fsm; in iwkvd_sblk()
101 IWFS_FSM *iwkvd_fsm(IWKV kv) { in iwkvd_fsm()
/third_party/iowow/src/kv/
Diwkv.c483 IWFS_FSM *fsm = &dctx->iwkv->fsm; in _db_dispose_chain()
544 IWFS_FSM *fsm = &iwkv->fsm; in _db_destroy_lw()
611 IWFS_FSM *fsm = &iwkv->fsm; in _db_create_lw()
1040 IWFS_FSM *fsm = &kb->db->iwkv->fsm; in _kvblk_rmkv()
1116 IWFS_FSM *fsm = &db->iwkv->fsm; in _kvblk_addkv()
1247 IWFS_FSM *fsm = &db->iwkv->fsm; in _kvblk_updatev()
1370 IWFS_FSM *fsm = &lx->db->iwkv->fsm; in _sblk_destroy()
1433 IWFS_FSM *fsm = &lx->db->iwkv->fsm; in _sblk_create_v1()
1503 IWFS_FSM *fsm = &lx->db->iwkv->fsm; in _sblk_create_v2()
1566 IWFS_FSM *fsm = &db->iwkv->fsm; in _sblk_at2()
[all …]
Diwkv_internal.h256 IWFS_FSM fsm; /**< FSM pool */