| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| D | ExecutionDomainFix.cpp | 26 DomainValue *dv = Avail.empty() ? new (Allocator.Allocate()) DomainValue in alloc() local 29 dv->addDomain(domain); in alloc() 30 assert(dv->Refs == 0 && "Reference count wasn't cleared"); in alloc() 31 assert(!dv->Next && "Chained DomainValue shouldn't have been recycled"); in alloc() 32 return dv; in alloc() 70 void ExecutionDomainFix::setLiveReg(int rx, DomainValue *dv) { in setLiveReg() argument 74 if (LiveRegs[rx] == dv) in setLiveReg() 78 LiveRegs[rx] = retain(dv); in setLiveReg() 94 if (DomainValue *dv = LiveRegs[rx]) { in force() local 95 if (dv->isCollapsed()) in force() [all …]
|
| /openbsd/src/sys/dev/pv/ |
| D | hypervic.c | 174 struct hv_ic_dev *dv; in hv_attach_icdevs() local 179 dv = &hv_ic_devs[i]; in hv_attach_icdevs() 186 if (memcmp(dv->dv_type, &ch->ch_type, in hv_attach_icdevs() 193 dv->dv_ch = ch; in hv_attach_icdevs() 201 dv->dv_ch->ch_flags &= ~CHF_BATCHED; in hv_attach_icdevs() 203 if (dv->dv_attach && dv->dv_attach(dv) != 0) in hv_attach_icdevs() 207 dv->dv_handler, dv)) { in hv_attach_icdevs() 209 sc->sc_dev.dv_xname, dv->dv_name); in hv_attach_icdevs() 212 evcount_attach(&ch->ch_evcnt, dv->dv_name, &sc->sc_idtvec); in hv_attach_icdevs() 215 printf("%s: %s", sc->sc_dev.dv_xname, dv->dv_name); in hv_attach_icdevs() [all …]
|
| /openbsd/src/sys/arch/amd64/amd64/ |
| D | dkcsum.c | 55 struct device *dv; in dkcsumattach() local 90 TAILQ_FOREACH(dv, &alldevs, dv_list) { in dkcsumattach() 91 if (dv->dv_class != DV_DISK) in dkcsumattach() 93 bp->b_dev = dev = dev_rawpart(dv); in dkcsumattach() 107 dv->dv_xname, error); in dkcsumattach() 123 dv->dv_xname, error); in dkcsumattach() 129 dv->dv_xname, error); in dkcsumattach() 138 dv->dv_xname, error); in dkcsumattach() 145 printf("dkcsum: %s checksum is %#x\n", dv->dv_xname, csum); in dkcsumattach() 161 dv->dv_xname, bdi->bios_number, in dkcsumattach() [all …]
|
| D | conf.c | 390 int findblkmajor(struct device *dv); 394 dev_rawpart(struct device *dv) in dev_rawpart() argument 398 majdev = findblkmajor(dv); in dev_rawpart() 404 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
| /openbsd/src/sys/arch/i386/i386/ |
| D | dkcsum.c | 55 struct device *dv; in dkcsumattach() local 90 TAILQ_FOREACH(dv, &alldevs, dv_list) { in dkcsumattach() 91 if (dv->dv_class != DV_DISK) in dkcsumattach() 93 bp->b_dev = dev = dev_rawpart(dv); in dkcsumattach() 107 dv->dv_xname, error); in dkcsumattach() 123 dv->dv_xname, error); in dkcsumattach() 129 dv->dv_xname, error); in dkcsumattach() 138 dv->dv_xname, error); in dkcsumattach() 145 printf("dkcsum: %s checksum is %#x\n", dv->dv_xname, csum); in dkcsumattach() 161 dv->dv_xname, bdi->bios_number, in dkcsumattach() [all …]
|
| D | hibernate_machdep.c | 96 struct device *dv = disk_lookup(&sd_cd, DISKUNIT(dev)); in get_hibernate_io_function() local 112 if (dv && dv->dv_parent && dv->dv_parent->dv_parent) { in get_hibernate_io_function() 113 const char *driver = dv->dv_parent->dv_parent->dv_cfdata-> in get_hibernate_io_function()
|
| D | conf.c | 374 int findblkmajor(struct device *dv); 378 dev_rawpart(struct device *dv) in dev_rawpart() argument 382 majdev = findblkmajor(dv); in dev_rawpart() 388 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
| /openbsd/src/sys/arch/loongson/loongson/ |
| D | hibernate_machdep.c | 79 struct device *dv = disk_lookup(&sd_cd, DISKUNIT(dev)); in get_hibernate_io_function() local 82 if (dv && dv->dv_parent && dv->dv_parent->dv_parent && in get_hibernate_io_function() 83 strcmp(dv->dv_parent->dv_parent->dv_cfdata->cf_driver->cd_name, in get_hibernate_io_function() 88 if (dv && dv->dv_parent && dv->dv_parent->dv_parent && in get_hibernate_io_function() 89 strcmp(dv->dv_parent->dv_parent->dv_cfdata->cf_driver->cd_name, in get_hibernate_io_function()
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/ |
| D | 20020406-1.c | 65 int df, dg, du, dv; in DUPFFexgcd() local 86 dv = DUPFFdeg(v); in DUPFFexgcd() 87 lcvrecip = FFmul(1, v->coeffs[dv]); in DUPFFexgcd() 88 while (DUPFFdeg(u) >= dv) in DUPFFexgcd() 93 DUPFFshift_add(u, v, du-dv, p-q); in DUPFFexgcd() 94 DUPFFshift_add(uf, vf, du-dv, p-q); in DUPFFexgcd() 95 DUPFFshift_add(ug, vg, du-dv, p-q); in DUPFFexgcd()
|
| /openbsd/src/sys/kern/ |
| D | subr_disk.c | 1068 disk_attach(struct device *dv, struct disk *diskp) in disk_attach() argument 1102 diskp->dk_device = dv; in disk_attach() 1104 if (dv != NULL) { in disk_attach() 1105 majdev = findblkmajor(dv); in disk_attach() 1108 MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART); in disk_attach() 1116 device_ref(dv); in disk_attach() 1367 struct device *dv; in getdisk() local 1369 if ((dv = parsedisk(str, len, defpart, devp)) == NULL) { in getdisk() 1371 TAILQ_FOREACH(dv, &alldevs, dv_list) { in getdisk() 1372 if (dv->dv_class == DV_DISK) in getdisk() [all …]
|
| D | kern_intrmap.c | 176 intrmap_create(const struct device *dv, in intrmap_create() argument 180 unsigned int unit = dv->dv_unit; in intrmap_create() 241 intrmap_align(const struct device *dv, in intrmap_align() argument 244 unsigned int unit = dv->dv_unit; in intrmap_align() 255 intrmap_match(const struct device *dv, in intrmap_match() argument 258 unsigned int unit = dv->dv_unit; in intrmap_match() 272 intrmap_align(dv, im0, im1); in intrmap_match() 350 intrmap_one(const struct device *dv) in intrmap_one() argument 352 unsigned int unit = dv->dv_unit; in intrmap_one()
|
| D | subr_autoconf.c | 943 struct device *dv = NULL; in device_lookup() local 946 dv = (struct device *)(cd->cd_devs[unit]); in device_lookup() 948 if (!dv) in device_lookup() 951 if (!(dv->dv_flags & DVF_ACTIVE)) in device_lookup() 952 dv = NULL; in device_lookup() 954 if (dv != NULL) in device_lookup() 955 device_ref(dv); in device_lookup() 957 return (dv); in device_lookup() 993 device_ref(struct device *dv) in device_ref() argument 995 atomic_inc_int(&dv->dv_ref); in device_ref() [all …]
|
| /openbsd/src/sys/dev/usb/ |
| D | usbdi_util.c | 242 usb_detach_wait(struct device *dv) in usb_detach_wait() argument 244 DPRINTF(("%s: waiting for %s\n", __func__, dv->dv_xname)); in usb_detach_wait() 245 if (tsleep_nsec(dv, PZERO, "usbdet", SEC_TO_NSEC(60))) in usb_detach_wait() 246 printf("%s: %s didn't detach\n", __func__, dv->dv_xname); in usb_detach_wait() 247 DPRINTF(("%s: %s done\n", __func__, dv->dv_xname)); in usb_detach_wait() 251 usb_detach_wakeup(struct device *dv) in usb_detach_wakeup() argument 253 DPRINTF(("%s: for %s\n", __func__, dv->dv_xname)); in usb_detach_wakeup() 254 wakeup(dv); in usb_detach_wakeup()
|
| /openbsd/src/sys/arch/macppc/dev/ |
| D | daca.c | 135 struct device *dv; in daca_defer() local 137 TAILQ_FOREACH(dv, &alldevs, dv_list) in daca_defer() 138 if (strcmp(dv->dv_cfdata->cf_driver->cd_name, "kiic") == 0 && in daca_defer() 139 strcmp(dv->dv_parent->dv_cfdata->cf_driver->cd_name, "macobio") == 0) in daca_defer() 140 sc->sc_i2c = dv; in daca_defer()
|
| D | onyx.c | 151 struct device *dv; in onyx_defer() local 153 TAILQ_FOREACH(dv, &alldevs, dv_list) in onyx_defer() 154 if (strcmp(dv->dv_cfdata->cf_driver->cd_name, "kiic") == 0 && in onyx_defer() 155 strcmp(dv->dv_parent->dv_cfdata->cf_driver->cd_name, "macobio") == 0) in onyx_defer() 156 sc->sc_i2c = dv; in onyx_defer()
|
| D | tumbler.c | 280 struct device *dv; in tumbler_defer() local 282 TAILQ_FOREACH(dv, &alldevs, dv_list) in tumbler_defer() 283 if (strcmp(dv->dv_cfdata->cf_driver->cd_name, "kiic") == 0 && in tumbler_defer() 284 strcmp(dv->dv_parent->dv_cfdata->cf_driver->cd_name, "macobio") == 0) in tumbler_defer() 285 sc->sc_i2c = dv; in tumbler_defer()
|
| D | snapper.c | 467 struct device *dv; in snapper_defer() local 469 TAILQ_FOREACH(dv, &alldevs, dv_list) in snapper_defer() 470 if (strcmp(dv->dv_cfdata->cf_driver->cd_name, "kiic") == 0 && in snapper_defer() 471 strcmp(dv->dv_parent->dv_cfdata->cf_driver->cd_name, "macobio") == 0) in snapper_defer() 472 sc->sc_i2c = dv; in snapper_defer()
|
| /openbsd/src/sys/arch/landisk/landisk/ |
| D | autoconf.c | 68 struct device *dv; in diskconf() local 71 dv = parsedisk("wd0a", strlen("wd0a"), 0, &tmpdev); in diskconf() 72 setroot(dv, 0, RB_USERREQ); in diskconf()
|
| /openbsd/src/usr.sbin/ldapd/ |
| D | validate.c | 105 char *sup_dn, *na, *dv, *p; in validate_dn() local 128 dv = p + 1; in validate_dn() 129 p = dv + strcspn(dv, "+,"); in validate_dn() 130 if (p == dv) { in validate_dn() 161 if (ldap_find_value(vals->be_next, dv) == NULL) { in validate_dn() 163 " in naming attribute %s", dv, na); in validate_dn()
|
| /openbsd/src/lib/libcrypto/bn/ |
| D | bn_recp.c | 108 BN_div_reciprocal(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, in BN_div_reciprocal() argument 115 if (dv != NULL) in BN_div_reciprocal() 116 BN_zero(dv); in BN_div_reciprocal() 128 if ((d = dv) == NULL) in BN_div_reciprocal()
|
| /openbsd/src/sbin/isakmpd/ |
| D | ipsec.c | 1286 u_int16_t dv = decode_16(value); in ipsec_is_attribute_incompatible() local 1291 return !crypto_get(from_ike_crypto(dv)); in ipsec_is_attribute_incompatible() 1293 return !hash_get(from_ike_hash(dv)); in ipsec_is_attribute_incompatible() 1295 return !ike_auth_get(dv); in ipsec_is_attribute_incompatible() 1297 return (dv < IKE_GROUP_DESC_MODP_768 || in ipsec_is_attribute_incompatible() 1298 dv > IKE_GROUP_DESC_MODP_1536) && in ipsec_is_attribute_incompatible() 1299 (dv < IKE_GROUP_DESC_MODP_2048 || in ipsec_is_attribute_incompatible() 1300 dv > IKE_GROUP_DESC_ECP_521) && in ipsec_is_attribute_incompatible() 1301 (dv < IKE_GROUP_DESC_ECP_192 || in ipsec_is_attribute_incompatible() 1302 dv > IKE_GROUP_DESC_BP_512); in ipsec_is_attribute_incompatible() [all …]
|
| /openbsd/src/sys/arch/riscv64/riscv64/ |
| D | conf.c | 336 int findblkmajor(struct device *dv); 340 dev_rawpart(struct device *dv) in dev_rawpart() argument 344 majdev = findblkmajor(dv); in dev_rawpart() 350 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
| /openbsd/src/sys/arch/arm64/arm64/ |
| D | conf.c | 338 int findblkmajor(struct device *dv); 342 dev_rawpart(struct device *dv) in dev_rawpart() argument 346 majdev = findblkmajor(dv); in dev_rawpart() 352 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART)); in dev_rawpart()
|
| /openbsd/src/etc/examples/ |
| D | remote | 14 :dv=/dev/cua00:tc=unixhost: 17 :dv=/dev/cuaa:tc=unixhost:
|
| /openbsd/src/usr.bin/mandoc/ |
| D | term.c | 369 size_t dv; /* Visual width of the current character. */ in term_field() local 397 dv = term_tab_next(vt) - vt; in term_field() 399 dv = (*p->width)(p, ' '); in term_field() 400 vbl += dv; in term_field() 401 vis += dv; in term_field() 422 dv = (*p->width)(p, p->tcol->buf[ic - 1]); in term_field() 423 p->viscol -= dv; in term_field() 424 vis -= dv; in term_field() 426 dv = (*p->width)(p, p->tcol->buf[ic]); in term_field() 427 p->viscol += dv; in term_field() [all …]
|