Lines Matching refs:pool_lock
64 static DEFINE_RAW_SPINLOCK(pool_lock);
148 raw_spin_lock_irqsave(&pool_lock, flags); in fill_pool()
160 raw_spin_unlock_irqrestore(&pool_lock, flags); in fill_pool()
178 raw_spin_lock_irqsave(&pool_lock, flags); in fill_pool()
184 raw_spin_unlock_irqrestore(&pool_lock, flags); in fill_pool()
240 raw_spin_lock(&pool_lock); in alloc_object()
273 raw_spin_unlock(&pool_lock); in alloc_object()
300 if (!raw_spin_trylock_irqsave(&pool_lock, flags)) in free_obj_work()
320 raw_spin_unlock_irqrestore(&pool_lock, flags); in free_obj_work()
334 raw_spin_unlock_irqrestore(&pool_lock, flags); in free_obj_work()
377 raw_spin_lock(&pool_lock); in __free_object()
420 raw_spin_unlock(&pool_lock); in __free_object()