Home
last modified time | relevance | path

Searched refs:alloc_lock (Results 1 – 8 of 8) sorted by relevance

/drivers/uio/
Duio_dmem_genirq.c40 struct mutex alloc_lock; member
52 mutex_lock(&priv->alloc_lock); in uio_dmem_genirq_open()
68 mutex_unlock(&priv->alloc_lock); in uio_dmem_genirq_open()
85 mutex_lock(&priv->alloc_lock); in uio_dmem_genirq_release()
101 mutex_unlock(&priv->alloc_lock); in uio_dmem_genirq_release()
198 mutex_init(&priv->alloc_lock); in uio_dmem_genirq_probe()
/drivers/misc/
Dhpilo.c551 spin_lock_irqsave(&hw->alloc_lock, flags); in ilo_close()
553 spin_unlock_irqrestore(&hw->alloc_lock, flags); in ilo_close()
598 spin_lock_irqsave(&hw->alloc_lock, flags); in ilo_open()
601 spin_unlock_irqrestore(&hw->alloc_lock, flags); in ilo_open()
607 spin_lock_irqsave(&hw->alloc_lock, flags); in ilo_open()
609 spin_unlock_irqrestore(&hw->alloc_lock, flags); in ilo_open()
655 spin_lock(&hw->alloc_lock); in ilo_isr()
660 spin_unlock(&hw->alloc_lock); in ilo_isr()
680 spin_unlock(&hw->alloc_lock); in ilo_isr()
810 spin_lock_init(&ilo_hw->alloc_lock); in ilo_probe()
Dhpilo.h61 spinlock_t alloc_lock; member
/drivers/infiniband/hw/hfi1/
Dpio.c700 spin_lock_init(&sc->alloc_lock); in sc_alloc()
887 spin_lock_irq(&sc->alloc_lock); in sc_disable()
931 spin_unlock_irq(&sc->alloc_lock); in sc_disable()
1261 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_enable()
1332 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_enable()
1387 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_stop()
1391 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_stop()
1420 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_buffer_alloc()
1422 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_buffer_alloc()
1431 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_buffer_alloc()
[all …]
Dpio.h73 spinlock_t alloc_lock ____cacheline_aligned_in_smp;
/drivers/net/ethernet/mellanox/mlx5/core/
Dcmd.c122 spin_lock_irqsave(&cmd->alloc_lock, flags); in cmd_alloc_index()
126 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in cmd_alloc_index()
133 lockdep_assert_held(&cmd->alloc_lock); in cmd_free_index()
147 spin_lock_irqsave(&cmd->alloc_lock, flags); in cmd_ent_put()
158 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in cmd_ent_put()
945 spin_lock_irqsave(&cmd->alloc_lock, flags); in cmd_work_handler()
947 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in cmd_work_handler()
1672 spin_lock_irqsave(&dev->cmd.alloc_lock, flags); in mlx5_cmd_trigger_completions()
1685 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_cmd_trigger_completions()
1694 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_cmd_trigger_completions()
[all …]
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c321 spin_lock(&res_alloc->alloc_lock); in mlx4_grant_resource()
374 spin_unlock(&res_alloc->alloc_lock); in mlx4_grant_resource()
390 spin_lock(&res_alloc->alloc_lock); in mlx4_release_resource()
419 spin_unlock(&res_alloc->alloc_lock); in mlx4_release_resource()
551 spin_lock_init(&res_alloc->alloc_lock); in mlx4_init_resource_tracker()
Dmlx4.h541 spinlock_t alloc_lock; /* protect quotas */ member