Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/misc/sgi-gru/
Dgrumain.c323 mutex_init(&gts->ts_ctxlock); in gru_alloc_gts()
760 return mutex_trylock(&gts->ts_ctxlock); in is_gts_stealable()
770 mutex_unlock(&gts->ts_ctxlock); in gts_stolen()
939 mutex_lock(&gts->ts_ctxlock); in gru_fault()
942 mutex_unlock(&gts->ts_ctxlock); in gru_fault()
950 mutex_unlock(&gts->ts_ctxlock); in gru_fault()
965 mutex_unlock(&gts->ts_ctxlock); in gru_fault()
Dgrufault.c77 mutex_lock(&gts->ts_ctxlock); in gru_find_lock_gts()
97 mutex_lock(&gts->ts_ctxlock); in gru_alloc_locked_gts()
111 mutex_unlock(&gts->ts_ctxlock); in gru_unlock_gts()
755 if (gts && mutex_trylock(&gts->ts_ctxlock)) { in gru_unload_all_contexts()
758 mutex_unlock(&gts->ts_ctxlock); in gru_unload_all_contexts()
Dgrufile.c78 mutex_lock(&gts->ts_ctxlock); in gru_vma_close()
81 mutex_unlock(&gts->ts_ctxlock); in gru_vma_close()
Dgrutables.h337 struct mutex ts_ctxlock; /* load/unload CTX lock */ member