Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_pool.c137 rwlock_init(&pool->pool_lock); in rxe_pool_init()
175 write_lock_irqsave(&pool->pool_lock, flags); in rxe_pool_cleanup()
180 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_pool_cleanup()
264 write_lock_irqsave(&pool->pool_lock, flags); in rxe_add_key()
267 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_add_key()
276 write_lock_irqsave(&pool->pool_lock, flags); in rxe_drop_key()
278 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_drop_key()
287 write_lock_irqsave(&pool->pool_lock, flags); in rxe_add_index()
290 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_add_index()
299 write_lock_irqsave(&pool->pool_lock, flags); in rxe_drop_index()
[all …]
Drxe_pool.h66 rwlock_t pool_lock; /* protects pool add/del/search */ member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/
Ddfs_pri_detector.c85 static DEFINE_SPINLOCK(pool_lock);
89 spin_lock_bh(&pool_lock); in pool_register_ref()
92 spin_unlock_bh(&pool_lock); in pool_register_ref()
97 spin_lock_bh(&pool_lock); in pool_deregister_ref()
116 spin_unlock_bh(&pool_lock); in pool_deregister_ref()
121 spin_lock_bh(&pool_lock); in pool_put_pulse_elem()
124 spin_unlock_bh(&pool_lock); in pool_put_pulse_elem()
129 spin_lock_bh(&pool_lock); in pool_put_pseq_elem()
132 spin_unlock_bh(&pool_lock); in pool_put_pseq_elem()
138 spin_lock_bh(&pool_lock); in pool_get_pseq_elem()
[all …]
/kernel/linux/linux-5.10/lib/
Ddebugobjects.c64 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()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_ctl.c70 spinlock_t pool_lock; member
632 spin_lock_irqsave(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_request()
657 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_request()
710 spin_lock_init(&ctl_mgr->pool_lock); in mdp5_ctlm_init()
713 spin_lock_irqsave(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init()
720 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init()
745 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-trigger.c217 mutex_lock(&trig->pool_lock); in iio_trigger_get_irq()
221 mutex_unlock(&trig->pool_lock); in iio_trigger_get_irq()
230 mutex_lock(&trig->pool_lock); in iio_trigger_put_irq()
232 mutex_unlock(&trig->pool_lock); in iio_trigger_put_irq()
533 mutex_init(&trig->pool_lock); in viio_trigger_alloc()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c573 mutex_init(&fc_pool->pool_lock); in mlx5_fc_pool_init()
649 mutex_lock(&fc_pool->pool_lock); in mlx5_fc_pool_acquire_counter()
670 mutex_unlock(&fc_pool->pool_lock); in mlx5_fc_pool_acquire_counter()
681 mutex_lock(&fc_pool->pool_lock); in mlx5_fc_pool_release_counter()
703 mutex_unlock(&fc_pool->pool_lock); in mlx5_fc_pool_release_counter()
/kernel/linux/linux-5.10/drivers/usb/serial/
Dmos7840.c206 spinlock_t pool_lock; member
483 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_bulk_out_data_callback()
490 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_bulk_out_data_callback()
744 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer()
751 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer()
827 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write_room()
832 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write_room()
865 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write()
874 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write()
1582 spin_lock_init(&mos7840_port->pool_lock); in mos7840_port_probe()
/kernel/linux/linux-5.10/include/linux/iio/
Dtrigger.h75 struct mutex pool_lock; member
/kernel/linux/linux-5.10/drivers/dma/
Dpl330.c466 spinlock_t pool_lock; member
2590 desc = pluck_desc(&pl330->desc_pool, &pl330->pool_lock); in pl330_get_desc()
2707 spin_lock_irqsave(&pl330->pool_lock, iflags); in pl330_prep_dma_cyclic()
2717 spin_unlock_irqrestore(&pl330->pool_lock, iflags); in pl330_prep_dma_cyclic()
2823 spin_lock_irqsave(&pl330->pool_lock, flags); in __pl330_giveback_desc()
2833 spin_unlock_irqrestore(&pl330->pool_lock, flags); in __pl330_giveback_desc()
3078 spin_lock_init(&pl330->pool_lock); in pl330_probe()
3081 if (!add_desc(&pl330->desc_pool, &pl330->pool_lock, in pl330_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Deq.c1460 mutex_lock(&priv->msix_ctl.pool_lock); in mlx4_assign_eq()
1532 mutex_unlock(&priv->msix_ctl.pool_lock); in mlx4_assign_eq()
1556 mutex_lock(&priv->msix_ctl.pool_lock); in mlx4_release_eq()
1562 mutex_unlock(&priv->msix_ctl.pool_lock); in mlx4_release_eq()
Dmlx4.h856 struct mutex pool_lock; member
Dmain.c3590 mutex_init(&priv->msix_ctl.pool_lock); in mlx4_load_one()
/kernel/linux/linux-5.10/include/linux/mlx5/
Ddriver.h475 struct mutex pool_lock; /* protects pool lists */ member
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch39330 + struct mutex pool_lock;
40349 + mutex_lock(&tvp_pool->pool_lock);
40445 + mutex_unlock(&tvp_pool->pool_lock);
40461 + mutex_lock(&tvp_pool->pool_lock);
40513 + mutex_unlock(&tvp_pool->pool_lock);
40535 + mutex_lock(&tvp_pool->pool_lock);
40543 + mutex_unlock(&tvp_pool->pool_lock);
40553 + mutex_lock(&tvp_pool->pool_lock);
40565 + mutex_unlock(&tvp_pool->pool_lock);
41079 + mutex_init(&mgt->tvp_pool.pool_lock);
[all …]