Searched refs:wqn_ranges_mutex (Results 1 – 3 of 3) sorted by relevance
89 struct mutex wqn_ranges_mutex; /* protect wqn_ranges_list */ member
755 mutex_lock(&context->wqn_ranges_mutex); in mlx4_ib_alloc_wqn()793 mutex_unlock(&context->wqn_ranges_mutex); in mlx4_ib_alloc_wqn()804 mutex_lock(&context->wqn_ranges_mutex); in mlx4_ib_release_wqn()823 mutex_unlock(&context->wqn_ranges_mutex); in mlx4_ib_release_wqn()
1130 mutex_init(&context->wqn_ranges_mutex); in mlx4_ib_alloc_ucontext()