/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_fault.c | 48 jmp_buf pcb, *old; local 55 if (setjmp(pcb) != 0) { 68 old = kmdb_dpi_set_fault_hdlr(&pcb);
|
H A D | kmdb_kdi.c | 232 jmp_buf pcb, *oldpcb; local 235 if (setjmp(pcb) == 0) { 238 oldpcb = kmdb_dpi_set_fault_hdlr(&pcb);
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_pcb.c | 62 dt_pcb_push(dtrace_hdl_t *dtp, dt_pcb_t *pcb) argument 77 bzero(pcb, sizeof (dt_pcb_t)); 79 dt_scope_create(&pcb->pcb_dstack); 80 dt_idstack_push(&pcb->pcb_globals, dtp->dt_globals); 81 dt_irlist_create(&pcb->pcb_ir); 83 pcb->pcb_hdl = dtp; 84 pcb->pcb_prev = dtp->dt_pcb; 86 dtp->dt_pcb = pcb; 89 yyinit(pcb); 111 dt_pcb_t *pcb local [all...] |
H A D | dt_as.c | 94 dt_pcb_t *pcb = data; local 102 dvp = &pcb->pcb_difo->dtdo_vartab[pcb->pcb_asvidx++]; 103 stroff = dt_strtab_insert(pcb->pcb_strtab, idp->di_name); 106 longjmp(pcb->pcb_jmpbuf, EDT_NOMEM); 108 longjmp(pcb->pcb_jmpbuf, EDT_STR2BIG); 131 dt_node_diftype(pcb->pcb_hdl, &dn, &dvp->dtdv_type); 138 dt_copystr(const char *s, size_t n, size_t off, dt_pcb_t *pcb) argument 140 bcopy(s, pcb->pcb_difo->dtdo_strtab + off, n); 147 * We track the cumulative references to translators and members in the pcb' 152 dt_as_xlate(dt_pcb_t *pcb, dtrace_difo_t *dp, uint_t i, uint_t xi, dt_node_t *dnp) argument 209 dt_as(dt_pcb_t *pcb) argument [all...] |
H A D | dt_pid.c | 79 dt_pid_error(dtrace_hdl_t *dtp, dt_pcb_t *pcb, dt_proc_t *dpr, argument 89 if (pcb == NULL) { 97 dt_set_errmsg(dtp, dt_errtag(tag), pcb->pcb_region, 98 pcb->pcb_filetag, pcb->pcb_fileptr ? yylineno : 0, fmt, ap); 109 dt_pcb_t *pcb = pp->dpp_pcb; local 142 return (dt_pid_error(dtp, pcb, dpr, ftp, 153 return (dt_pid_error(dtp, pcb, dpr, ftp, 166 return (dt_pid_error(dtp, pcb, dpr, ftp, D_PROC_NAME, 171 return (dt_pid_error(dtp, pcb, dp 253 dt_pcb_t *pcb = pp->dpp_pcb; local 440 dt_pid_create_pid_probes(dtrace_probedesc_t *pdp, dtrace_hdl_t *dtp, dt_pcb_t *pcb, dt_proc_t *dpr) argument 578 dt_pid_create_usdt_probes(dtrace_probedesc_t *pdp, dtrace_hdl_t *dtp, dt_pcb_t *pcb, dt_proc_t *dpr) argument 603 dt_pid_get_pid(dtrace_probedesc_t *pdp, dtrace_hdl_t *dtp, dt_pcb_t *pcb, dt_proc_t *dpr) argument 633 dt_pid_create_probes(dtrace_probedesc_t *pdp, dtrace_hdl_t *dtp, dt_pcb_t *pcb) argument [all...] |
H A D | dt_cg.c | 2070 dt_cg(dt_pcb_t *pcb, dt_node_t *dnp) argument 2076 if (pcb->pcb_regs == NULL && (pcb->pcb_regs = 2077 dt_regset_create(pcb->pcb_hdl->dt_conf.dtc_difintregs)) == NULL) 2078 longjmp(pcb->pcb_jmpbuf, EDT_NOMEM); 2080 dt_regset_reset(pcb->pcb_regs); 2081 (void) dt_regset_alloc(pcb->pcb_regs); /* allocate %r0 */ 2083 if (pcb->pcb_inttab != NULL) 2084 dt_inttab_destroy(pcb->pcb_inttab); 2086 if ((pcb [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/modules/genunix/ |
H A D | gcore_isadep.c | 55 struct pcb *pcb = &lwp->lwp_pcb; local 72 grp[REG_FSBASE] = pcb->pcb_fsbase; 73 grp[REG_GSBASE] = pcb->pcb_gsbase; 74 if (pcb->pcb_rupdate == 1) { 75 grp[REG_DS] = pcb->pcb_ds; 76 grp[REG_ES] = pcb->pcb_es; 77 grp[REG_FS] = pcb->pcb_fs; 78 grp[REG_GS] = pcb->pcb_gs;
|
/illumos-gate/usr/src/uts/intel/ia32/syscall/ |
H A D | lwp_private.c | 43 pcb_t *pcb = &lwp->lwp_pcb; local 75 if (pcb->pcb_rupdate == 0) { 76 pcb->pcb_ds = rp->r_ds; 77 pcb->pcb_es = rp->r_es; 78 pcb->pcb_fs = rp->r_fs; 79 pcb->pcb_gs = rp->r_gs; 80 pcb->pcb_rupdate = 1; 88 set_usegd(&pcb->pcb_fsdesc, SDP_LONG, 0, 0, 90 rval = pcb->pcb_fs = 0; /* null gdt descriptor */ 92 set_usegd(&pcb 160 pcb_t *pcb = &lwp->lwp_pcb; local [all...] |
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | pcb.h | 41 typedef struct pcb { struct
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | pcb.h | 49 typedef struct pcb { struct 55 unsigned char pcb_rupdate; /* new register values in pcb -> regs */
|
/illumos-gate/usr/src/cmd/auditreduce/ |
H A D | proc.c | 68 * First one record is retreived from each pcb. As they are retreived 74 * .arg pcbr - ptr to pcb for this process. 85 register audit_pcb_t *pcb; local 98 pcb = &(pcbr->pcb_below[i]); /* get next PCB */ 99 while (pcb->pcb_time < 0) { /* while no active record ... */ 100 if ((ret = get_file(pcb)) == -1) 104 if (get_recs(pcb, &nrecs) == 0) 105 asort(pcb); /* got a rec - put in list */ 111 while ((pcb = aget()) != NULL) { /* get oldest record */ 112 if (write_recs(pcbr, pcb, [all...] |
H A D | main.c | 87 * and then allocates the root pcb. Then it calls mfork() to get 99 audit_pcb_t *pcb; local 116 * Allocate the root pcb and set it up. 118 pcb = (audit_pcb_t *)a_calloc(1, sizeof (audit_pcb_t)); 119 pcb->pcb_procno = root_pid; 120 pcb->pcb_flags |= PF_ROOT; 121 pcb->pcb_fpw = stdout; 122 pcb->pcb_time = -1; 126 if (mfork(pcb, pcbnum, 0, pcbnum - 1)) { 176 * .call ret = mfork(pcb, ns 185 mfork(audit_pcb_t *pcb, int nsp, int lo, int hi) argument 308 trim_mem(audit_pcb_t *pcb) argument 355 audit_pcb_t *pcb; local 392 c_close(audit_pcb_t *pcb, int i) argument 473 gather_pcb(audit_pcb_t *pcb, int lo, int hi) argument 600 audit_pcb_t *pcb; local [all...] |
H A D | option.c | 718 audit_pcb_t *pcb; local 731 if ((pcb = get_next_pcb((char *)NULL)) == (audit_pcb_t *)NULL) 733 pcb->pcb_suffix = fcb->fcb_file; 734 pcb->pcb_dfirst = pcb->pcb_first = fcb; /* one-item list */ 735 pcb->pcb_dlast = pcb->pcb_last = fcb; 736 pcb->pcb_cur = fcb; 854 * getting and fcb and installing the fcb into the correct pcb. 855 * If the file fails then the fcb is not installed into a pcb 871 audit_pcb_t *pcb; local 1066 audit_pcb_t *pcb; local 1117 proc_pcb(audit_pcb_t *pcb, char *suffix, int i) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | panic.c | 221 label_t pcb = t->t_pcb; local 299 panic_pcb = pcb;
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | sysi86.c | 594 pcb_t *pcb = &lwp->lwp_pcb; local 603 if (pcb->pcb_rupdate == 1) { 604 if (ssd->sel == pcb->pcb_ds || 605 ssd->sel == pcb->pcb_es || 606 ssd->sel == pcb->pcb_fs || 607 ssd->sel == pcb->pcb_gs) {
|
H A D | sundep.c | 392 struct pcb *pcb = &clwp->lwp_pcb; local 395 if (pcb->pcb_rupdate == 0) { 396 pcb->pcb_ds = rp->r_ds; 397 pcb->pcb_es = rp->r_es; 398 pcb->pcb_fs = rp->r_fs; 399 pcb->pcb_gs = rp->r_gs; 400 pcb->pcb_rupdate = 1; 435 * Here we save the current values from the lwp regs into the pcb 436 * and set pcb 462 pcb_t *pcb = &lwp->lwp_pcb; local 511 pcb_t *pcb = &lwp->lwp_pcb; local 708 pcb_t *pcb = &lwp->lwp_pcb; local 729 pcb_t *pcb = &lwp->lwp_pcb; local 897 pcb_t *pcb = &lwp->lwp_pcb; local [all...] |
H A D | syscall.c | 816 pcb_t *pcb = &lwp->lwp_pcb; local 829 ((pcb->pcb_flags & NORMAL_STEP) || 830 !(pcb->pcb_flags & WATCH_STEP))) { 836 pcb->pcb_flags &= ~(DEBUG_PENDING|NORMAL_STEP|WATCH_STEP);
|
H A D | archdep.c | 290 * the pcb and indicate that the state is valid. When the 336 * If we have FPU hw and the thread's pcb doesn't have 448 struct pcb *pcb = &lwp->lwp_pcb; local 466 grp[REG_FSBASE] = pcb->pcb_fsbase; 467 grp[REG_GSBASE] = pcb->pcb_gsbase; 470 if (pcb->pcb_rupdate == 1) { 471 grp[REG_DS] = pcb->pcb_ds; 472 grp[REG_ES] = pcb->pcb_es; 473 grp[REG_FS] = pcb 501 struct pcb *pcb = &lwp->lwp_pcb; local 704 struct pcb *pcb = &lwp->lwp_pcb; local [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/ |
H A D | kvm_isadep.c | 307 jmp_buf pcb, *oldpcb = NULL; local 309 if (setjmp(pcb) != 0) { 314 oldpcb = kmdb_dpi_set_fault_hdlr(&pcb); 398 jmp_buf pcb, *oldpcb = NULL; local 403 if (setjmp(pcb) != 0) { 408 oldpcb = kmdb_dpi_set_fault_hdlr(&pcb);
|
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kvm_isadep.c | 238 jmp_buf pcb; local 254 if (setjmp(pcb) != 0) { 266 oldpcb = kmdb_dpi_set_fault_hdlr(&pcb);
|
/illumos-gate/usr/src/stand/lib/sock/ |
H A D | socket_impl.h | 144 void *pcb; /* Protocol control block */ member in struct:inetboot_socket
|
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | mp_xen.c | 446 pcb_to_user_regs(label_t *pcb, vcpu_guest_context_t *vgc) argument 449 vgc->user_regs.rip = pcb->val[REG_LABEL_PC]; 450 vgc->user_regs.rsp = pcb->val[REG_LABEL_SP]; 451 vgc->user_regs.rbp = pcb->val[REG_LABEL_BP]; 452 vgc->user_regs.rbx = pcb->val[REG_LABEL_RBX]; 453 vgc->user_regs.r12 = pcb->val[REG_LABEL_R12]; 454 vgc->user_regs.r13 = pcb->val[REG_LABEL_R13]; 455 vgc->user_regs.r14 = pcb->val[REG_LABEL_R14]; 456 vgc->user_regs.r15 = pcb->val[REG_LABEL_R15]; 458 vgc->user_regs.eip = pcb [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb.c | 876 jmp_buf pcb; local 900 bcopy(fp->f_pcb, pcb, sizeof (jmp_buf)); 942 bcopy(pcb, fp->f_pcb, sizeof (jmp_buf));
|
/illumos-gate/usr/src/uts/common/xen/os/ |
H A D | gnttab.c | 498 struct gnttab_free_callback **pcb; local 501 for (pcb = &gnttab_free_callback_list; *pcb; pcb = &(*pcb)->next) { 502 if (*pcb == callback) { 503 *pcb = callback->next;
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | trap.c | 723 pcb_t *pcb = &lwp->lwp_pcb; local 727 if (pcb->pcb_step == STEP_WASACTIVE) { 728 pcb->pcb_step = STEP_NONE; 729 pcb->pcb_tracepc = NULL; 737 ASSERT(pcb->pcb_flags & (NORMAL_STEP|WATCH_STEP)); 739 (pcb->pcb_flags & NORMAL_STEP)) { 745 pcb->pcb_flags &= ~(NORMAL_STEP|WATCH_STEP); 1125 * results in residual windows in the pcb.
|