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
324 struct list_head vd_head; /* head of linked list of gts */
386 #define UGRUADDR(gts) ((gts)->ts_vma->vm_start + \
387 (gts)->ts_tsid * GRU_GSEG_PAGESIZE)
494 #define thread_cbr_number(gts, n) ((gts)->ts_cbr_idx[(n) / GRU_CBR_AU_SIZE] \
519 #define for_each_gts_on_gru(gts, gru, ctxnum) \
521 if (((gts) = (gru)->gs_gts[ctxnum]))
588 static inline int is_kernel_context(struct gru_thread_state *gts)
590 return !gts->ts_mm;
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);