Home
last modified time | relevance | path

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

/drivers/infiniband/core/
Dfmr_pool.c84 spinlock_t pool_lock; member
145 spin_lock_irq(&pool->pool_lock); in ib_fmr_batch_release()
156 spin_unlock_irq(&pool->pool_lock); in ib_fmr_batch_release()
166 spin_lock_irq(&pool->pool_lock); in ib_fmr_batch_release()
168 spin_unlock_irq(&pool->pool_lock); in ib_fmr_batch_release()
248 spin_lock_init(&pool->pool_lock); in ib_create_fmr_pool()
367 spin_lock_irq(&pool->pool_lock); in ib_flush_fmr_pool()
372 spin_unlock_irq(&pool->pool_lock); in ib_flush_fmr_pool()
405 spin_lock_irqsave(&pool->pool_lock, flags); in ib_fmr_pool_map_phys()
417 spin_unlock_irqrestore(&pool->pool_lock, flags); in ib_fmr_pool_map_phys()
[all …]
/drivers/infiniband/sw/rxe/
Drxe_pool.c220 rwlock_init(&pool->pool_lock); in rxe_pool_init()
258 write_lock_irqsave(&pool->pool_lock, flags); in rxe_pool_cleanup()
263 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_pool_cleanup()
347 write_lock_irqsave(&pool->pool_lock, flags); in rxe_add_key()
350 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_add_key()
359 write_lock_irqsave(&pool->pool_lock, flags); in rxe_drop_key()
361 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_drop_key()
370 write_lock_irqsave(&pool->pool_lock, flags); in rxe_add_index()
373 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_add_index()
382 write_lock_irqsave(&pool->pool_lock, flags); in rxe_drop_index()
[all …]
Drxe_pool.h94 rwlock_t pool_lock; /* protects pool add/del/search */ member
/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 …]
/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()
/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()
532 mutex_init(&trig->pool_lock); in viio_trigger_alloc()
/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()
/drivers/usb/serial/
Dmos7840.c228 spinlock_t pool_lock; member
809 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_bulk_out_data_callback()
816 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_bulk_out_data_callback()
1135 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer()
1142 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer()
1264 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write_room()
1269 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write_room()
1314 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write()
1323 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write()
2118 spin_lock_init(&mos7840_port->pool_lock); in mos7840_port_probe()
/drivers/dma/
Dpl330.c468 spinlock_t pool_lock; member
2584 desc = pluck_desc(&pl330->desc_pool, &pl330->pool_lock); in pl330_get_desc()
2699 spin_lock_irqsave(&pl330->pool_lock, flags); in pl330_prep_dma_cyclic()
2709 spin_unlock_irqrestore(&pl330->pool_lock, flags); in pl330_prep_dma_cyclic()
2815 spin_lock_irqsave(&pl330->pool_lock, flags); in __pl330_giveback_desc()
2825 spin_unlock_irqrestore(&pl330->pool_lock, flags); in __pl330_giveback_desc()
3079 spin_lock_init(&pl330->pool_lock); in pl330_probe()
3082 if (!add_desc(&pl330->desc_pool, &pl330->pool_lock, in pl330_probe()
/drivers/net/ethernet/mellanox/mlx4/
Deq.c1461 mutex_lock(&priv->msix_ctl.pool_lock); in mlx4_assign_eq()
1533 mutex_unlock(&priv->msix_ctl.pool_lock); in mlx4_assign_eq()
1557 mutex_lock(&priv->msix_ctl.pool_lock); in mlx4_release_eq()
1563 mutex_unlock(&priv->msix_ctl.pool_lock); in mlx4_release_eq()
Dmlx4.h856 struct mutex pool_lock; member
Dmain.c3572 mutex_init(&priv->msix_ctl.pool_lock); in mlx4_load_one()