/linux-4.4.14/drivers/uio/ |
H A D | uio_dmem_genirq.c | 42 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 D | hpilo.h | 52 * -> 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 D | hpilo.c | 548 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 D | init_task.h | 237 .alloc_lock = __SPIN_LOCK_UNLOCKED(tsk.alloc_lock), \
|
H A D | sched.h | 1593 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 D | mm_types.h | 468 * new_owner->alloc_lock is held
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | health.c | 79 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 D | cmd.c | 123 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 D | pio.c | 703 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 D | pio.h | 120 spinlock_t alloc_lock ____cacheline_aligned_in_smp;
|
/linux-4.4.14/tools/lib/lockdep/ |
H A D | preload.c | 135 static struct lock_lookup *alloc_lock(void) alloc_lock() function 188 l = alloc_lock(); __get_lock()
|
/linux-4.4.14/mm/ |
H A D | mempolicy.c | 211 * 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 D | kmemleak.c | 577 * dependency issues with current->alloc_lock. In the worst create_object()
|
/linux-4.4.14/include/linux/mlx5/ |
H A D | driver.h | 256 spinlock_t alloc_lock; member in struct:mlx5_cmd
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 313 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 D | mlx4.h | 538 spinlock_t alloc_lock; /* protect quotas */ member in struct:resource_allocator
|
/linux-4.4.14/kernel/ |
H A D | fork.c | 1343 spin_lock_init(&p->alloc_lock); copy_process()
|
H A D | cpuset.c | 274 * by other task, we use alloc_lock in the task_struct fields to protect
|