Lines Matching defs:gru_thread_state
349 struct gru_thread_state { struct
350 struct list_head ts_next; /* list - head at vma-private */
351 struct mutex ts_ctxlock; /* load/unload CTX lock */
352 struct mm_struct *ts_mm; /* mm currently mapped to
354 struct vm_area_struct *ts_vma; /* vma of GRU context */
355 struct gru_state *ts_gru; /* GRU where the context is
357 struct gru_mm_struct *ts_gms; /* asid & ioproc struct */
358 unsigned char ts_tlb_preload_count; /* TLB preload pages */
359 unsigned long ts_cbr_map; /* map of allocated CBRs */
360 unsigned long ts_dsr_map; /* map of allocated DATA
362 unsigned long ts_steal_jiffies;/* jiffies when context last
364 long ts_user_options;/* misc user option flags */
365 pid_t ts_tgid_owner; /* task that is using the
367 short ts_user_blade_id;/* user selected blade */
368 char ts_user_chiplet_id;/* user selected chiplet */
369 unsigned short ts_sizeavail; /* Pagesizes in use */
370 int ts_tsid; /* thread that owns the
372 int ts_tlb_int_select;/* target cpu if interrupts
374 int ts_ctxnum; /* context number where the
376 atomic_t ts_refcnt; /* reference count GTS */
377 unsigned char ts_dsr_au_count;/* Number of DSR resources
379 unsigned char ts_cbr_au_count;/* Number of CBR resources
381 char ts_cch_req_slice;/* CCH packet slice */
382 char ts_blade; /* If >= 0, migrate context if
384 char ts_force_cch_reload;
385 char ts_cbr_idx[GRU_CBR_AU];/* CBR numbers of each
387 int ts_data_valid; /* Indicates if ts_gdata has
389 struct gru_gseg_statistics ustats; /* User statistics */
390 unsigned long ts_gdata[0]; /* save area for GRU data (CB,