Home
last modified time | relevance | path

Searched refs:ts_ctxlock (Results 1 – 4 of 4) sorted by relevance

/drivers/misc/sgi-gru/
Dgrufault.c90 mutex_lock(&gts->ts_ctxlock); in gru_find_lock_gts()
110 mutex_lock(&gts->ts_ctxlock); in gru_alloc_locked_gts()
124 mutex_unlock(&gts->ts_ctxlock); in gru_unlock_gts()
759 if (gts && mutex_trylock(&gts->ts_ctxlock)) { in gru_unload_all_contexts()
762 mutex_unlock(&gts->ts_ctxlock); in gru_unload_all_contexts()
Dgrumain.c340 mutex_init(&gts->ts_ctxlock); in gru_alloc_gts()
768 return mutex_trylock(&gts->ts_ctxlock); in is_gts_stealable()
778 mutex_unlock(&gts->ts_ctxlock); in gts_stolen()
945 mutex_lock(&gts->ts_ctxlock); in gru_fault()
954 mutex_unlock(&gts->ts_ctxlock); in gru_fault()
969 mutex_unlock(&gts->ts_ctxlock); in gru_fault()
Dgrufile.c85 mutex_lock(&gts->ts_ctxlock); in gru_vma_close()
88 mutex_unlock(&gts->ts_ctxlock); in gru_vma_close()
Dgrutables.h350 struct mutex ts_ctxlock; /* load/unload CTX lock */ member