Lines Matching defs:gts
105 * |--> vma -> vdata ---> gts--->| GSEG1 (thread1)
107 * | +-> gts--->| GSEG1 (thread2)
109 * |--> vma -> vdata ---> gts--->| GSEG2 (thread2)
122 * vma -> vdata ->gts
126 * vma -> vdata -> gts
323 struct list_head vd_head; /* head of linked list of gts */
385 #define UGRUADDR(gts) ((gts)->ts_vma->vm_start + \
386 (gts)->ts_tsid * GRU_GSEG_PAGESIZE)
493 #define thread_cbr_number(gts, n) ((gts)->ts_cbr_idx[(n) / GRU_CBR_AU_SIZE] \
518 #define for_each_gts_on_gru(gts, gru, ctxnum) \
520 if (((gts) = (gru)->gs_gts[ctxnum]))
593 static inline int is_kernel_context(struct gru_thread_state *gts)
595 return !gts->ts_mm;
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);