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

/osnet-11/usr/src/lib/libproc/common/
H A DPlwpregs.c327 Plwp_getcxregs(struct ps_prochandle *P, lwpid_t lwpid, prcpuxregset_t *cxregs) argument
350 return (getlwpfile(P, lwpid, "cxregs", cxregs, cxregsize));
354 (void) memcpy(cxregs, lwp->lwp_cxregs, cxregsize);
366 const prcpuxregset_t *cxregs)
377 return (setlwpregs(P, lwpid, PCSCXREG, cxregs, cxregsize));
365 Plwp_setcxregs(struct ps_prochandle *P, lwpid_t lwpid, const prcpuxregset_t *cxregs) argument
H A DPservice.c296 (void) snprintf(fname, sizeof (fname), "%s/%d/lwp/%d/cxregs",
312 ps_lgetcxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t cxregs) argument
318 if (Plwp_getcxregs(P, lwpid, (prcpuxregset_t *)cxregs) == 0)
325 ps_lsetcxregs(struct ps_prochandle *P, lwpid_t lwpid, caddr_t cxregs) argument
331 if (Plwp_setcxregs(P, lwpid, (prcpuxregset_t *)cxregs) == 0)
H A DPcore.c655 int64_t *cxregs; local
660 if ((cxregs = malloc(cxbytes)) == NULL)
663 if (read(P->asfd, cxregs, cxbytes) != cxbytes) {
665 free(cxregs);
669 lwp->lwp_cxregs = cxregs;
H A DPgcore.c542 prcpuxregset_t *cxregs; local
549 if ((cxregs = malloc(cxregsize)) == NULL)
552 if (Plwp_getcxregs(P, lsp->pr_lwpid, cxregs) == 0) {
554 cxregs, cxregsize, pgc->pgc_doff) != 0) {
555 free(cxregs);
559 free(cxregs);

Completed in 1487 milliseconds