Searched refs:lock_id (Results 1 - 3 of 3) sorted by relevance

/dovecot/src/lib-storage/index/mbox/
H A Dmbox-lock.h9 mbox_unlock(struct mbox_mailbox *mbox, unsigned int lock_id);
H A Dmbox-sync.c1718 unsigned int lock_id; local
1721 if (mbox_lock(mbox, F_WRLCK, &lock_id) <= 0)
1731 mbox_unlock(mbox, lock_id);
1796 unsigned int *lock_id)
1817 if (mbox_lock(mbox, F_RDLCK, lock_id) <= 0)
1840 mbox_unlock(mbox, *lock_id);
1841 *lock_id = 0;
1858 if ((ret = mbox_lock(mbox, lock_type, lock_id)) <= 0) {
1863 if (mbox_lock(mbox, F_RDLCK, lock_id) <= 0)
1946 if (*lock_id
1795 mbox_sync_int(struct mbox_mailbox *mbox, enum mbox_sync_flags flags, unsigned int *lock_id) argument
2010 unsigned int lock_id = 0; local
[all...]
H A Dmbox-lock.c840 int mbox_unlock(struct mbox_mailbox *mbox, unsigned int lock_id) argument
846 i_assert(mbox->mbox_lock_id == (lock_id & ~1));
848 if ((lock_id & 1) != 0) {

Completed in 721 milliseconds