Searched defs:xregs (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libproc/common/
H A DPlwpregs.c62 * This function is used to slurp in lwpstatus, xregs, and asrs.
220 Plwp_getxregs(struct ps_prochandle *P, lwpid_t lwpid, prxregset_t *xregs) argument
235 return (getlwpfile(P, lwpid, "xregs",
236 xregs, sizeof (prxregset_t)));
240 (void) memcpy(xregs, lwp->lwp_xregs, sizeof (prxregset_t));
250 Plwp_setxregs(struct ps_prochandle *P, lwpid_t lwpid, const prxregset_t *xregs) argument
252 return (setlwpregs(P, lwpid, PCSXREG, xregs, sizeof (prxregset_t)));
H A DPservice.c197 (void) snprintf(fname, sizeof (fname), "%s/%d/lwp/%d/xregs",
218 ps_lgetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) argument
229 if (Plwp_getxregs(P, lwpid, (prxregset_t *)xregs) == 0)
243 ps_lsetxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t xregs) argument
254 if (Plwp_setxregs(P, lwpid, (prxregset_t *)xregs) == 0)
H A DPcore.c571 prxregset_t *xregs; local
576 if ((xregs = malloc(xbytes)) == NULL)
579 if (read(P->asfd, xregs, xbytes) != xbytes) {
581 free(xregs);
585 lwp->lwp_xregs = xregs;
H A DPgcore.c458 prxregset_t xregs; local
459 if (Plwp_getxregs(P, lsp->pr_lwpid, &xregs) == 0 &&
460 write_note(pgc->pgc_fd, NT_PRXREG, &xregs,
506 prxregset_t xregs; local
507 if (Plwp_getxregs(P, lsp->pr_lwpid, &xregs) == 0) {
508 if (write_note(pgc->pgc_fd, NT_PRXREG, &xregs,

Completed in 31 milliseconds