/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | dr_mem.c | 760 dr_mem_hdr_t *rp; local 787 rp = kmem_zalloc(rlen, KM_SLEEP); 790 rp->req_num = req->req_num; 791 rp->msg_type = DR_MEM_OK; 792 rp->msg_arg = nml ? nml : req->msg_arg; 795 stat = DR_MEM_RESP_QUERY(rp); 809 *resp = rp; 948 dr_mem_hdr_t *rp; local 958 rp = kmem_zalloc(rlen, KM_SLEEP); 961 rp 983 dr_mem_hdr_t *rp; local [all...] |
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fcpci.c | 186 fco_handle_t rp; local 190 rp = kmem_zalloc(sizeof (struct fc_resource_list), KM_SLEEP); 191 rp->next_handle = fc_ops_alloc_handle(ap, child, fcode, fcode_size, 193 rp->ap = ap; 194 rp->child = child; 195 rp->fcode = fcode; 196 rp->fcode_size = fcode_size; 202 rp->unit_address = buf; 207 rp->bus_args = bp; 212 h = ddi_get_nodeid(rp 219 pci_fc_ops_free_handle(fco_handle_t rp) argument 262 pci_fc_ops(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 293 pfc_dma_map_in(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 382 pfc_dma_sync(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 436 pfc_dma_map_out(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 496 next_dma_resource(fco_handle_t rp) argument 510 pfc_dma_cleanup(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 544 pfc_map_in(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 610 pfc_map_out(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 656 pfc_register_fetch(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 746 pfc_register_store(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 827 pfc_config_fetch(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 962 pfc_config_store(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 1088 pfc_get_fcode(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 1137 pfc_get_fcode_size(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 1172 pfc_probe_address(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 1191 pfc_probe_space(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument 1210 pfc_config_child(dev_info_t *ap, fco_handle_t rp, fc_ci_t *cp) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | iommu.c | 679 struct regspec *rp; local 703 rp = ddi_rnumber_to_regspec(rdip, 0); 704 if (rp == NULL) {
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nb5000.c | 95 fat_memory_error(const nb_regs_t *rp, void *data) argument 103 ferr_fat_fbd = rp->nb.fat_fbd_regs.ferr_fat_fbd; 106 intel_fat_fbd_err(rp->nb.fat_fbd_regs.nerr_fat_fbd); 127 nrecmema = rp->nb.fat_fbd_regs.nrecmema; 128 nrecmemb = rp->nb.fat_fbd_regs.nrecmemb; 231 nf_memory_error(const nb_regs_t *rp, void *data) argument 246 ferr_nf_fbd = rp->nb.nf_fbd_regs.ferr_nf_fbd; 268 recmema = rp->nb.nf_fbd_regs.recmema; 269 recmemb = rp->nb.nf_fbd_regs.recmemb; 282 recmema = rp 388 nf_mem_error(const nb_regs_t *rp, void *data) argument 589 log_int_err(nb_regs_t *rp, int willpanic, int *interpose) argument 638 log_thermal_err(nb_regs_t *rp, int willpanic, int *interpose) argument 671 log_dma_err(nb_regs_t *rp, int *interpose) argument 728 log_fsb_err(uint64_t ferr, nb_regs_t *rp, int willpanic, int *interpose) argument 1091 log_pex_err(uint64_t ferr, nb_regs_t *rp, int willpanic, int *interpose) argument 1143 log_fat_fbd_err(nb_regs_t *rp, int willpanic, int *interpose) argument 1195 log_nf_fbd_err(nb_regs_t *rp, int willpanic, int *interpose) argument 1265 log_nf_mem_err(nb_regs_t *rp, int willpanic, int *interpose) argument 1333 nb_regs_t *rp = &log->nb_regs; local 1380 nb_regs_t *rp = &log->nb_regs; local 1400 log_fsb_err(GE_NERR_TO_FERR_FSB(err), rp, willpanic, local [all...] |
/illumos-gate/usr/src/uts/sparc/dtrace/ |
H A D | fasttrap_isa.c | 198 fasttrap_anarg(struct regs *rp, int argno) argument 203 return ((&rp->r_o0)[argno]); 206 struct frame *fr = (struct frame *)(rp->r_sp + STACK_BIAS); 213 struct frame32 *fr = (struct frame32 *)rp->r_sp; 228 fasttrap_usdt_args(fasttrap_probe_t *probe, struct regs *rp, argument 237 * avoid a call to fasttrap_getreg(), and safely use rp->r_sp 245 struct frame *fr = (struct frame *)(rp->r_sp + STACK_BIAS); 252 argv[i] = fasttrap_getreg(rp, R_O0 + x + inc); 258 struct frame32 *fr = (struct frame32 *)rp->r_sp; 265 argv[i] = fasttrap_getreg(rp, R_O 277 fasttrap_return_common(struct regs *rp, uintptr_t pc, pid_t pid, uint_t fake_restore) argument 412 fasttrap_pid_probe(struct regs *rp) argument 1014 fasttrap_return_probe(struct regs *rp) argument 1384 fasttrap_getreg(struct regs *rp, uint_t reg) argument 1484 fasttrap_putreg(struct regs *rp, uint_t reg, ulong_t value) argument [all...] |
/illumos-gate/usr/src/uts/i86xpv/os/ |
H A D | evtchn.c | 1253 xen_callback_handler(struct regs *rp, trap_trace_rec_t *ttp) argument 1265 ASSERT(rp->r_trapno == T_AST && rp->r_err == 0); 1428 rp->r_trapno = irq; 1429 do_interrupt(rp, ttp); 1447 dosoftint(rp); 1461 dosoftint(rp);
|
/illumos-gate/usr/src/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 194 fasttrap_anarg(struct regs *rp, int function_entry, int argno) argument 208 return ((&rp->r_rdi)[argno]); 210 stack = (uintptr_t *)rp->r_sp; 216 uint32_t *stack = (uint32_t *)rp->r_sp; 659 fasttrap_return_common(struct regs *rp, uintptr_t pc, pid_t pid, argument 701 rp->r_r0, rp->r_r1, 0, 0); 726 fasttrap_usdt_args64(fasttrap_probe_t *probe, struct regs *rp, int argc, argument 730 uintptr_t *stack = (uintptr_t *)rp->r_sp; 736 argv[i] = (&rp 748 fasttrap_usdt_args32(fasttrap_probe_t *probe, struct regs *rp, int argc, uint32_t *argv) argument 766 fasttrap_do_seg(fasttrap_tracepoint_t *tp, struct regs *rp, uintptr_t *addr) argument 879 fasttrap_pid_probe(struct regs *rp) argument 1652 fasttrap_return_probe(struct regs *rp) argument 1703 fasttrap_getreg(struct regs *rp, uint_t reg) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_fcp.c | 32 #define EMLXS_GET_VADDR(hba, rp, icmd) emlxs_mem_get_vaddr(hba, rp, \ 723 emlxs_post_buffer(emlxs_hba_t *hba, RING *rp, int16_t cnt) argument 739 cnt += rp->fc_missbufcnt; 741 if (rp->ringno == hba->channel_els) { 744 } else if (rp->ringno == hba->channel_ip) { 747 } else if (rp->ringno == hba->channel_ct) { 752 else if (rp->ringno == hba->CHANNEL_FCT) { 766 rp->fc_missbufcnt = cnt; 770 iocbq->channel = (void *)&hba->chan[rp 2410 RING *rp; local 2658 RING *rp; local 2962 RING *rp; local 3614 RING *rp; local [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | igmp.c | 85 static mrec_t *mcast_merge_rtx(ilm_t *ilm, mrec_t *rp, slist_t *flist); 791 mrec_t *rp; local 805 rp = mcast_bldmrec(rtype, &ilm->ilm_v6addr, 807 igmpv3_sendrpt(ill, rp); 870 mrec_t *rp; local 884 rp = mcast_bldmrec(rtype, &ilm->ilm_v6addr, 886 mldv2_sendrpt(ill, rp); 949 mrec_t *rp; local 960 rp = mcast_bldmrec(BLOCK_OLD_SOURCES, &ilm->ilm_v6addr, 963 rp 991 mrec_t *rp; local 1021 mrec_t *rp; local 1112 mrec_t *rp = NULL; local 1200 mrec_t *rp = NULL; local 1440 mrec_t *rp, *rtxrp; local 1896 mrec_t *rp, *cur_reclist; local 2534 mrec_t *rp, *cur_reclist; local 2706 mrec_t *rp; local 2805 mrec_t *rp, *rpnext, *rtnmrec; local [all...] |
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | parallel.cc | 85 static void delete_running_struct(Running rp); 90 static void finish_doname(Running rp); 96 static void store_conditionals(Running rp); 777 Running rp; local 794 for (rp_prev = &running_list, rp = running_list; 795 rp != NULL && parallel_process_cnt == 0; 796 rp = rp->next) { 797 if (rp->state == build_serial) { 798 *rp_prev = rp 1034 Running rp; local 1104 Running rp; local 1175 Running rp; local 1362 finish_doname(Running rp) argument 1441 Running rp; local 1491 Running rp; local 1551 Running rp; local 1582 Running rp; local 1614 Running rp; local 1642 store_conditionals(Running rp) argument 1740 Running rp; local 1870 delete_running_struct(Running rp) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | spoolss_svc.c | 709 spoolss_winreg_t *rp; local 727 rp = ®[i]; 729 if (strcasecmp(name, rp->name) != 0) 742 value = rp->value;
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_modapi.c | 210 mdb_getareg(mdb_tid_t tid, const char *rname, mdb_reg_t *rp) argument 212 return (mdb_tgt_getareg(mdb.m_target, tid, rname, rp));
|
/illumos-gate/usr/src/uts/intel/ia32/os/ |
H A D | archdep.c | 446 struct regs *rp = lwptoregs(lwp); local 451 grp[REG_RDI] = rp->r_rdi; 452 grp[REG_RSI] = rp->r_rsi; 453 grp[REG_RDX] = rp->r_rdx; 454 grp[REG_RCX] = rp->r_rcx; 455 grp[REG_R8] = rp->r_r8; 456 grp[REG_R9] = rp->r_r9; 457 grp[REG_RAX] = rp->r_rax; 458 grp[REG_RBX] = rp->r_rbx; 459 grp[REG_RBP] = rp 500 struct regs *rp = lwptoregs(lwp); local 700 struct regs *rp = lwptoregs(lwp); local 1063 panic_saveregs(panic_data_t *pdp, struct regs *rp) argument 1438 traceregs(struct regs *rp) argument [all...] |
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | v9dep.c | 329 struct regs *rp = lwptoregs(lwp); local 340 rp->r_tstate &= ~(((uint64_t)TSTATE_CCR_MASK << TSTATE_CCR_SHIFT) | 342 rp->r_tstate |= tbits; 353 rp->r_pc = grp[REG_PC] & ~03L; 354 rp->r_npc = grp[REG_nPC] & ~03L; 355 rp->r_y = grp[REG_Y]; 357 rp->r_g1 = grp[REG_G1]; 358 rp->r_g2 = grp[REG_G2]; 359 rp->r_g3 = grp[REG_G3]; 360 rp 393 struct regs *rp = lwptoregs(lwp); local 430 struct regs *rp = lwptoregs(lwp); local 795 struct regs *rp; local 890 struct regs *volatile rp; local 1219 struct regs *volatile rp; local 1570 struct regs *rp = lwptoregs(lwp); local 1583 struct regs *rp = lwptoregs(lwp); local 1627 struct regs *rp = lwptoregs(ttolwp(curthread)); local 1849 panic_saveregs(panic_data_t *pdp, struct regs *rp) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_rcm.c | 472 char **rp; local 489 for (rp = rcm->rlist; *rp; rp++) 490 s_free(*rp); 505 char **rp; local 519 if ((rp = (char **)calloc(ncap + 1, sizeof (char *))) == NULL) { 595 DBG("rp[%d]=%s\n", ncap, path); 596 rp[ncap++] = path; 603 DBG("rp[ [all...] |
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | machdep.c | 540 nmfunc1(int arg, struct regs *rp) argument 542 printf("nmi called with arg = %x, regs = %x\n", arg, rp); 545 printf("ip = %x\n", rp->r_pc); 1302 linear_pc(struct regs *rp, proc_t *p, caddr_t *linearp) argument 1306 uint16_t idx = SELTOIDX(rp->r_cs); 1308 ASSERT(rp->r_cs <= 0xFFFF); 1311 if (SELISLDT(rp->r_cs)) { 1329 rp->r_pc); 1337 *linearp = (caddr_t)(uintptr_t)rp->r_pc; 1350 dtrace_linear_pc(struct regs *rp, proc_ argument [all...] |
H A D | trap.c | 193 die(uint_t type, struct regs *rp, caddr_t addr, processorid_t cpuid) argument 210 ti.trap_regs = rp; 217 panic("BAD TRAP: type=%x (#%s %s) rp=%p addr=%p " 219 type, trap_mnemonic, trap_name, (void *)rp, (void *)addr, 220 mod_containing_pc((caddr_t)rp->r_pc), 225 panic("BAD TRAP: type=%x (#%s %s) rp=%p addr=%p", 226 type, trap_mnemonic, trap_name, (void *)rp, (void *)addr); 302 ldt_rewrite_syscall(struct regs *rp, proc_t *p, int syscall_insn) argument 309 if (linear_pc(rp, p, &linearpc) == 0) { 404 emulate_lsahf(struct regs *rp, uchar_ argument 465 trap(struct regs *rp, caddr_t addr, processorid_t cpuid) argument 1696 showregs(uint_t type, struct regs *rp, caddr_t addr) argument 1755 dumpregs(struct regs *rp) argument 1891 kern_gpfault(struct regs *rp) argument [all...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | init.c | 590 struct rand *rp = (struct rand*)fp; local 605 rp->rand_last = -1; 607 np->nvalue.lp = &rp->rand_last;
|
H A D | io.c | 824 static int pat_line(const regex_t* rp, const char *buff, register size_t n) argument 830 if(regnexec(rp,sp,cp-sp, 0, (regmatch_t*)0, 0)==0) 836 static int io_patseek(Shell_t *shp, regex_t *rp, Sfio_t* sp, int flags) argument 852 r = regrexec(rp,cp,m,0,(regmatch_t*)0, 0, '\n', (void*)&match, pat_seek); 857 if((m = pat_line(rp,cp,m)) < n) 1250 regex_t *rp; local 1257 if(!(rp = regcache(fname, REG_SHELL|REG_NOSUB|REG_NEWLINE|REG_AUGMENTED|REG_FIRST|REG_LEFT|REG_RIGHT, &r))) 1264 r=io_patseek(shp,rp,sp,iof);
|
H A D | name.c | 78 Namval_t *rp; member in struct:sh_type 213 sp->rp = np; 215 np = nv_search(sp->rp->nvname,root,NV_ADD); 224 if(sp->rp && sp->numnodes) 228 sp->rp = 0; 233 dtinsert(root,sp->rp); 307 shtp.rp = 0; 747 struct Ufunction *rp; local 748 if((rp=shp->st.real_fun) && !rp 2050 struct Ufunction *rp; local 2194 struct Ufunction *rq,*rp = np->nvalue.rp; local [all...] |
H A D | xec.c | 2055 if(np->nvalue.rp) 2062 free((void*)np->nvalue.rp); 2063 np->nvalue.rp = 0; 2067 if(!np->nvalue.rp) 2069 np->nvalue.rp = new_of(struct Ufunction,shp->funload?sizeof(Dtlink_t):0); 2070 memset((void*)np->nvalue.rp,0,sizeof(struct Ufunction)); 2084 np->nvalue.rp->hoffset = t->funct.functloc; 2085 np->nvalue.rp->lineno = t->funct.functline; 2086 np->nvalue.rp->nspace = shp->namespace; 2087 np->nvalue.rp 2096 struct Ufunction *rp = np->nvalue.rp; local [all...] |
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 740 char *rp, *src; local 750 if (*(rp = LASTBYTE(src)) == RPAREN) { 755 *rp = '\0';
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 1607 mib2_ipRouteEntry_t *rp, *rp1, *endp; local 1625 for (rp = buf; rp < endp; rp++) { 1626 if (!(rp->ipRouteInfo.re_ire_type & IRE_OFFSUBNET)) 1630 nexthop_v4.s_addr = rp->ipRouteNextHop; 1704 mib2_ipv6RouteEntry_t *rp, *rp1, *endp; local 1721 for (rp = buf; rp < endp; rp [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ilbadm/ |
H A D | ilbadm_stats.c | 228 i_sum_per_rule_processed(ilbst_rule_desc_t *rp, uint64_t *resp, int index, argument 244 if (check_valid && rp->ird_num_servers != rp->ird_num_servers_o) 247 num_servers = old ? rp->ird_num_servers_o : rp->ird_num_servers; 250 n_srv = &rp->ird_srvlist[i]; 251 o_srv = &rp->ird_srvlist_o[i]; 282 i_sum_per_rule_pkt_p(ilbst_rule_desc_t *rp, uint64_t *resp, int flags) argument 284 return (i_sum_per_rule_processed(rp, resp, SRVST_PKT_P, flags)); 288 i_sum_per_rule_bytes_p(ilbst_rule_desc_t *rp, uint64_ argument 555 ilbst_rule_desc_t *rp; local 607 i_copy_rstats(ilbst_rule_desc_t *rp, kstat_t *kp) argument 625 i_set_rlstats_ptr(ilbst_rule_desc_t *rp, boolean_t old_is_old) argument 823 ilbst_rule_desc_t *rlist, *rp; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 1345 mib2_ipRouteEntry_t *rp; local 1441 for (rp = routes; nroutes > 0; ++rp, nroutes--) { 1448 if (rp->ipRouteInfo.re_ire_type & 1453 if (IN_MULTICAST(ntohl(rp->ipRouteDest)) || 1454 IN_LINKLOCAL(ntohl(rp->ipRouteDest))) { 1461 "flags %08X: %s", rp->ipRouteType, 1462 rp->ipRouteInfo.re_ire_type, 1463 rp->ipRouteInfo.re_flags, 1464 naddr_ntoa(rp [all...] |