Home
last modified time | relevance | path

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

/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
HDmlx5_health.c149 spin_lock_irqsave(&dev->cmd.alloc_lock, flags); in mlx5_trigger_cmd_completions()
155 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_trigger_cmd_completions()
162 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags); in mlx5_trigger_cmd_completions()
HDmlx5_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()
1579 spin_lock_init(&cmd->alloc_lock); in mlx5_cmd_init()
/freebsd-11-stable/sys/dev/mlx5/
HDdriver.h346 spinlock_t alloc_lock; member
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
HDmlx4_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()
HDmlx4.h533 spinlock_t alloc_lock; /* protect quotas */ member