Searched refs:alloc_lock (Results 1 - 5 of 5) sorted by path

/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c319 spin_lock(&res_alloc->alloc_lock);
372 spin_unlock(&res_alloc->alloc_lock);
388 spin_lock(&res_alloc->alloc_lock);
417 spin_unlock(&res_alloc->alloc_lock);
529 spin_lock_init(&res_alloc->alloc_lock);
H A Dmlx4.h533 spinlock_t alloc_lock; /* protect quotas */ member in struct:resource_allocator
/freebsd-11-stable/sys/dev/mlx5/
H A Ddriver.h346 spinlock_t alloc_lock; member in struct:mlx5_cmd
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_cmd.c144 spin_lock_irqsave(&cmd->alloc_lock, flags);
162 spin_unlock_irqrestore(&cmd->alloc_lock, flags);
171 spin_lock_irqsave(&cmd->alloc_lock, flags);
175 spin_unlock_irqrestore(&cmd->alloc_lock, flags);
1579 spin_lock_init(&cmd->alloc_lock);
H A Dmlx5_health.c149 spin_lock_irqsave(&dev->cmd.alloc_lock, flags);
155 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags);
162 spin_unlock_irqrestore(&dev->cmd.alloc_lock, flags);

Completed in 188 milliseconds