Searched refs:gs_lock (Results 1 – 4 of 4) sorted by relevance
444 spin_lock(&gru->gs_lock); in gru_free_gru_context()452 spin_unlock(&gru->gs_lock); in gru_free_gru_context()821 spin_lock(&gru->gs_lock); in gru_steal_context()836 spin_unlock(&gru->gs_lock); in gru_steal_context()903 spin_lock(&gru->gs_lock); in gru_assign_gru_context()906 spin_unlock(&gru->gs_lock); in gru_assign_gru_context()915 spin_unlock(&gru->gs_lock); in gru_assign_gru_context()
765 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()769 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()772 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()775 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()
428 spinlock_t gs_lock; /* lock used for member
245 spin_lock_init(&gru->gs_lock); in gru_init_chiplet()