Searched refs:gs_lock (Results 1 – 4 of 4) sorted by relevance
427 spin_lock(&gru->gs_lock); in gru_free_gru_context()435 spin_unlock(&gru->gs_lock); in gru_free_gru_context()804 spin_lock(&gru->gs_lock); in gru_steal_context()819 spin_unlock(&gru->gs_lock); in gru_steal_context()886 spin_lock(&gru->gs_lock); in gru_assign_gru_context()889 spin_unlock(&gru->gs_lock); in gru_assign_gru_context()898 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()