+
+ struct kaudit_record *uu_ar; /* audit record */
+ struct task* uu_aio_task; /* target task for async io */
+
+ lck_mtx_t *uu_mtx;
+
+ int uu_lowpri_window;
+ boolean_t uu_throttle_isssd;
+ boolean_t uu_throttle_bc;
+ void * uu_throttle_info; /* pointer to throttled I/Os info */
+
+ struct kern_sigaltstack uu_sigstk;
+ int uu_defer_reclaims;
+ vnode_t uu_vreclaims;
+ int uu_notrigger; /* XXX - flag for autofs */
+ vnode_t uu_cdir; /* per thread CWD */
+ int uu_dupfd; /* fd in fdesc_open/dupfdopen */
+
+#ifdef JOE_DEBUG
+ int uu_iocount;
+ int uu_vpindex;
+ void * uu_vps[32];
+ void * uu_pcs[32][10];
+#endif
+#if CONFIG_DTRACE
+ siginfo_t t_dtrace_siginfo;
+ uint32_t t_dtrace_errno; /* Most recent errno */
+ uint8_t t_dtrace_stop; /* indicates a DTrace desired stop */
+ uint8_t t_dtrace_sig; /* signal sent via DTrace's raise() */
+ uint64_t t_dtrace_resumepid; /* DTrace's pidresume() pid */
+
+ union __tdu {
+ struct __tds {
+ uint8_t _t_dtrace_on; /* hit a fasttrap tracepoint */
+ uint8_t _t_dtrace_step; /* about to return to kernel */
+ uint8_t _t_dtrace_ret; /* handling a return probe */
+ uint8_t _t_dtrace_ast; /* saved ast flag */
+#if __sol64 || defined(__APPLE__)
+ uint8_t _t_dtrace_reg; /* modified register */
+#endif
+ } _tds;
+ u_int32_t _t_dtrace_ft; /* bitwise or of these flags */
+ } _tdu;
+#define t_dtrace_ft _tdu._t_dtrace_ft
+#define t_dtrace_on _tdu._tds._t_dtrace_on
+#define t_dtrace_step _tdu._tds._t_dtrace_step
+#define t_dtrace_ret _tdu._tds._t_dtrace_ret
+#define t_dtrace_ast _tdu._tds._t_dtrace_ast
+#if __sol64 || defined(__APPLE__)
+#define t_dtrace_reg _tdu._tds._t_dtrace_reg
+#endif
+
+ user_addr_t t_dtrace_pc; /* DTrace saved pc from fasttrap */
+ user_addr_t t_dtrace_npc; /* DTrace next pc from fasttrap */
+ user_addr_t t_dtrace_scrpc; /* DTrace per-thread scratch location */
+ user_addr_t t_dtrace_astpc; /* DTrace return sequence location */
+
+ struct dtrace_ptss_page_entry* t_dtrace_scratch; /* scratch space entry */
+
+#if __sol64 || defined(__APPLE__)
+ uint64_t t_dtrace_regv; /* DTrace saved reg from fasttrap */
+#endif
+#endif /* CONFIG_DTRACE */
+ void * uu_threadlist;
+ char * pth_name;
+ struct ksyn_waitq_element uu_kwe; /* user for pthread synch */