Lines Matching defs:lock
130 struct file_lock *lock,
141 brain->box_lock = lock;
476 struct file_lock *lock = NULL;
509 file_lock_free(&lock);
528 file_lock_free(&lock);
538 if (dsync_mailbox_lock(brain, box, &lock) < 0) {
549 file_lock_free(&lock);
556 *lock_r = lock;
580 struct file_lock *lock;
585 if (!dsync_brain_next_mailbox(brain, &box, &lock, &dsync_box)) {
593 dsync_brain_sync_mailbox_init(brain, box, lock, &dsync_box, TRUE);
774 struct file_lock *lock;
818 if (dsync_mailbox_lock(brain, box, &lock) < 0) {
827 file_lock_free(&lock);
834 file_lock_free(&lock);
865 file_lock_free(&lock);
871 dsync_brain_sync_mailbox_init(brain, box, lock, &local_dsync_box, FALSE);