Lines Matching refs:gts
386 #define UGRUADDR(gts) ((gts)->ts_vma->vm_start + \ argument
387 (gts)->ts_tsid * GRU_GSEG_PAGESIZE)
494 #define thread_cbr_number(gts, n) ((gts)->ts_cbr_idx[(n) / GRU_CBR_AU_SIZE] \ argument
519 #define for_each_gts_on_gru(gts, gru, ctxnum) \ argument
521 if (((gts) = (gru)->gs_gts[ctxnum]))
588 static inline int is_kernel_context(struct gru_thread_state *gts) in is_kernel_context() argument
590 return !gts->ts_mm; in is_kernel_context()
616 extern struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts);
617 extern void gru_load_context(struct gru_thread_state *gts);
618 extern void gru_steal_context(struct gru_thread_state *gts);
619 extern void gru_unload_context(struct gru_thread_state *gts, int savestate);
620 extern int gru_update_cch(struct gru_thread_state *gts);
621 extern void gts_drop(struct gru_thread_state *gts);
635 extern int gru_check_context_placement(struct gru_thread_state *gts);