Searched defs:regp (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/cmd/sh/
H A Dfunc.c183 freereg(struct regnod *regp) argument
187 while (regp)
189 free_arg(regp->regptr);
190 freetree(regp->regcom);
191 sav = regp->regnxt;
192 free(regp);
193 regp = sav;
H A Dxec.c474 struct regnod *regp; local
476 regp = swptr(t)->swlst;
477 while (regp)
479 struct argnod *rex = regp->regptr;
487 execute(regp->regcom, XEC_NOSTOP, errorflg);
488 regp = 0;
494 if (regp)
495 regp = regp->regnxt;
/illumos-gate/usr/src/cmd/rpcbind/
H A Drpcb_svc_4.c225 rpcbproc_getaddrlist(rpcb *regp, rpcb_entry_list_ptr *result, argument
257 prog = regp->r_prog;
258 vers = regp->r_vers;
262 if (*(regp->r_addr) != '\0') {
263 saddr = regp->r_addr;
H A Drpcb_svc_com.c105 rpcbproc_set_com(RPCB *regp, bool_t *result, struct svc_req *rqstp, argument
110 *result = map_set(regp, getowner(rqstp->rq_xprt, owner));
118 map_set(RPCB *regp, char *owner) argument
132 fnd = find_service(regp->r_prog, regp->r_vers, regp->r_netid);
133 if (fnd && (fnd->rpcb_map.r_vers == regp->r_vers)) {
134 if (strcmp(fnd->rpcb_map.r_addr, regp->r_addr) == 0) {
159 delete_prog(regp->r_prog);
176 a->r_prog = regp
206 rpcbproc_unset_com(RPCB *regp, bool_t *result, struct svc_req *rqstp, int rpcbversnum) argument
219 map_unset(RPCB *regp, char *owner) argument
333 rpcbproc_getaddr_com(RPCB *regp, char **result, struct svc_req *rqstp, ulong_t rpcbversnum) argument
[all...]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhpi.h155 hpi_reg_ptr_t regp; member in struct:_hpi_handle
/illumos-gate/usr/src/uts/sun4u/io/
H A Disadma.c627 ebus_regspec_t *child_regp, *regp; local
637 "reg", (caddr_t)&regp, &reglen) != DDI_SUCCESS) {
641 child_regp = regp + rnumber;
643 DPRINTF(ISADMA_MAP_DEBUG, ("isadma_map: child regp %p "
644 "parent regp %p Child reg array %p\n", (void *)child_regp,
645 (void *)isadmap->isadma_regp, (void *)regp));
702 kmem_free(regp, reglen);
H A Dpmubus.c589 pmubus_regspec_t *regp, pci_regspec_t *pci_regp)
598 addr = regp->reg_addr & ~MAPPING_SHARED_BITS_MASK;
603 ((addr + regp->reg_size) <=
618 pci_regp->pci_size_low = MIN(regp->reg_size, rangep->rng_size);
623 if (regp->reg_addr & MAPPING_SHARED_BITS_MASK)
588 pmubus_apply_range(pmubus_devstate_t *pmubusp, dev_info_t *rdip, pmubus_regspec_t *regp, pci_regspec_t *pci_regp) argument
/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3.c761 uint32_t *regp; local
792 * Free the memory that regp points towards after the
796 "reg", (caddr_t)&regp, &reglen) != DDI_PROP_SUCCESS)
799 cpqary3p->bus = PCI_REG_BUS_G(*regp);
800 cpqary3p->dev = PCI_REG_DEV_G(*regp);
801 cpqary3p->fun = PCI_REG_FUNC_G(*regp);
804 if (PCI_REG_ADDR_G(*(regp + regset_index * 5)) == 0x2) {
819 if (PCI_REG_ADDR_G(*(regp + regset_index * 5)) == 0x3) {
833 MEM_SFREE(regp, reglen);
/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_resource.c116 acpidev_phys_spec_t *regp; local
120 sz = sizeof (*regp) * rhdl->acpidev_reg_max;
121 regp = kmem_zalloc(sz, KM_SLEEP);
122 sz = sizeof (*regp) * rhdl->acpidev_reg_count;
123 bcopy(rhdl->acpidev_regp, regp, sz);
127 rhdl->acpidev_regp = regp;
163 acpidev_regspec_t *regp)
166 ASSERT(regp != NULL);
171 rhdl->acpidev_regp[rhdl->acpidev_reg_count] = *regp;
179 uint_t mask, uint_t value, acpidev_regspec_t *regp, uint_
162 acpidev_resource_insert_reg(acpidev_resource_handle_t rhdl, acpidev_regspec_t *regp) argument
178 acpidev_resource_get_regs(acpidev_resource_handle_t rhdl, uint_t mask, uint_t value, acpidev_regspec_t *regp, uint_t *cntp) argument
[all...]
H A Dacpidev_dr.c950 acpidev_dr_device_free_regspec(acpidev_regspec_t *regp, uint_t count) argument
954 if (regp != NULL) {
955 ddi_prop_free(regp);
/illumos-gate/usr/src/cmd/devfsadm/
H A Dcfg_link.c649 int *regp; local
652 &regp);
660 return (REG_PCIDEV(regp));
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkaif.c237 kreg_t *regp; local
239 if ((regp = kaif_find_regp(regname)) == NULL)
242 *valp = *regp;
250 kreg_t *regp; local
252 if ((regp = kaif_find_regp(regname)) == NULL)
255 *regp = val;
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.h153 regex_t *regp; member in struct:link_desc
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi.h205 npi_reg_ptr_t regp; member in struct:_npi_handle
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_dr.c1499 int *regp; local
1505 regp = kmem_alloc(len, KM_SLEEP);
1506 (void) prom_getprop(pnode, OBP_REG, (caddr_t)regp);
1512 bd_id = (*regp - 0x1c0) >> 2;
1513 kmem_free(regp, len);
/illumos-gate/usr/src/uts/i86pc/io/amd_iommu/
H A Damd_iommu_impl.c1908 amd_iommu_reg_get64_workaround(uint64_t *regp, uint32_t bits) argument
1911 uint32_t *ptr32 = (uint32_t *)regp;
1921 amd_iommu_reg_set64_workaround(uint64_t *regp, uint32_t bits, uint64_t value) argument
1924 uint32_t *ptr32 = (uint32_t *)regp;
1932 *regp = s.u64;
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkaif.c250 kreg_t *regp; local
259 if ((regp = kaif_find_regp(save, regname)) == NULL)
262 *valp = *regp;
271 kreg_t *regp; local
285 if ((regp = kaif_find_regp(save, regname)) == NULL)
288 *regp = val;
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/
H A Ddrmach_acpi.c1140 acpidev_regspec_t *regp; local
1161 if (ACPI_FAILURE(acpidev_dr_device_get_regspec(hdl, TRUE, &regp,
1168 addr = (uint64_t)regp[i].phys_mid << 32;
1169 addr |= (uint64_t)regp[i].phys_low;
1170 size = (uint64_t)regp[i].size_hi << 32;
1171 size |= (uint64_t)regp[i].size_low;
1189 acpidev_dr_device_free_regspec(regp, count);
/illumos-gate/usr/src/uts/i86pc/io/vmm/amd/
H A Dsvm.c2211 uint64_t *regp; local
2218 regp = swctx_regptr(svm_get_guest_regctx(sc, vcpu), ident);
2219 if (regp != NULL) {
2220 *val = *regp;
2273 uint64_t *regp; local
2281 regp = swctx_regptr(svm_get_guest_regctx(sc, vcpu), ident);
2282 if (regp != NULL) {
2283 *regp = val;
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.c3236 picld_plugin_register(picld_plugin_reg_t *regp) argument
3241 if (regp == NULL)
3244 if (regp->version != PICLD_PLUGIN_VERSION_1)
3250 el->reg.version = regp->version;
3251 el->reg.critical = regp->critical;
3252 if (regp->name)
3253 el->reg.name = strdup(regp->name);
3257 el->reg.plugin_init = regp->plugin_init;
3258 el->reg.plugin_fini = regp->plugin_fini;
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_boot.c1103 int *regp = NULL; local
1125 "reg", &regp, &reglen);
1128 physhi = regp[0];
1129 ddi_prop_free(regp);
/illumos-gate/usr/src/uts/i86pc/io/vmm/intel/
H A Dvmx.c3194 uint64_t *regp; local
3201 if ((regp = vmxctx_regptr(&vmx->ctx[vcpu], reg)) != NULL) {
3202 *retval = *regp;
3237 uint64_t *regp; local
3244 if ((regp = vmxctx_regptr(&vmx->ctx[vcpu], reg)) != NULL) {
3245 *regp = val;
/illumos-gate/usr/src/uts/common/pcmcia/nexus/
H A Dpcmcia.c934 struct regspec *regp; local
940 for (regp = (struct regspec *)ppd->ppd_reg, i = 0;
941 i < ppd->ppd_nreg; i++, regp++) {
942 if (bcmp(reg, regp, sizeof (struct regspec)) == 0)
945 for (regp = (struct regspec *)ppd->ppd_assigned, i = 0;
946 i < ppd->ppd_nreg; i++, regp++) {
947 if (bcmp(reg, regp, sizeof (struct regspec)) == 0)
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_main.c714 int *regp; local
723 "reg", &regp, &reglen);
733 nxgep->niu_cfg_hdl = (*regp) & 0xFFFFFFF;
734 ddi_prop_free(regp);
1981 "Neptune PCI regp cfg_ptr 0x%llx", (char *)cfg_ptr));
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dadapter.h502 caddr_t regp; member in struct:adapter
655 return (ddi_get32(sc->regh, (uint32_t *)(sc->regp + reg)));
662 ddi_put32(sc->regh, (uint32_t *)(sc->regp + reg), val);
705 return (ddi_get64(sc->regh, (uint64_t *)(sc->regp + reg)));
712 ddi_put64(sc->regh, (uint64_t *)(sc->regp + reg), val);

Completed in 211 milliseconds