/linux/drivers/uio/ |
A D | uio_dmem_genirq.c | 40 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() 197 mutex_init(&priv->alloc_lock); in uio_dmem_genirq_probe()
|
/linux/mm/ |
A D | swap_slots.c | 148 mutex_init(&cache->alloc_lock); in alloc_swap_slot_cache() 176 mutex_lock(&cache->alloc_lock); in drain_slots_cache_cpu() 184 mutex_unlock(&cache->alloc_lock); in drain_slots_cache_cpu() 329 mutex_lock(&cache->alloc_lock); in get_swap_page() 340 mutex_unlock(&cache->alloc_lock); in get_swap_page()
|
/linux/drivers/misc/ |
A D | hpilo.c | 551 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()
|
A D | hpilo.h | 61 spinlock_t alloc_lock; member
|
/linux/init/ |
A D | init_task.c | 129 .alloc_lock = __SPIN_LOCK_UNLOCKED(init_task.alloc_lock), 163 &init_task.alloc_lock),
|
/linux/include/linux/sched/ |
A D | task.h | 169 spin_lock(&p->alloc_lock); in task_lock() 174 spin_unlock(&p->alloc_lock); in task_unlock()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | pio.c | 700 spin_lock_init(&sc->alloc_lock); in sc_alloc() 887 spin_lock_irq(&sc->alloc_lock); in sc_disable() 932 spin_unlock_irq(&sc->alloc_lock); in sc_disable() 1262 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_enable() 1333 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_enable() 1388 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_stop() 1392 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_stop() 1421 spin_lock_irqsave(&sc->alloc_lock, flags); in sc_buffer_alloc() 1423 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_buffer_alloc() 1432 spin_unlock_irqrestore(&sc->alloc_lock, flags); in sc_buffer_alloc() [all …]
|
A D | pio.h | 73 spinlock_t alloc_lock ____cacheline_aligned_in_smp;
|
/linux/include/linux/ |
A D | swap_slots.h | 15 struct mutex alloc_lock; /* protects slots, nr, cur */ member
|
A D | sched.h | 1106 spinlock_t alloc_lock; member
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | cmd.c | 123 spin_lock_irqsave(&cmd->alloc_lock, flags); in cmd_alloc_index() 127 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in cmd_alloc_index() 136 spin_lock_irqsave(&cmd->alloc_lock, flags); in cmd_free_index() 138 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in cmd_free_index() 967 spin_lock_irqsave(&cmd->alloc_lock, flags); in cmd_work_handler() 969 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in cmd_work_handler() 1701 spin_lock_irqsave(&dev->cmd.alloc_lock, flags); in mlx5_cmd_trigger_completions() 1714 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_cmd_trigger_completions() 1723 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_cmd_trigger_completions() 2112 spin_lock_init(&cmd->alloc_lock); in mlx5_cmd_init()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_64_vio.c | 206 mutex_lock(&stt->alloc_lock); in kvm_spapr_get_tce_page() 214 mutex_unlock(&stt->alloc_lock); in kvm_spapr_get_tce_page() 307 mutex_init(&stt->alloc_lock); in kvm_vm_ioctl_create_spapr_tce()
|
/linux/security/yama/ |
A D | yama_lsm.c | 80 assert_spin_locked(&target->alloc_lock); /* for target->comm */ in report_access()
|
/linux/arch/powerpc/include/asm/ |
A D | kvm_host.h | 192 struct mutex alloc_lock; member
|
/linux/include/linux/mlx5/ |
A D | driver.h | 290 spinlock_t alloc_lock; member
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | resource_tracker.c | 321 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()
|
A D | mlx4.h | 541 spinlock_t alloc_lock; /* protect quotas */ member
|
/linux/kernel/ |
A D | fork.c | 2083 spin_lock_init(&p->alloc_lock); in copy_process() 2132 seqcount_spinlock_init(&p->mems_allowed_seq, &p->alloc_lock); in copy_process()
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | cgroups.rst | 533 - while holding the task's alloc_lock (via task_lock())
|