Searched refs:IWP_WLOCK (Results 1 – 8 of 8) sorted by relevance
220 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()
82 #define IWP_WLOCK ((iwp_lockmode) 0x02U) macro
64 .lock_mode = IWP_WLOCK, in iwfs_exfile_test1()164 .lock_mode = IWP_WLOCK, in test_fibo_inc()
224 .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()
178 if (lmode & IWP_WLOCK) type = LOCKFILE_EXCLUSIVE_LOCK; in iwp_flock()
130 struct flock lock = {.l_type = (lmode & IWP_WLOCK) ? F_WRLCK : F_RDLCK, .l_whence = SEEK_SET}; in iwp_flock()
1136 rc = iwp_flock(wal->fh, IWP_WLOCK); in iwal_create()
3302 .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()