Home
last modified time | relevance | path

Searched refs:IWP_WLOCK (Results 1 – 8 of 8) sorted by relevance

/third_party/iowow/src/fs/
Diwfile.c220 opts->lock_mode |= IWP_WLOCK; in iwfs_file_open()
234 if (!(opts->omode & IWFS_OWRITE) && (opts->lock_mode & IWP_WLOCK)) { in iwfs_file_open()
235 opts->lock_mode &= ~IWP_WLOCK; in iwfs_file_open()
/third_party/iowow/src/platform/
Diwp.h82 #define IWP_WLOCK ((iwp_lockmode) 0x02U) macro
/third_party/iowow/src/fs/tests/
Diwfs_test1.c64 .lock_mode = IWP_WLOCK, in iwfs_exfile_test1()
164 .lock_mode = IWP_WLOCK, in test_fibo_inc()
Diwfs_test2.c224 .file = {.path = "test_fsm_open_close.fsm", .lock_mode = IWP_WLOCK}, in test_fsm_open_close()
281 .lock_mode = IWP_WLOCK, in test_fsm_uniform_alloc_impl()
/third_party/iowow/src/platform/win32/
Dwin32.c178 if (lmode & IWP_WLOCK) type = LOCKFILE_EXCLUSIVE_LOCK; in iwp_flock()
/third_party/iowow/src/platform/unix/
Dunix.c130 struct flock lock = {.l_type = (lmode & IWP_WLOCK) ? F_WRLCK : F_RDLCK, .l_whence = SEEK_SET}; in iwp_flock()
/third_party/iowow/src/kv/
Diwal.c1136 rc = iwp_flock(wal->fh, IWP_WLOCK); in iwal_create()
Diwkv.c3302 .lock_mode = IWP_WLOCK | extra_lock_flags in _iwkv_check_online_backup()
3512 .lock_mode = (oflags & IWKV_RDONLY) ? IWP_RLOCK : IWP_WLOCK in iwkv_open()