Lines Matching defs:write_locks
129 enum mbox_lock_type write_locks[MBOX_LOCK_COUNT+1];
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 :
681 ctx->mbox->storage->write_locks :
759 const enum mbox_lock_type *write_locks =
760 mbox->storage->write_locks;
763 for (i = 0; write_locks[i] != (enum mbox_lock_type)-1; i++)
764 ctx.locked_status[write_locks[i]] = TRUE;