Home
last modified time | relevance | path

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

/third_party/iowow/src/fs/
Diwfile.c224 opts->omode |= IWFS_OTRUNC; in iwfs_file_open()
227 if (opts->omode & IWFS_OTRUNC) { in iwfs_file_open()
234 if ((opts->omode & IWFS_OCREATE) || (opts->omode & IWFS_OTRUNC)) { in iwfs_file_open()
243 if (!rc && !(opts->omode & IWFS_OTRUNC)) { in iwfs_file_open()
255 if (omode & IWFS_OTRUNC) { in iwfs_file_open()
274 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.c64 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in iwfs_exfile_test1()
164 .omode = IWFS_DEFAULT_OMODE | IWFS_OTRUNC in test_fibo_inc()
222 IWFS_EXT_OPTS opts = { .file = { .path = path, .omode = IWFS_OTRUNC }, .use_locks = 0 }; in test_mmap1()
Diwfs_test2.c283 .omode = IWFS_OTRUNC in test_fsm_uniform_alloc_impl()
547 .file = { .path = path, .omode = IWFS_OTRUNC }, in test_block_allocation_impl()
608 .omode = IWFS_OTRUNC in test_block_allocation1_impl()
Diwfs_test3.c96 .omode = IWFS_OTRUNC in test_stress()
/third_party/iowow/src/kv/
Diwkv.c3031 .omode = IWFS_OREAD | IWFS_OWRITE | IWFS_OTRUNC in _iwkv_check_online_backup()
3097 omode |= IWFS_OTRUNC; in iwkv_open()
3103 if ((omode & IWFS_OWRITE) && !(omode & IWFS_OTRUNC)) { in iwkv_open()