Lines Matching defs:lock

841  * rb-tree are part of one entity protected by the lock. Nodes are
848 spinlock_t lock;
1057 spin_lock(&vn->busy.lock);
1063 spin_unlock(&vn->busy.lock);
1074 spin_lock(&vn->busy.lock);
1080 spin_unlock(&vn->busy.lock);
1796 spin_lock(&vn->busy.lock);
1798 spin_unlock(&vn->busy.lock);
1809 preload_this_cpu_lock(spinlock_t *lock, gfp_t gfp_mask, int node)
1825 spin_lock(lock);
2002 spin_lock(&vn->busy.lock);
2004 spin_unlock(&vn->busy.lock);
2082 * by this lock, but we want to avoid concurrent calls for performance
2229 spin_lock(&vn->lazy.lock);
2232 spin_unlock(&vn->lazy.lock);
2329 spin_lock(&vn->lazy.lock);
2331 spin_unlock(&vn->lazy.lock);
2379 spin_lock(&vn->busy.lock);
2381 spin_unlock(&vn->busy.lock);
2403 spin_lock(&vn->busy.lock);
2407 spin_unlock(&vn->busy.lock);
2457 spinlock_t lock;
2469 spinlock_t lock;
2515 * This technique almost always avoids lock contention on insert/remove,
2584 spin_lock_init(&vb->lock);
2606 spin_lock(&vbq->lock);
2608 spin_unlock(&vbq->lock);
2624 spin_lock(&vn->busy.lock);
2626 spin_unlock(&vn->busy.lock);
2644 /* prevent further allocs after releasing lock */
2650 spin_lock(&vbq->lock);
2652 spin_unlock(&vbq->lock);
2682 spin_lock(&vb->lock);
2684 spin_unlock(&vb->lock);
2725 spin_lock(&vb->lock);
2727 spin_unlock(&vb->lock);
2736 spin_lock(&vbq->lock);
2738 spin_unlock(&vbq->lock);
2741 spin_unlock(&vb->lock);
2772 spin_lock(&vb->lock);
2774 spin_unlock(&vb->lock);
2781 spin_lock(&vb->lock);
2790 spin_unlock(&vb->lock);
2793 spin_unlock(&vb->lock);
2813 spin_lock(&vb->lock);
2837 spin_unlock(&vb->lock);
3052 spin_lock(&vn->busy.lock);
3054 spin_unlock(&vn->busy.lock);
4108 * To do safe access to this _mapped_ area, we need lock. But
4109 * adding lock here means that we need to add overhead of
4165 spin_lock(&vb->lock);
4167 spin_unlock(&vb->lock);
4205 spin_unlock(&vb->lock);
4212 spin_unlock(&vb->lock);
4324 spin_unlock(&vn->busy.lock);
4329 spin_unlock(&vn->busy.lock);
4336 spin_unlock(&vn->busy.lock);
4673 spin_lock(&vn->busy.lock);
4677 spin_unlock(&vn->busy.lock);
4797 if (!spin_trylock(&vn->busy.lock))
4802 spin_unlock(&vn->busy.lock);
4810 spin_unlock(&vn->busy.lock);
4853 spin_lock(&vn->lazy.lock);
4859 spin_unlock(&vn->lazy.lock);
4873 spin_lock(&vn->busy.lock);
4922 spin_unlock(&vn->busy.lock);
5029 spin_lock_init(&vn->busy.lock);
5033 spin_lock_init(&vn->lazy.lock);
5090 spin_lock_init(&vbq->lock);