Searched refs:IWP_WLOCK (Results 1 – 8 of 8) sorted by relevance
225 opts->lock_mode |= IWP_WLOCK; in iwfs_file_open()239 if (!(opts->omode & IWFS_OWRITE) && (opts->lock_mode & IWP_WLOCK)) { in iwfs_file_open()240 opts->lock_mode &= ~IWP_WLOCK; in iwfs_file_open()
63 .lock_mode = IWP_WLOCK, in iwfs_exfile_test1()163 .lock_mode = IWP_WLOCK, in test_fibo_inc()
226 .file = { .path = "test_fsm_open_close.fsm", .lock_mode = IWP_WLOCK }, in test_fsm_open_close()282 .lock_mode = IWP_WLOCK, in test_fsm_uniform_alloc_impl()
82 #define IWP_WLOCK ((iwp_lockmode) 0x02U) macro
180 if (lmode & IWP_WLOCK) { in iwp_flock()
138 struct flock lock = { .l_type = (lmode & IWP_WLOCK) ? F_WRLCK : F_RDLCK, .l_whence = SEEK_SET }; in iwp_flock()
1165 rc = iwp_flock(wal->fh, IWP_WLOCK); in iwal_create()
2951 .lock_mode = IWP_WLOCK | extra_lock_flags in _iwkv_check_online_backup()3161 .lock_mode = (oflags & IWKV_RDONLY) ? IWP_RLOCK : IWP_WLOCK in iwkv_open()