Home
last modified time | relevance | path

Searched refs:bs_kgts (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/misc/sgi-gru/
Dgrukservices.c149 if (!bs->bs_kgts) { in gru_load_kernel_context()
151 bs->bs_kgts = gru_alloc_gts(NULL, 0, 0, 0, 0, 0); in gru_load_kernel_context()
152 if (!IS_ERR(bs->bs_kgts)) in gru_load_kernel_context()
156 bs->bs_kgts->ts_user_blade_id = blade_id; in gru_load_kernel_context()
158 kgts = bs->bs_kgts; in gru_load_kernel_context()
173 gru = bs->bs_kgts->ts_gru; in gru_load_kernel_context()
199 kgts = bs->bs_kgts; in gru_free_kernel_contexts()
202 bs->bs_kgts = NULL; in gru_free_kernel_contexts()
231 if (!bs->bs_kgts || !bs->bs_kgts->ts_gru) in gru_lock_kernel_context()
306 kgts = bs->bs_kgts; in gru_reserve_async_resources()
[all …]
Dgrutables.h450 struct gru_thread_state *bs_kgts; /* GTS for kernel use */ member