Home
last modified time | relevance | path

Searched refs:dv (Results 1 – 25 of 106) sorted by relevance

12345

/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp29 dv->addDomain(domain); in alloc()
32 return dv; in alloc()
74 if (LiveRegs[rx] == dv) in setLiveReg()
78 LiveRegs[rx] = retain(dv); in setLiveReg()
95 if (dv->isCollapsed()) in force()
98 collapse(dv, domain); in force()
102 collapse(dv, dv->getFirstDomain()); in force()
351 if (!dv) { in visitSoftInstr()
354 dv->AvailableDomains = dv->getCommonDomains(available); in visitSoftInstr()
375 if (!dv) { in visitSoftInstr()
[all …]
/openbsd/sys/dev/pv/
H A Dhypervic.c174 struct hv_ic_dev *dv; in hv_attach_icdevs() local
179 dv = &hv_ic_devs[i]; in hv_attach_icdevs()
193 dv->dv_ch = ch; 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()
280 if (dv->dv_buf == NULL) { in hv_heartbeat_attach()
291 struct hv_ic_dev *dv = arg; in hv_heartbeat() local
346 if (dv->dv_buf == NULL) { in hv_shutdown_attach()
416 if (dv->dv_buf == NULL) { in hv_timesync_attach()
779 if (dv->dv_buf == NULL) { in hv_kvp_attach()
[all …]
/openbsd/sys/arch/i386/i386/
H A Ddkcsum.c55 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()
173 dv->dv_xname); in dkcsumattach()
201 dv->dv_xname); in dkcsumattach()
[all …]
H A Dhibernate_machdep.c96 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()
H A Dconf.c374 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/sys/arch/amd64/amd64/
H A Ddkcsum.c55 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()
173 dv->dv_xname); in dkcsumattach()
201 dv->dv_xname); in dkcsumattach()
[all …]
H A Dconf.c390 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/sys/arch/loongson/loongson/
H A Dhibernate_machdep.c79 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/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20020406-1.c65 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/sys/kern/
H A Dsubr_disk.c1104 if (dv != NULL) { in disk_attach()
1116 device_ref(dv); in disk_attach()
1367 struct device *dv; in getdisk() local
1381 return (dv); in getdisk()
1387 struct device *dv; in parsedisk() local
1419 return (dv); in parsedisk()
1510 rootdv = dv; in setroot()
1517 rootdv = dv; in setroot()
1556 if (dv) { in setroot()
1837 if (dv == NULL) in disk_lookup()
[all …]
H A Dkern_intrmap.c176 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()
H A Dsubr_autoconf.c943 struct device *dv = NULL; in device_lookup() local
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()
1006 device_unref(struct device *dv) in device_unref() argument
[all …]
/openbsd/sys/arch/macppc/dev/
H A Ddaca.c135 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()
H A Donyx.c151 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()
H A Dtumbler.c280 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()
H A Dsnapper.c467 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/sys/dev/usb/
H A Dusbdi_util.c242 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/sys/arch/landisk/landisk/
H A Dautoconf.c68 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/usr.sbin/ldapd/
H A Dvalidate.c105 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/sbin/isakmpd/
H A Dipsec.c1286 u_int16_t dv = decode_16(value); in ipsec_is_attribute_incompatible() local
1295 return !ike_auth_get(dv); in ipsec_is_attribute_incompatible()
1302 dv > IKE_GROUP_DESC_BP_512); in ipsec_is_attribute_incompatible()
1317 dv > IKE_DURATION_KILOBYTES; in ipsec_is_attribute_incompatible()
1327 return dv % 8 != 0; in ipsec_is_attribute_incompatible()
1337 dv > IPSEC_DURATION_KILOBYTES; in ipsec_is_attribute_incompatible()
1346 dv > IKE_GROUP_DESC_BP_512); in ipsec_is_attribute_incompatible()
1348 return dv != IPSEC_ENCAP_TUNNEL && in ipsec_is_attribute_incompatible()
1349 dv != IPSEC_ENCAP_TRANSPORT && in ipsec_is_attribute_incompatible()
1355 return dv < IPSEC_AUTH_HMAC_MD5 || in ipsec_is_attribute_incompatible()
[all …]
/openbsd/sys/arch/arm64/arm64/
H A Dconf.c338 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/sys/arch/riscv64/riscv64/
H A Dconf.c336 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/etc/examples/
H A Dremote14 :dv=/dev/cua00:tc=unixhost:
17 :dv=/dev/cuaa:tc=unixhost:
/openbsd/lib/libcrypto/bn/
H A Dbn_recp.c136 BN_div_reciprocal(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, BN_RECP_CTX *recp, in BN_div_reciprocal() argument
145 if (dv != NULL) in BN_div_reciprocal()
146 d = dv; in BN_div_reciprocal()
/openbsd/usr.bin/mandoc/
H A Dterm.c369 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 …]

12345