Lines Matching refs:lock
35 spinlock_t lock; member
84 spin_lock(&remote->lock); in steal_tags()
95 spin_unlock(&remote->lock); in steal_tags()
118 spin_lock(&tags->lock); in alloc_local_tag()
121 spin_unlock(&tags->lock); in alloc_local_tag()
162 spin_lock(&pool->lock); in percpu_ida_alloc()
186 spin_unlock(&pool->lock); in percpu_ida_alloc()
227 spin_lock(&tags->lock); in percpu_ida_free()
231 spin_unlock(&tags->lock); in percpu_ida_free()
240 spin_lock(&pool->lock); in percpu_ida_free()
253 spin_unlock(&pool->lock); in percpu_ida_free()
294 spin_lock_init(&pool->lock); in __percpu_ida_init()
322 spin_lock_init(&per_cpu_ptr(pool->tag_cpu, cpu)->lock); in __percpu_ida_init()
351 spin_lock(&remote->lock); in percpu_ida_for_each_free()
357 spin_unlock(&remote->lock); in percpu_ida_for_each_free()
362 spin_lock(&pool->lock); in percpu_ida_for_each_free()
368 spin_unlock(&pool->lock); in percpu_ida_for_each_free()