Lines Matching refs:thread_struct
147 struct thread_struct {
189 static inline unsigned int thread_get_vl(struct thread_struct *thread,
195 static inline unsigned int thread_get_sve_vl(struct thread_struct *thread)
200 static inline unsigned int thread_get_sme_vl(struct thread_struct *thread)
205 static inline unsigned int thread_get_cur_vl(struct thread_struct *thread)
255 BUILD_BUG_ON(sizeof_field(struct thread_struct, uw) !=
256 sizeof_field(struct thread_struct, uw.tp_value) +
257 sizeof_field(struct thread_struct, uw.tp2_value) +
258 sizeof_field(struct thread_struct, uw.fpmr) +
259 sizeof_field(struct thread_struct, uw.pad) +
260 sizeof_field(struct thread_struct, uw.fpsimd_state));
262 *offset = offsetof(struct thread_struct, uw);
263 *size = sizeof_field(struct thread_struct, uw);
280 /* Sync TPIDR_EL0 back to thread_struct for current */