Searched defs:write_locks (Results 1 - 2 of 2) sorted by relevance

/dovecot/src/lib-storage/index/mbox/
H A Dmbox-storage.h36 enum mbox_lock_type *write_locks; member in struct:mbox_storage
H A Dmbox-lock.c129 enum mbox_lock_type write_locks[MBOX_LOCK_COUNT+1]; local
135 "mbox_write_locks", write_locks);
137 /* check that read/write list orders match. write_locks must contain
139 for (r = w = 0; write_locks[w] != (enum mbox_lock_type)-1; w++) {
142 if (read_locks[r] == write_locks[w])
157 storage->write_locks = p_new(storage->storage.pool,
159 memcpy(storage->write_locks, write_locks,
160 sizeof(*storage->write_locks) * (MBOX_LOCK_COUNT+1));
215 ctx->mbox->storage->write_locks
759 const enum mbox_lock_type *write_locks = local
[all...]

Completed in 11 milliseconds