Lines Matching defs:thread_struct
244 struct thread_struct { struct
245 unsigned long ksp; /* Kernel stack pointer */
248 unsigned long ksp_vsid;
250 struct pt_regs *regs; /* Pointer to saved register state */
251 mm_segment_t addr_limit; /* for get_fs() validation */
254 unsigned long normsave[8] ____cacheline_aligned;
257 void *pgdir; /* root of page-table tree */
258 unsigned long ksp_limit; /* if ksp <= ksp_limit stack overflow */
261 struct debug_reg debug;
262 struct thread_fp_state fp_state;
263 struct thread_fp_state *fp_save_area;
264 int fpexc_mode; /* floating-point exception mode */
265 unsigned int align_ctl; /* alignment handling control */
267 struct perf_event *ptrace_bps[HBP_NUM];
272 struct perf_event *last_hit_ubp;
274 struct arch_hw_breakpoint hw_brk; /* info on the hardware breakpoint */
275 unsigned long trap_nr; /* last trap # on this thread */
276 u8 load_fp;
278 u8 load_vec;
279 struct thread_vr_state vr_state;
280 struct thread_vr_state *vr_save_area;
281 unsigned long vrsave;
282 int used_vr; /* set if process has used altivec */
286 int used_vsr; /* set if process has used VSX */
289 unsigned long evr[32]; /* upper 32-bits of SPE regs */
290 u64 acc; /* Accumulator */
291 unsigned long spefscr; /* SPE & eFP status */
292 unsigned long spefscr_last; /* SPEFSCR value on last prctl
294 int used_spe; /* set if process has used spe */
297 u8 load_tm;
298 u64 tm_tfhar; /* Transaction fail handler addr */
299 u64 tm_texasr; /* Transaction exception & summary */
300 u64 tm_tfiar; /* Transaction fail instr address reg */
301 struct pt_regs ckpt_regs; /* Checkpointed registers */
303 unsigned long tm_tar;
304 unsigned long tm_ppr;
305 unsigned long tm_dscr;
316 struct thread_fp_state ckfp_state; /* Checkpointed FP state */
317 struct thread_vr_state ckvr_state; /* Checkpointed VR state */
318 unsigned long ckvrsave; /* Checkpointed VRSAVE */
321 unsigned long amr;
322 unsigned long iamr;
323 unsigned long uamor;
326 void* kvm_shadow_vcpu; /* KVM internal data */
329 struct kvm_vcpu *kvm_vcpu;
332 unsigned long dscr;
333 unsigned long fscr;
343 int dscr_inherit;
344 unsigned long ppr; /* used to save/restore SMT priority */
345 unsigned long tidr;
348 unsigned long tar;
349 unsigned long ebbrr;
350 unsigned long ebbhr;
351 unsigned long bescr;
352 unsigned long siar;
353 unsigned long sdar;
354 unsigned long sier;
355 unsigned long mmcr2;
356 unsigned mmcr0;
358 unsigned used_ebb;
359 unsigned int used_vas;