Lines Matching defs:lock
22 Expunging mails: Check if syncing would expunge any mails. If so, lock the
32 which internally is the same as a sync lock. So to avoid deadlocks we always
33 need to lock vsize updates before sync.
36 #define VSIZE_LOCK_SUFFIX "dovecot-vsize.lock"
47 struct file_lock *lock;
129 if (update->lock != NULL)
137 &update->lock, &error);
139 /* don't log lock timeouts, because we're somewhat expecting
226 if (update->lock != NULL || update->rebuild)
228 file_lock_free(&update->lock);
239 i_assert(update->lock != NULL);
374 /* we need to update it - lock it if possible. if not, update it