Searched refs:alloc_lock (Results 1 - 18 of 18) sorted by relevance

/linux-4.4.14/drivers/uio/
H A Duio_dmem_genirq.c42 struct mutex alloc_lock; member in struct:uio_dmem_genirq_platdata
55 mutex_lock(&priv->alloc_lock); uio_dmem_genirq_open()
71 mutex_unlock(&priv->alloc_lock); uio_dmem_genirq_open()
88 mutex_lock(&priv->alloc_lock); uio_dmem_genirq_release()
104 mutex_unlock(&priv->alloc_lock); uio_dmem_genirq_release()
201 mutex_init(&priv->alloc_lock); uio_dmem_genirq_probe()
/linux-4.4.14/drivers/misc/
H A Dhpilo.h52 * -> alloc_lock used when adding/removing/searching ccb_alloc,
56 * Locks must be taken in this order, but open_lock and alloc_lock
61 spinlock_t alloc_lock; member in struct:ilo_hwinfo
H A Dhpilo.c548 spin_lock_irqsave(&hw->alloc_lock, flags); ilo_close()
550 spin_unlock_irqrestore(&hw->alloc_lock, flags); ilo_close()
595 spin_lock_irqsave(&hw->alloc_lock, flags); ilo_open()
598 spin_unlock_irqrestore(&hw->alloc_lock, flags); ilo_open()
604 spin_lock_irqsave(&hw->alloc_lock, flags); ilo_open()
606 spin_unlock_irqrestore(&hw->alloc_lock, flags); ilo_open()
652 spin_lock(&hw->alloc_lock); ilo_isr()
657 spin_unlock(&hw->alloc_lock); ilo_isr()
677 spin_unlock(&hw->alloc_lock); ilo_isr()
789 spin_lock_init(&ilo_hw->alloc_lock); ilo_probe()
/linux-4.4.14/include/linux/
H A Dinit_task.h237 .alloc_lock = __SPIN_LOCK_UNLOCKED(tsk.alloc_lock), \
H A Dsched.h1593 spinlock_t alloc_lock; member in struct:task_struct
1663 nodemask_t mems_allowed; /* Protected by alloc_lock */
1671 /* cg_list protected by css_set_lock and tsk->alloc_lock */
1691 struct mempolicy *mempolicy; /* Protected by alloc_lock */
2740 spin_lock(&p->alloc_lock); task_lock()
2745 spin_unlock(&p->alloc_lock); task_unlock()
H A Dmm_types.h468 * new_owner->alloc_lock is held
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
H A Dhealth.c79 spin_lock_irqsave(&dev->cmd.alloc_lock, flags); trigger_cmd_completions()
85 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); trigger_cmd_completions()
92 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); trigger_cmd_completions()
H A Dcmd.c123 spin_lock_irqsave(&cmd->alloc_lock, flags); alloc_ent()
127 spin_unlock_irqrestore(&cmd->alloc_lock, flags); alloc_ent()
136 spin_lock_irqsave(&cmd->alloc_lock, flags); free_ent()
138 spin_unlock_irqrestore(&cmd->alloc_lock, flags); free_ent()
639 spin_lock_irqsave(&cmd->alloc_lock, flags); cmd_work_handler()
641 spin_unlock_irqrestore(&cmd->alloc_lock, flags); cmd_work_handler()
1598 spin_lock_init(&cmd->alloc_lock); mlx5_cmd_init()
/linux-4.4.14/drivers/staging/rdma/hfi1/
H A Dpio.c703 spin_lock_init(&sc->alloc_lock); sc_alloc()
882 spin_lock_irqsave(&sc->alloc_lock, flags); sc_disable()
888 spin_unlock_irqrestore(&sc->alloc_lock, flags); sc_disable()
1185 spin_lock_irqsave(&sc->alloc_lock, flags); sc_enable()
1255 spin_unlock_irqrestore(&sc->alloc_lock, flags); sc_enable()
1313 spin_lock_irqsave(&sc->alloc_lock, flags); sc_stop()
1315 spin_unlock_irqrestore(&sc->alloc_lock, flags); sc_stop()
1343 spin_lock_irqsave(&sc->alloc_lock, flags); sc_buffer_alloc()
1345 spin_unlock_irqrestore(&sc->alloc_lock, flags); sc_buffer_alloc()
1354 spin_unlock_irqrestore(&sc->alloc_lock, flags); sc_buffer_alloc()
1364 spin_unlock_irqrestore(&sc->alloc_lock, flags); sc_buffer_alloc()
1366 spin_lock_irqsave(&sc->alloc_lock, flags); sc_buffer_alloc()
1406 spin_unlock_irqrestore(&sc->alloc_lock, flags); sc_buffer_alloc()
H A Dpio.h120 spinlock_t alloc_lock ____cacheline_aligned_in_smp;
/linux-4.4.14/tools/lib/lockdep/
H A Dpreload.c135 static struct lock_lookup *alloc_lock(void) alloc_lock() function
188 l = alloc_lock(); __get_lock()
/linux-4.4.14/mm/
H A Dmempolicy.c211 * Must be called holding task's alloc_lock to protect task's mems_allowed
428 * Called with task's alloc_lock held.
792 * Called with task's alloc_lock held
2095 /* task's mempolicy is protected by alloc_lock */ __mpol_dup()
H A Dkmemleak.c577 * dependency issues with current->alloc_lock. In the worst create_object()
/linux-4.4.14/include/linux/mlx5/
H A Ddriver.h256 spinlock_t alloc_lock; member in struct:mlx5_cmd
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Dresource_tracker.c313 spin_lock(&res_alloc->alloc_lock); mlx4_grant_resource()
366 spin_unlock(&res_alloc->alloc_lock); mlx4_grant_resource()
382 spin_lock(&res_alloc->alloc_lock); mlx4_release_resource()
411 spin_unlock(&res_alloc->alloc_lock); mlx4_release_resource()
523 spin_lock_init(&res_alloc->alloc_lock); mlx4_init_resource_tracker()
H A Dmlx4.h538 spinlock_t alloc_lock; /* protect quotas */ member in struct:resource_allocator
/linux-4.4.14/kernel/
H A Dfork.c1343 spin_lock_init(&p->alloc_lock); copy_process()
H A Dcpuset.c274 * by other task, we use alloc_lock in the task_struct fields to protect

Completed in 1253 milliseconds