Lines Matching defs:gts
118 * |--> vma -> vdata ---> gts--->| GSEG1 (thread1)
120 * | +-> gts--->| GSEG1 (thread2)
122 * |--> vma -> vdata ---> gts--->| GSEG2 (thread2)
135 * vma -> vdata ->gts
139 * vma -> vdata -> gts
337 struct list_head vd_head; /* head of linked list of gts */
399 #define UGRUADDR(gts) ((gts)->ts_vma->vm_start + \
400 (gts)->ts_tsid * GRU_GSEG_PAGESIZE)
507 #define thread_cbr_number(gts, n) ((gts)->ts_cbr_idx[(n) / GRU_CBR_AU_SIZE] \
532 #define for_each_gts_on_gru(gts, gru, ctxnum) \
534 if (((gts) = (gru)->gs_gts[ctxnum]))
607 static inline int is_kernel_context(struct gru_thread_state *gts)
609 return !gts->ts_mm;
635 extern struct gru_state *gru_assign_gru_context(struct gru_thread_state *gts);
636 extern void gru_load_context(struct gru_thread_state *gts);
637 extern void gru_steal_context(struct gru_thread_state *gts);
638 extern void gru_unload_context(struct gru_thread_state *gts, int savestate);
639 extern int gru_update_cch(struct gru_thread_state *gts);
640 extern void gts_drop(struct gru_thread_state *gts);
654 extern void gru_check_context_placement(struct gru_thread_state *gts);