/linux/drivers/net/wireless/ath/ |
A D | dfs_pri_detector.c | 88 spin_lock_bh(&pool_lock); in pool_register_ref() 91 spin_unlock_bh(&pool_lock); in pool_register_ref() 96 spin_lock_bh(&pool_lock); in pool_deregister_ref() 115 spin_unlock_bh(&pool_lock); in pool_deregister_ref() 120 spin_lock_bh(&pool_lock); in pool_put_pulse_elem() 123 spin_unlock_bh(&pool_lock); in pool_put_pulse_elem() 128 spin_lock_bh(&pool_lock); in pool_put_pseq_elem() 131 spin_unlock_bh(&pool_lock); in pool_put_pseq_elem() 137 spin_lock_bh(&pool_lock); in pool_get_pseq_elem() 143 spin_unlock_bh(&pool_lock); in pool_get_pseq_elem() [all …]
|
/linux/drivers/infiniband/sw/rxe/ |
A D | rxe_pool.c | 149 rwlock_init(&pool->pool_lock); in rxe_pool_init() 267 write_lock_irqsave(&pool->pool_lock, flags); in __rxe_add_key() 269 write_unlock_irqrestore(&pool->pool_lock, flags); in __rxe_add_key() 286 write_lock_irqsave(&pool->pool_lock, flags); in __rxe_drop_key() 288 write_unlock_irqrestore(&pool->pool_lock, flags); in __rxe_drop_key() 308 write_lock_irqsave(&pool->pool_lock, flags); in __rxe_add_index() 328 write_lock_irqsave(&pool->pool_lock, flags); in __rxe_drop_index() 452 read_lock_irqsave(&pool->pool_lock, flags); in rxe_pool_get_index() 454 read_unlock_irqrestore(&pool->pool_lock, flags); in rxe_pool_get_index() 498 read_lock_irqsave(&pool->pool_lock, flags); in rxe_pool_get_key() [all …]
|
A D | rxe_mcast.c | 48 write_lock_irqsave(&pool->pool_lock, flags); in rxe_mcast_get_grp() 56 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_mcast_get_grp() 62 write_unlock_irqrestore(&pool->pool_lock, flags); in rxe_mcast_get_grp()
|
A D | rxe_pool.h | 50 rwlock_t pool_lock; /* protects pool add/del/search */ member
|
/linux/lib/ |
A D | debugobjects.c | 64 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() 320 raw_spin_unlock_irqrestore(&pool_lock, flags); in free_obj_work() 334 raw_spin_unlock_irqrestore(&pool_lock, flags); in free_obj_work() 377 raw_spin_lock(&pool_lock); in __free_object() [all …]
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
A D | mdp5_ctl.c | 70 spinlock_t pool_lock; member 641 spin_lock_irqsave(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_request() 666 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_request() 719 spin_lock_init(&ctl_mgr->pool_lock); in mdp5_ctlm_init() 722 spin_lock_irqsave(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init() 729 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init() 754 spin_unlock_irqrestore(&ctl_mgr->pool_lock, flags); in mdp5_ctlm_init()
|
/linux/drivers/iio/ |
A D | industrialio-trigger.c | 219 mutex_lock(&trig->pool_lock); in iio_trigger_get_irq() 223 mutex_unlock(&trig->pool_lock); in iio_trigger_get_irq() 232 mutex_lock(&trig->pool_lock); in iio_trigger_put_irq() 234 mutex_unlock(&trig->pool_lock); in iio_trigger_put_irq() 539 mutex_init(&trig->pool_lock); in viio_trigger_alloc()
|
/linux/drivers/usb/serial/ |
A D | mos7840.c | 206 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() 741 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer() 748 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_chars_in_buffer() 822 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write_room() 827 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write_room() 860 spin_lock_irqsave(&mos7840_port->pool_lock, flags); in mos7840_write() 869 spin_unlock_irqrestore(&mos7840_port->pool_lock, flags); in mos7840_write() 1555 spin_lock_init(&mos7840_port->pool_lock); in mos7840_port_probe()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | fs_counters.c | 585 mutex_init(&fc_pool->pool_lock); in mlx5_fc_pool_init() 661 mutex_lock(&fc_pool->pool_lock); in mlx5_fc_pool_acquire_counter() 682 mutex_unlock(&fc_pool->pool_lock); in mlx5_fc_pool_acquire_counter() 693 mutex_lock(&fc_pool->pool_lock); in mlx5_fc_pool_release_counter() 715 mutex_unlock(&fc_pool->pool_lock); in mlx5_fc_pool_release_counter()
|
/linux/include/linux/iio/ |
A D | trigger.h | 75 struct mutex pool_lock; member
|
/linux/drivers/dma/ |
A D | pl330.c | 466 spinlock_t pool_lock; member 2588 desc = pluck_desc(&pl330->desc_pool, &pl330->pool_lock); in pl330_get_desc() 2705 spin_lock_irqsave(&pl330->pool_lock, iflags); in pl330_prep_dma_cyclic() 2715 spin_unlock_irqrestore(&pl330->pool_lock, iflags); in pl330_prep_dma_cyclic() 2821 spin_lock_irqsave(&pl330->pool_lock, flags); in __pl330_giveback_desc() 2831 spin_unlock_irqrestore(&pl330->pool_lock, flags); in __pl330_giveback_desc() 3076 spin_lock_init(&pl330->pool_lock); in pl330_probe() 3079 if (!add_desc(&pl330->desc_pool, &pl330->pool_lock, in pl330_probe()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | eq.c | 1460 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()
|
A D | mlx4.h | 857 struct mutex pool_lock; member
|
A D | main.c | 3590 mutex_init(&priv->msix_ctl.pool_lock); in mlx4_load_one()
|
/linux/include/linux/mlx5/ |
A D | driver.h | 460 struct mutex pool_lock; /* protects pool lists */ member
|