/linux-master/include/linux/ |
H A D | swap_slots.h | 15 struct mutex alloc_lock; /* protects slots, nr, cur */ member in struct:swap_slots_cache
|
H A D | ioprio.h | 66 lockdep_assert_held(&p->alloc_lock);
|
H A D | sched.h | 1141 spinlock_t alloc_lock; member in struct:task_struct 1225 /* Protected by ->alloc_lock: */ 1235 /* cg_list protected by css_set_lock and tsk->alloc_lock: */ 1261 /* Protected by alloc_lock: */
|
/linux-master/mm/ |
H A D | swap_slots.c | 148 mutex_init(&cache->alloc_lock); 156 * We initialized alloc_lock and free_lock earlier. We use 176 mutex_lock(&cache->alloc_lock); 184 mutex_unlock(&cache->alloc_lock); 322 * mutex cache->alloc_lock. 330 mutex_lock(&cache->alloc_lock); 341 mutex_unlock(&cache->alloc_lock);
|
H A D | vmscan.c | 2849 lockdep_assert_held(&task->alloc_lock);
|
/linux-master/drivers/uio/ |
H A D | uio_dmem_genirq.c | 39 struct mutex alloc_lock; member in struct:uio_dmem_genirq_platdata 55 mutex_lock(&priv->alloc_lock); 68 mutex_unlock(&priv->alloc_lock); 84 mutex_lock(&priv->alloc_lock); 99 mutex_unlock(&priv->alloc_lock); 200 mutex_init(&priv->alloc_lock);
|
/linux-master/include/linux/sched/ |
H A D | task.h | 223 spin_lock(&p->alloc_lock); 228 spin_unlock(&p->alloc_lock);
|
/linux-master/init/ |
H A D | init_task.c | 125 .alloc_lock = __SPIN_LOCK_UNLOCKED(init_task.alloc_lock), 160 &init_task.alloc_lock),
|
/linux-master/drivers/misc/ |
H A D | hpilo.c | 547 spin_lock_irqsave(&hw->alloc_lock, flags); 549 spin_unlock_irqrestore(&hw->alloc_lock, flags); 594 spin_lock_irqsave(&hw->alloc_lock, flags); 597 spin_unlock_irqrestore(&hw->alloc_lock, flags); 603 spin_lock_irqsave(&hw->alloc_lock, flags); 605 spin_unlock_irqrestore(&hw->alloc_lock, flags); 651 spin_lock(&hw->alloc_lock); 656 spin_unlock(&hw->alloc_lock); 676 spin_unlock(&hw->alloc_lock); 806 spin_lock_init(&ilo_hw->alloc_lock); [all...] |
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
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 700 spin_lock_init(&sc->alloc_lock); 887 spin_lock_irq(&sc->alloc_lock); 931 spin_unlock_irq(&sc->alloc_lock); 1261 spin_lock_irqsave(&sc->alloc_lock, flags); 1332 spin_unlock_irqrestore(&sc->alloc_lock, flags); 1387 spin_lock_irqsave(&sc->alloc_lock, flags); 1391 spin_unlock_irqrestore(&sc->alloc_lock, flags); 1420 spin_lock_irqsave(&sc->alloc_lock, flags); 1422 spin_unlock_irqrestore(&sc->alloc_lock, flags); 1431 spin_unlock_irqrestore(&sc->alloc_lock, flag [all...] |
H A D | pio.h | 73 spinlock_t alloc_lock ____cacheline_aligned_in_smp;
|
/linux-master/fs/bcachefs/ |
H A D | btree_cache.c | 521 if (bc->alloc_lock == current) { 523 bc->alloc_lock = NULL; 534 old = cmpxchg(&bc->alloc_lock, NULL, current); 546 old = cmpxchg(&bc->alloc_lock, NULL, current); 673 if (bc->alloc_lock == current) { 1247 prt_printf(out, "cannibalize lock:\t%p\n", c->btree_cache.alloc_lock);
|
H A D | btree_types.h | 175 struct task_struct *alloc_lock; member in struct:btree_cache
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | cmd.c | 164 spin_lock_irqsave(&cmd->alloc_lock, flags); 171 spin_unlock_irqrestore(&cmd->alloc_lock, flags); 178 lockdep_assert_held(&cmd->alloc_lock); 192 spin_lock_irqsave(&cmd->alloc_lock, flags); 203 spin_unlock_irqrestore(&cmd->alloc_lock, flags); 1002 spin_lock_irqsave(&cmd->alloc_lock, flags); 1005 spin_unlock_irqrestore(&cmd->alloc_lock, flags); 1747 spin_lock_irqsave(&dev->cmd.alloc_lock, flags); 1755 * For that reason, it also has to be done inside the alloc_lock. 1760 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flag [all...] |
/linux-master/security/yama/ |
H A D | yama_lsm.c | 81 assert_spin_locked(&target->alloc_lock); /* for target->comm */
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_64_vio.c | 219 mutex_lock(&stt->alloc_lock); 227 mutex_unlock(&stt->alloc_lock); 320 mutex_init(&stt->alloc_lock);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | kvm_host.h | 198 struct mutex alloc_lock; member in struct:kvmppc_spapr_tce_table
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 321 spin_lock(&res_alloc->alloc_lock); 374 spin_unlock(&res_alloc->alloc_lock); 390 spin_lock(&res_alloc->alloc_lock); 419 spin_unlock(&res_alloc->alloc_lock); 551 spin_lock_init(&res_alloc->alloc_lock);
|
H A D | mlx4.h | 543 spinlock_t alloc_lock; /* protect quotas */ member in struct:resource_allocator
|
/linux-master/kernel/ |
H A D | fork.c | 2282 spin_lock_init(&p->alloc_lock); 2331 seqcount_spinlock_init(&p->mems_allowed_seq, &p->alloc_lock);
|
/linux-master/include/linux/mlx5/ |
H A D | driver.h | 314 spinlock_t alloc_lock; member in struct:mlx5_cmd
|