/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | mach_startup.c | 355 TRAP_TRACE_CTL *ctlp; in mach_htraptrace_setup() local 360 ctlp = &trap_trace_ctl[cpuid]; in mach_htraptrace_setup() 361 ctlp->d.hvaddr_base = (cpuid == bootcpuid) ? htrap_tr0 : in mach_htraptrace_setup() 363 if (ctlp->d.hvaddr_base == NULL) { in mach_htraptrace_setup() 364 ctlp->d.hlimit = 0; in mach_htraptrace_setup() 365 ctlp->d.hpaddr_base = 0; in mach_htraptrace_setup() 369 ctlp->d.hlimit = HTRAP_TSIZE; in mach_htraptrace_setup() 370 ctlp->d.hpaddr_base = va_to_pa(ctlp->d.hvaddr_base); in mach_htraptrace_setup() 385 TRAP_TRACE_CTL *ctlp; in mach_htraptrace_configure() local 387 ctlp = &trap_trace_ctl[cpuid]; in mach_htraptrace_configure() [all …]
|
/illumos-gate/usr/src/common/ctf/ |
H A D | ctf_labels.c | 55 const ctf_lblent_t *ctlp; in ctf_label_topmost() local 59 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_topmost() 67 if ((s = ctf_strraw(fp, (ctlp + num_labels - 1)->ctl_label)) == NULL) in ctf_label_topmost() 80 const ctf_lblent_t *ctlp; in ctf_label_iter() local 86 if (extract_label_info(fp, &ctlp, &num_labels) == CTF_ERR) in ctf_label_iter() 92 for (i = 0; i < num_labels; i++, ctlp++) { in ctf_label_iter() 93 if ((lname = ctf_strraw(fp, ctlp->ctl_label)) == NULL) { in ctf_label_iter() 95 "typeidx %u\n", ctlp->ctl_label, ctlp->ctl_typeidx); in ctf_label_iter() 99 linfo.ctb_typeidx = ctlp->ctl_typeidx; in ctf_label_iter()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_set.c | 44 } *ctlp; in Psetcred() local 51 ctlp = alloca(ctlsize + sizeof (long)); in Psetcred() 53 ctlp->cmd = PCSCREDX; in Psetcred() 54 (void) memcpy(&ctlp->cred, credp, ctlsize); in Psetcred() 56 if (write(Pctlfd(Pr), ctlp, sizeof (long) + ctlsize) < 0) in Psetcred()
|
H A D | Pcontrol.c | 2177 long *ctlp = ctl; in Psetrun() local 2188 *ctlp++ = PCCFAULT; in Psetrun() 2193 *ctlp++ = PCCSIG; in Psetrun() 2199 *ctlp++ = PCSSIG; in Psetrun() 2200 infop = (siginfo_t *)ctlp; in Psetrun() 2203 ctlp += sizeof (siginfo_t) / sizeof (long); in Psetrun() 2206 *ctlp++ = PCRUN; in Psetrun() 2207 *ctlp++ = flags; in Psetrun() 2208 size = (char *)ctlp - (char *)ctl; in Psetrun() 2328 long *ctlp = ctl; in Psetbkpt() local [all …]
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mp_startup.c | 294 TRAP_TRACE_CTL *ctlp; in setup_cpu_common() local 310 ctlp = &trap_trace_ctl[cpuid]; in setup_cpu_common() 323 ctlp->d.vaddr_base = newbuf; in setup_cpu_common() 324 ctlp->d.offset = ctlp->d.last_offset = 0; in setup_cpu_common() 325 ctlp->d.limit = trap_trace_bufsize; in setup_cpu_common() 326 ctlp->d.paddr_base = va_to_pa(newbuf); in setup_cpu_common() 327 ASSERT(ctlp->d.paddr_base != (uint64_t)-1); in setup_cpu_common() 451 TRAP_TRACE_CTL *ctlp; in cleanup_cpu_common() local 501 ctlp = &trap_trace_ctl[cpuid]; in cleanup_cpu_common() 502 newbuf = ctlp->d.vaddr_base; in cleanup_cpu_common() [all …]
|
H A D | mlsetup.c | 132 TRAP_TRACE_CTL *ctlp; in mlsetup() local 255 ctlp = &trap_trace_ctl[CPU->cpu_id]; in mlsetup() 256 ctlp->d.vaddr_base = trap_tr0; in mlsetup() 257 ctlp->d.offset = ctlp->d.last_offset = 0; in mlsetup() 258 ctlp->d.limit = TRAP_TSIZE; /* XXX dynamic someday */ in mlsetup() 259 ctlp->d.paddr_base = va_to_pa(trap_tr0); in mlsetup()
|
/illumos-gate/usr/src/cmd/lp/lib/msgs/ |
H A D | streamio.c | 50 Putmsg (MESG *mdp, strbuf_t *ctlp, strbuf_t *datap, int flags) in Putmsg() argument 72 rtncode = putmsg (mdp->writefd, ctlp, datap, flags); in Putmsg() 77 Getmsg (MESG *mdp, strbuf_t *ctlp, strbuf_t *datap, int *flagsp) in Getmsg() argument 81 rtncode = getmsg (mdp->readfd, ctlp, datap, flagsp); in Getmsg()
|
/illumos-gate/usr/src/uts/common/sys/sata/adapters/ahci/ |
H A D | ahcivar.h | 327 #define AHCI_NUM_PORTS(ctlp) \ argument 328 (ctlp)->ahcictl_num_ports
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_kvm.c | 702 kmt_mod_create(mdb_tgt_t *t, struct modctl *ctlp, char *name) in kmt_mod_create() argument 710 bcopy(ctlp, &km->km_modctl, sizeof (struct modctl)); in kmt_mod_create()
|