Lines Matching defs:lock

419   ScopedKernelLock lock(this);
420 return GetEntryById(id, &lock);
424 ScopedKernelLock* const lock) {
436 ScopedKernelLock lock(this);
449 ScopedKernelLock lock(this);
466 ScopedKernelLock lock(this);
467 return GetEntryByHandle(metahandle, &lock);
471 ScopedKernelLock* lock) {
488 ScopedKernelLock lock(this);
491 for (iterator i = GetParentChildIndexLowerBound(lock, parent_id),
492 end = GetParentChildIndexUpperBound(lock, parent_id);
520 ScopedKernelLock lock(this);
521 InsertEntry(entry, &lock);
524 void Directory::InsertEntry(EntryKernel* entry, ScopedKernelLock* lock) {
525 DCHECK(NULL != lock);
540 ScopedKernelLock lock(this);
541 if (NULL != GetEntryById(new_id, &lock))
546 ScopedIndexUpdater<IdIndexer> updater_a(lock, entry, kernel_->ids_index);
547 ScopedIndexUpdater<ParentIdAndHandleIndexer> updater_b(lock, entry,
556 ScopedKernelLock lock(this);
560 ScopedIndexUpdater<ParentIdAndHandleIndexer> index_updater(lock, entry,
589 ScopedKernelLock lock(this);
595 EntryKernel* entry = GetEntryByHandle(*i, &lock);
647 ScopedKernelLock lock(this);
689 ScopedKernelLock lock(this);
700 UnlinkEntryFromOrder(*it, NULL, &lock);
734 ScopedKernelLock lock(this);
759 ScopedKernelLock lock(this);
767 ScopedKernelLock lock(this);
775 ScopedKernelLock lock(this);
781 ScopedKernelLock lock(this);
786 ScopedKernelLock lock(this);
792 ScopedKernelLock lock(this);
808 ScopedKernelLock lock(this);
840 ScopedKernelLock lock(this);
855 ScopedKernelLock lock(this);
876 ScopedKernelLock lock(this);
881 ScopedKernelLock lock(this);
889 ScopedKernelLock lock(this);
896 ScopedKernelLock lock(this);
901 // No need to lock since nothing ever writes to it after load.
908 ScopedKernelLock lock(this);
920 ScopedKernelLock lock(this);
926 ScopedKernelLock lock(this);
933 ScopedKernelLock lock(this);
1437 ScopedKernelLock lock(dir());
1440 ScopedIndexUpdater<ParentIdAndHandleIndexer> updater(lock, kernel_,
1456 ScopedKernelLock lock(dir());
1458 ScopedIndexUpdater<ParentIdAndHandleIndexer> updater(lock, kernel_,
1536 ScopedKernelLock lock(dir());
1549 ScopedIndexUpdater<ClientTagIndexer> index_updater(lock, kernel_,
1579 ScopedKernelLock lock(dir());
1591 ScopedKernelLock lock(dir());
1592 dir()->UnlinkEntryFromOrder(kernel_, write_transaction(), &lock);
1597 ScopedKernelLock* lock) {
1614 EntryKernel* previous_entry = GetEntryById(old_previous, lock);
1623 EntryKernel* next_entry = GetEntryById(old_next, lock);
1687 ScopedKernelLock lock(this);
1697 ScopedKernelLock lock(this);
1707 ScopedKernelLock lock(this);
1712 GetParentChildIndexLowerBound(lock, parent_id);
1714 GetParentChildIndexUpperBound(lock, parent_id);
1725 entry = GetEntryById(entry->ref(PREV_ID), &lock);
1736 ScopedKernelLock lock(this);
1741 GetParentChildIndexLowerBound(lock, parent_id);
1743 GetParentChildIndexUpperBound(lock, parent_id);
1757 entry = GetEntryById(entry->ref(NEXT_ID), &lock);
1768 ScopedKernelLock lock(this);
1772 ParentIdChildIndex::iterator sibling = LocateInParentChildIndex(lock,
1775 GetParentChildIndexLowerBound(lock, parent_id);
1876 const ScopedKernelLock& lock,
1887 Directory::GetParentChildIndexLowerBound(const ScopedKernelLock& lock,
1891 return LocateInParentChildIndex(lock, parent_id,
1898 Directory::GetParentChildIndexUpperBound(const ScopedKernelLock& lock,
1902 return GetParentChildIndexLowerBound(lock,