Home
last modified time | relevance | path

Searched refs:pool_lock (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/lib/
Ddebugobjects.c54 static DEFINE_RAW_SPINLOCK(pool_lock);
133 raw_spin_lock_irqsave(&pool_lock, flags); in fill_pool()
145 raw_spin_unlock_irqrestore(&pool_lock, flags); in fill_pool()
157 raw_spin_lock_irqsave(&pool_lock, flags); in fill_pool()
161 raw_spin_unlock_irqrestore(&pool_lock, flags); in fill_pool()
214 raw_spin_lock(&pool_lock); in alloc_object()
225 raw_spin_unlock(&pool_lock); in alloc_object()
251 if (!raw_spin_trylock_irqsave(&pool_lock, flags)) in free_obj_work()
277 raw_spin_unlock_irqrestore(&pool_lock, flags); in free_obj_work()
303 raw_spin_lock(&pool_lock); in __free_object()
[all …]
/linux-4.19.296/drivers/iio/
Dindustrialio-trigger.c220 mutex_lock(&trig->pool_lock); in iio_trigger_get_irq()
224 mutex_unlock(&trig->pool_lock); in iio_trigger_get_irq()
233 mutex_lock(&trig->pool_lock); in iio_trigger_put_irq()
235 mutex_unlock(&trig->pool_lock); in iio_trigger_put_irq()
532 mutex_init(&trig->pool_lock); in viio_trigger_alloc()
/linux-4.19.296/include/linux/iio/
Dtrigger.h78 struct mutex pool_lock; member