Searched refs:ts_ctxlock (Results 1 – 4 of 4) sorted by relevance
77 mutex_lock(>s->ts_ctxlock); in gru_find_lock_gts()97 mutex_lock(>s->ts_ctxlock); in gru_alloc_locked_gts()111 mutex_unlock(>s->ts_ctxlock); in gru_unlock_gts()750 if (gts && mutex_trylock(>s->ts_ctxlock)) { in gru_unload_all_contexts()753 mutex_unlock(>s->ts_ctxlock); in gru_unload_all_contexts()
327 mutex_init(>s->ts_ctxlock); in gru_alloc_gts()755 return mutex_trylock(>s->ts_ctxlock); in is_gts_stealable()765 mutex_unlock(>s->ts_ctxlock); in gts_stolen()934 mutex_lock(>s->ts_ctxlock); in gru_fault()943 mutex_unlock(>s->ts_ctxlock); in gru_fault()959 mutex_unlock(>s->ts_ctxlock); in gru_fault()
78 mutex_lock(>s->ts_ctxlock); in gru_vma_close()81 mutex_unlock(>s->ts_ctxlock); in gru_vma_close()
337 struct mutex ts_ctxlock; /* load/unload CTX lock */ member