Searched refs:gs_lock (Results 1 – 4 of 4) sorted by relevance
431 spin_lock(&gru->gs_lock); in gru_free_gru_context()439 spin_unlock(&gru->gs_lock); in gru_free_gru_context()808 spin_lock(&gru->gs_lock); in gru_steal_context()823 spin_unlock(&gru->gs_lock); in gru_steal_context()890 spin_lock(&gru->gs_lock); in gru_assign_gru_context()893 spin_unlock(&gru->gs_lock); in gru_assign_gru_context()902 spin_unlock(&gru->gs_lock); in gru_assign_gru_context()
752 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()756 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()759 spin_lock(&gru->gs_lock); in gru_unload_all_contexts()762 spin_unlock(&gru->gs_lock); in gru_unload_all_contexts()
414 spinlock_t gs_lock; /* lock used for member
233 spin_lock_init(&gru->gs_lock); in gru_init_chiplet()