Lines Matching defs:lock
528 /* lock the current transaction */
690 spinlock_t * lock, void (fn) (struct buffer_chunk *))
697 if (lock) {
698 spin_unlock(lock);
700 spin_lock(lock);
789 static int write_ordered_buffers(spinlock_t * lock,
802 spin_lock(lock);
812 spin_unlock(lock);
817 spin_lock(lock);
831 add_to_chunk(&chunk, bh, lock, write_ordered_chunk);
838 cond_resched_lock(lock);
841 spin_unlock(lock);
843 spin_lock(lock);
852 spin_unlock(lock);
854 spin_lock(lock);
869 spin_unlock(lock);
871 spin_lock(lock);
874 cond_resched_lock(lock);
876 spin_unlock(lock);
1028 * write_ordered_buffers. Relax the write lock.
1204 * which is better, to lock once around the whole loop, or
1205 * to lock for each call to remove_journal_hash?
1366 /* if flushall == 0, the lock is already held */
1945 * We must release the write lock here because
1946 * the workqueue job (flush_async_commit) needs this lock
2886 * requires the lock. Calling flush_commit_list() shouldn't happen
4102 * we lock the commit before doing anything because
4294 * be done outside the journal lock, they are done below