Home
last modified time | relevance | path

Searched refs:alloc_lock (Results 1 – 5 of 5) sorted by relevance

/freebsd-14.2/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c150 spin_lock_irqsave(&dev->cmd.alloc_lock, flags); in mlx5_trigger_cmd_completions()
156 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_trigger_cmd_completions()
163 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_trigger_cmd_completions()
H A Dmlx5_cmd.c144 spin_lock_irqsave(&cmd->alloc_lock, flags); in alloc_ent()
162 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in alloc_ent()
171 spin_lock_irqsave(&cmd->alloc_lock, flags); in free_ent()
175 spin_unlock_irqrestore(&cmd->alloc_lock, flags); in free_ent()
1592 spin_lock_init(&cmd->alloc_lock); in mlx5_cmd_init()
/freebsd-14.2/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c319 spin_lock(&res_alloc->alloc_lock); in mlx4_grant_resource()
372 spin_unlock(&res_alloc->alloc_lock); in mlx4_grant_resource()
388 spin_lock(&res_alloc->alloc_lock); in mlx4_release_resource()
417 spin_unlock(&res_alloc->alloc_lock); in mlx4_release_resource()
529 spin_lock_init(&res_alloc->alloc_lock); in mlx4_init_resource_tracker()
H A Dmlx4.h533 spinlock_t alloc_lock; /* protect quotas */ member
/freebsd-14.2/sys/dev/mlx5/
H A Ddriver.h337 spinlock_t alloc_lock; member