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()812 spin_lock(&gru->gs_lock); in gru_steal_context()827 spin_unlock(&gru->gs_lock); in gru_steal_context()894 spin_lock(&gru->gs_lock); in gru_assign_gru_context()897 spin_unlock(&gru->gs_lock); in gru_assign_gru_context()906 spin_unlock(&gru->gs_lock); in gru_assign_gru_context()
755 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()759 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()762 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()765 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()
427 spinlock_t gs_lock; /* lock used for member
245 spin_lock_init(&gru->gs_lock); in gru_init_chiplet()