/drivers/infiniband/core/ |
D | fmr_pool.c | 84 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/ |
D | rxe_pool.c | 220 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 …]
|
D | rxe_pool.h | 94 rwlock_t pool_lock; /* protects pool add/del/search */ member
|
/drivers/net/wireless/ath/ |
D | dfs_pri_detector.c | 85 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/ |
D | mdp5_ctl.c | 70 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/ |
D | industrialio-trigger.c | 217 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/ |
D | fs_counters.c | 573 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/ |
D | mos7840.c | 228 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/ |
D | pl330.c | 468 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/ |
D | eq.c | 1461 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()
|
D | mlx4.h | 856 struct mutex pool_lock; member
|
D | main.c | 3572 mutex_init(&priv->msix_ctl.pool_lock); in mlx4_load_one()
|