Lines Matching refs:gts
385 #define UGRUADDR(gts) ((gts)->ts_vma->vm_start + \ argument
386 (gts)->ts_tsid * GRU_GSEG_PAGESIZE)
493 #define thread_cbr_number(gts, n) ((gts)->ts_cbr_idx[(n) / GRU_CBR_AU_SIZE] \ argument
518 #define for_each_gts_on_gru(gts, gru, ctxnum) \ argument
520 if (((gts) = (gru)->gs_gts[ctxnum]))
593 static inline int is_kernel_context(struct gru_thread_state *gts) in is_kernel_context() argument
595 return !gts->ts_mm; in is_kernel_context()
621 extern struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts);
622 extern void gru_load_context(struct gru_thread_state *gts);
623 extern void gru_steal_context(struct gru_thread_state *gts);
624 extern void gru_unload_context(struct gru_thread_state *gts, int savestate);
625 extern int gru_update_cch(struct gru_thread_state *gts);
626 extern void gts_drop(struct gru_thread_state *gts);
640 extern int gru_check_context_placement(struct gru_thread_state *gts);