Searched refs:engines_mutex (Results 1 – 4 of 4) sorted by relevance
174 lockdep_is_held(&ctx->engines_mutex)); in i915_gem_context_engines()179 __acquires(&ctx->engines_mutex) in i915_gem_context_lock_engines()181 mutex_lock(&ctx->engines_mutex); in i915_gem_context_lock_engines()187 __releases(&ctx->engines_mutex) in i915_gem_context_unlock_engines()189 mutex_unlock(&ctx->engines_mutex); in i915_gem_context_unlock_engines()
84 struct mutex engines_mutex; /* guards writes to engines */ member
344 mutex_destroy(&ctx->engines_mutex); in i915_gem_context_free()613 mutex_lock(&ctx->engines_mutex); in context_close()616 mutex_unlock(&ctx->engines_mutex); in context_close()712 mutex_init(&ctx->engines_mutex); in __create_context()1863 mutex_lock(&ctx->engines_mutex); in set_engines()1865 mutex_unlock(&ctx->engines_mutex); in set_engines()1874 mutex_unlock(&ctx->engines_mutex); in set_engines()1912 err = mutex_lock_interruptible(&ctx->engines_mutex); in get_engines()1919 mutex_unlock(&ctx->engines_mutex); in get_engines()
33 mutex_init(&ctx->engines_mutex); in mock_context()131 mutex_lock(&ctx->engines_mutex); in live_context_for_engine()134 mutex_unlock(&ctx->engines_mutex); in live_context_for_engine()