Searched refs:pool_lock (Results 1 – 11 of 11) sorted by relevance
/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() 163 spin_unlock_irq(&pool->pool_lock); in ib_fmr_batch_release() 173 spin_lock_irq(&pool->pool_lock); in ib_fmr_batch_release() 175 spin_unlock_irq(&pool->pool_lock); in ib_fmr_batch_release() 254 spin_lock_init(&pool->pool_lock); in ib_create_fmr_pool() 372 spin_lock_irq(&pool->pool_lock); in ib_flush_fmr_pool() 377 spin_unlock_irq(&pool->pool_lock); in ib_flush_fmr_pool() 412 spin_lock_irqsave(&pool->pool_lock, flags); in ib_fmr_pool_map_phys() 424 spin_unlock_irqrestore(&pool->pool_lock, flags); in ib_fmr_pool_map_phys() [all …]
|
/drivers/infiniband/sw/rxe/ |
D | rxe_pool.c | 212 spin_lock_init(&pool->pool_lock); in rxe_pool_init() 250 spin_lock_irqsave(&pool->pool_lock, flags); in rxe_pool_cleanup() 255 spin_unlock_irqrestore(&pool->pool_lock, flags); in rxe_pool_cleanup() 341 spin_lock_irqsave(&pool->pool_lock, flags); in rxe_add_key() 344 spin_unlock_irqrestore(&pool->pool_lock, flags); in rxe_add_key() 353 spin_lock_irqsave(&pool->pool_lock, flags); in rxe_drop_key() 355 spin_unlock_irqrestore(&pool->pool_lock, flags); in rxe_drop_key() 364 spin_lock_irqsave(&pool->pool_lock, flags); in rxe_add_index() 367 spin_unlock_irqrestore(&pool->pool_lock, flags); in rxe_add_index() 376 spin_lock_irqsave(&pool->pool_lock, flags); in rxe_drop_index() [all …]
|
D | rxe_pool.h | 93 spinlock_t pool_lock; /* pool spinlock */ 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/mdp/mdp5/ |
D | mdp5_ctl.c | 76 spinlock_t pool_lock; member 660 spin_lock_irqsave(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_request() 685 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_request() 737 spin_lock_init(&ctl_mgr->pool_lock); in mdp5_ctlm_init() 740 spin_lock_irqsave(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init() 747 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init() 769 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init()
|
/drivers/iio/ |
D | industrialio-trigger.c | 220 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()
|
/drivers/usb/serial/ |
D | mos7840.c | 239 spinlock_t pool_lock; member 830 spin_lock(&mos7840_port->pool_lock); in mos7840_bulk_out_data_callback() 837 spin_unlock(&mos7840_port->pool_lock); in mos7840_bulk_out_data_callback() 1156 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer() 1163 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer() 1285 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write_room() 1290 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write_room() 1336 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write() 1345 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write() 2159 spin_lock_init(&mos7840_port->pool_lock); in mos7840_port_probe()
|
/drivers/dma/ |
D | pl330.c | 468 spinlock_t pool_lock; member 2410 spin_lock_irqsave(&pl330->pool_lock, flags); in add_desc() 2417 spin_unlock_irqrestore(&pl330->pool_lock, flags); in add_desc() 2427 spin_lock_irqsave(&pl330->pool_lock, flags); in pluck_desc() 2439 spin_unlock_irqrestore(&pl330->pool_lock, flags); in pluck_desc() 2572 spin_lock_irqsave(&pl330->pool_lock, flags); in pl330_prep_dma_cyclic() 2582 spin_unlock_irqrestore(&pl330->pool_lock, flags); in pl330_prep_dma_cyclic() 2688 spin_lock_irqsave(&pl330->pool_lock, flags); in __pl330_giveback_desc() 2698 spin_unlock_irqrestore(&pl330->pool_lock, flags); in __pl330_giveback_desc() 2875 spin_lock_init(&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 | 857 struct mutex pool_lock; member
|
D | main.c | 3521 mutex_init(&priv->msix_ctl.pool_lock); in mlx4_load_one()
|