Searched refs:alloc_lock (Results 1 - 15 of 15) sorted by relevance
/linux-4.1.27/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.1.27/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.1.27/include/linux/ |
H A D | init_task.h | 236 .alloc_lock = __SPIN_LOCK_UNLOCKED(tsk.alloc_lock), \
|
H A D | sched.h | 1510 spinlock_t alloc_lock; member in struct:task_struct 1578 nodemask_t mems_allowed; /* Protected by alloc_lock */ 1586 /* cg_list protected by css_set_lock and tsk->alloc_lock */ 1606 struct mempolicy *mempolicy; /* Protected by alloc_lock */ 2617 spin_lock(&p->alloc_lock); task_lock() 2622 spin_unlock(&p->alloc_lock); task_unlock()
|
H A D | mm_types.h | 417 * new_owner->alloc_lock is held
|
/linux-4.1.27/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.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 142 spin_lock_irqsave(&cmd->alloc_lock, flags); alloc_ent() 146 spin_unlock_irqrestore(&cmd->alloc_lock, flags); alloc_ent() 155 spin_lock_irqsave(&cmd->alloc_lock, flags); free_ent() 157 spin_unlock_irqrestore(&cmd->alloc_lock, flags); free_ent() 1420 spin_lock_init(&cmd->alloc_lock); mlx5_cmd_init()
|
/linux-4.1.27/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. 795 * Called with task's alloc_lock held 2098 /* task's mempolicy is protected by alloc_lock */ __mpol_dup()
|
H A D | kmemleak.c | 559 * dependency issues with current->alloc_lock. In the worst create_object()
|
/linux-4.1.27/include/linux/mlx5/ |
H A D | driver.h | 249 spinlock_t alloc_lock; member in struct:mlx5_cmd
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 310 spin_lock(&res_alloc->alloc_lock); mlx4_grant_resource() 363 spin_unlock(&res_alloc->alloc_lock); mlx4_grant_resource() 379 spin_lock(&res_alloc->alloc_lock); mlx4_release_resource() 408 spin_unlock(&res_alloc->alloc_lock); mlx4_release_resource() 507 spin_lock_init(&res_alloc->alloc_lock); mlx4_init_resource_tracker()
|
H A D | mlx4.h | 527 spinlock_t alloc_lock; /* protect quotas */ member in struct:resource_allocator
|
/linux-4.1.27/kernel/ |
H A D | fork.c | 1338 spin_lock_init(&p->alloc_lock); copy_process()
|
H A D | cpuset.c | 275 * by other task, we use alloc_lock in the task_struct fields to protect
|
Completed in 479 milliseconds