Home
last modified time | relevance | path

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

/third_party/iowow/src/fs/
Diwfile.c58 if (!(impl->opts.omode & IWFS_OWRITE)) { in _iwfs_write()
149 if (!(impl->opts.omode & IWFS_OWRITE)) { in _iwfs_copy()
228 opts->omode |= IWFS_OWRITE; in iwfs_file_open()
232 opts->omode |= IWFS_OWRITE; in iwfs_file_open()
235 opts->omode |= IWFS_OWRITE; in iwfs_file_open()
239 if (!(opts->omode & IWFS_OWRITE) && (opts->lock_mode & IWP_WLOCK)) { in iwfs_file_open()
250 if (omode & IWFS_OWRITE) { in iwfs_file_open()
272 if (omode & IWFS_OWRITE) { in iwfs_file_open()
Diwfile.h76 #define IWFS_OWRITE ((iwfs_omode) 0x02U) macro
Diwexfile.c167 int prot = (impl->omode & IWFS_OWRITE) ? (PROT_WRITE + PROT_READ) : (PROT_READ); in _exfile_initmmap_slot_lw()
224 if (!(omode & IWFS_OWRITE)) { in _exfile_truncate_lw()
241 if (!(omode & IWFS_OWRITE)) { in _exfile_truncate_lw()
Diwfsmfile.c1195 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_trim_tail_lw()
1533 if (fsm->root && (fsm->omode & IWFS_OWRITE)) { in _fsm_close()
1610 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_allocate()
1636 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_reallocate()
1681 if (!(fsm->omode & IWFS_OWRITE)) { in _fsm_deallocate()
/third_party/iowow/src/fs/tests/
Diwfs_test2.c342 CU_ASSERT_FALSE(state2.state.exfile.file.opts.omode & IWFS_OWRITE); in test_fsm_uniform_alloc_impl()
361 opts.exfile.file.omode = IWFS_OWRITE; in test_fsm_uniform_alloc_impl()
/third_party/iowow/src/kv/
Diwkv.c2950 .omode = IWFS_OREAD | IWFS_OWRITE, in _iwkv_check_online_backup()
3031 .omode = IWFS_OREAD | IWFS_OWRITE | IWFS_OTRUNC in _iwkv_check_online_backup()
3100 omode |= IWFS_OWRITE; in iwkv_open()
3103 if ((omode & IWFS_OWRITE) && !(omode & IWFS_OTRUNC)) { in iwkv_open()
Diwal.c622 extopts.file.omode = IWFS_OCREATE | IWFS_OWRITE; in _recover_wl()