Lines Matching defs:uc
54 xregs_clrptr(klwp_id_t lwp, ucontext_t *uc)
56 uc->uc_mcontext.xrs.xrs_id = 0;
57 uc->uc_mcontext.xrs.xrs_ptr = NULL;
66 xregs_hasptr(klwp_id_t lwp, ucontext_t *uc)
68 return (uc->uc_mcontext.xrs.xrs_id == XRS_ID);
76 xregs_getptr(klwp_id_t lwp, ucontext_t *uc)
78 if (uc->uc_mcontext.xrs.xrs_id == XRS_ID)
79 return (uc->uc_mcontext.xrs.xrs_ptr);
88 xregs_setptr(klwp_id_t lwp, ucontext_t *uc, caddr_t xrp)
90 uc->uc_mcontext.xrs.xrs_id = XRS_ID;
91 uc->uc_mcontext.xrs.xrs_ptr = xrp;
98 xregs_clrptr32(klwp_id_t lwp, ucontext32_t *uc)
100 uc->uc_mcontext.xrs.xrs_id = 0;
101 uc->uc_mcontext.xrs.xrs_ptr = 0;
106 xregs_hasptr32(klwp_id_t lwp, ucontext32_t *uc)
108 return (uc->uc_mcontext.xrs.xrs_id == XRS_ID);
113 xregs_getptr32(klwp_id_t lwp, ucontext32_t *uc)
115 if (uc->uc_mcontext.xrs.xrs_id == XRS_ID)
116 return (uc->uc_mcontext.xrs.xrs_ptr);
122 xregs_setptr32(klwp_id_t lwp, ucontext32_t *uc, caddr32_t xrp)
124 uc->uc_mcontext.xrs.xrs_id = XRS_ID;
125 uc->uc_mcontext.xrs.xrs_ptr = xrp;