Home
last modified time | relevance | path

Searched refs:IWFS_OTRUNC (Results 1 – 6 of 6) sorted by relevance

/third_party/iowow/src/fs/
Diwfile.c219 opts->omode |= IWFS_OTRUNC; in iwfs_file_open()
222 if (opts->omode & IWFS_OTRUNC) { in iwfs_file_open()
229 if ((opts->omode & IWFS_OCREATE) || (opts->omode & IWFS_OTRUNC)) { in iwfs_file_open()
238 if (!rc && !(opts->omode & IWFS_OTRUNC)) { in iwfs_file_open()
250 if (omode & IWFS_OTRUNC) { in iwfs_file_open()
269 if (omode & IWFS_OTRUNC) { in iwfs_file_open()
Diwfile.h80 #define IWFS_OTRUNC ((iwfs_omode) 0x08U) macro
/third_party/iowow/src/fs/tests/
Diwfs_test1.c65 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in iwfs_exfile_test1()
165 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in test_fibo_inc()
223 IWFS_EXT_OPTS opts = {.file = {.path = path, .omode = IWFS_OTRUNC}, .use_locks = 0}; in test_mmap1()
Diwfs_test2.c282 .omode = IWFS_OTRUNC in test_fsm_uniform_alloc_impl()
544 .file = {.path = path, .omode = IWFS_OTRUNC}, in test_block_allocation_impl()
604 .omode = IWFS_OTRUNC in test_block_allocation1_impl()
Diwfs_test3.c96 .omode = IWFS_OTRUNC in test_stress()
/third_party/iowow/src/kv/
Diwkv.c3382 .omode = IWFS_OREAD | IWFS_OWRITE | IWFS_OTRUNC in _iwkv_check_online_backup()
3448 omode |= IWFS_OTRUNC; in iwkv_open()
3454 if ((omode & IWFS_OWRITE) && !(omode & IWFS_OTRUNC)) { in iwkv_open()