| /src/sys/compat/common/ |
| bio_30.c | 61 struct bioc_disk *bd = kmem_zalloc(sizeof(*bd), KM_SLEEP); local 63 (void)memcpy(bd, addr, sizeof(struct obioc_disk)); 64 error = (*delegate)(cookie, BIOCDISK, bd); 66 kmem_free(bd, sizeof(*bd)); 70 (void)memcpy(addr, bd, sizeof(struct obioc_disk)); 71 kmem_free(bd, sizeof(*bd));
|
| /src/sys/external/bsd/compiler_rt/dist/lib/builtins/ |
| multc3.c | 24 long double bd = b * d; local 28 __real__ z = ac - bd; 50 if (!recalc && (crt_isinf(ac) || crt_isinf(bd) ||
|
| /src/sys/external/bsd/drm2/include/drm/ |
| drm_sysctl.h | 33 const void *bp, *ep, *bd, *ed; member in struct:drm_sysctl_def
|
| /src/sys/external/bsd/compiler_rt/dist/lib/builtins/ppc/ |
| multc3.c | 24 long double bd = __gcc_qmul(b,d); local 28 DD real = { .ld = __gcc_qsub(ac,bd) }; 61 DD bdDD = { .ld = bd };
|
| /src/sys/arch/alpha/alpha/ |
| autoconf.c | 263 static struct bootdev_data bd; local 300 bd.protocol = boot_fields[0]; 301 bd.bus = atoi(boot_fields[1]); 302 bd.slot = atoi(boot_fields[2]); 303 bd.channel = atoi(boot_fields[3]); 304 bd.remote_address = boot_fields[4]; 305 bd.unit = atoi(boot_fields[5]); 306 bd.boot_dev_type = atoi(boot_fields[6]); 307 bd.ctrl_dev_type = boot_fields[7]; 311 bd.protocol, bd.bus, bd.slot, bd.channel) [all...] |
| /src/sys/arch/arc/arc/ |
| autoconf.c | 180 static struct bootdev_data bd; local 192 bd.dev_type = dp->dev; 193 ok = getpno(&cp, &bd.bus); 198 bd.dev_type = "sd"; 199 ok = getpno(&cp, &bd.bus); 204 ok = getpno(&cp, &bd.unit); 206 bd.unit = 0; 214 if (ok && getpno(&cp, &bd.partition)) 215 --bd.partition; 218 bd.partition = 0 [all...] |
| /src/sys/arch/hppa/stand/common/ |
| pdc.c | 86 struct bootdata bd; variable in typeref:struct:bootdata
|
| /src/sys/dev/wscons/ |
| wsemul_vt100var.h | 32 struct vt100base_data bd; member in struct:wsemul_vt100_emuldata
|
| wsdisplay_compat_usl.c | 385 struct wskbd_bell_data bd; local 481 bd.which = WSKBD_BELL_DOPERIOD; 482 bd.period = d >> 16; /* ms */ 485 bd.which = 0; 487 bd.which |= WSKBD_BELL_DOPITCH; 488 bd.pitch = PCVT_SYSBEEPF/(d & 0xffff); /* Hz */ 491 bd.which = 0; /* default */ 493 arg = &bd;
|
| /src/games/hack/ |
| hack.read.c | 245 int bd = confused ? 5 : 1; local 248 for (i = -bd; i <= bd; i++) 249 for (j = -bd; j <= bd; j++)
|
| /src/lib/libc/gdtoa/ |
| strtod.c | 107 Bigint *bd = NULL, *bs = NULL, *delta = NULL; /* pacify gcc */ local 483 Bfree(bd); 572 /* Put digits into bd: true value = bd * 10^e */ 579 bd = Balloc(bd0->k); 580 if (bd == NULL) 582 Bcopy(bd, bd0); 666 bd = pow5mult(bd, bd5); 667 if (bd == NULL [all...] |
| strtodg.c | 341 Bigint *ab, *bb, *bb1, *bd, *bd0, *bs, *delta, *rvb, *rvb0; local 712 /* Put digits into bd: true value = bd * 10^e */ 717 bd = Balloc(bd0->k); 718 if (bd == NULL) 720 Bcopy(bd, bd0); 777 bd = pow5mult(bd, bd5); 778 if (bd == NULL) 782 bd = lshift(bd, bd2) [all...] |
| /src/sys/arch/vax/boot/boot/ |
| if_ni.c | 328 struct ni_bbd *bd; local 339 bd = &bbd[idx]; 340 bd->nb_pte = (int)&syspte[allocbase>>9]; 342 bd->nb_len = 2048; 343 bd->nb_status = NIBD_VALID; 344 bd->nb_key = 1; 346 data->bufs[0]._len = bd->nb_len; 450 struct ni_bbd *bd; local 465 bd = &bbd[idx]; 470 bd->nb_pte = (int)&syspte[data->nd_cmdref>>9] [all...] |
| /src/sys/dev/ic/ |
| cac.c | 619 struct bioc_disk *bd; local 638 bd = (struct bioc_disk *)addr; 639 if (bd->bd_volid > sc->sc_nunits) {
|
| ciss.c | 1390 struct bioc_disk *bd; local 1420 bd = (struct bioc_disk *)addr; 1421 bd->bd_volid = 0; 1422 bd->bd_disknovol = true; 1425 bd = (struct bioc_disk *)addr; 1426 if (bd->bd_volid < 0 || bd->bd_volid > sc->maxunits) { 1431 if (!ldp || (pd = bd->bd_diskid) < 0 || pd > ldp->ndrives) { 1436 if ((error = ciss_ldstat(sc, bd->bd_volid, ldstat))) { 1439 bd->bd_status = -1 [all...] |
| /src/sbin/bioctl/ |
| bioctl.c | 345 struct bioc_disk bd; local 349 memset(&bd, 0, sizeof(bd)); 350 bd.bd_cookie = bl.bl_cookie; 351 bd.bd_diskid = bt->diskid; 352 bd.bd_volid = bt->volid; 355 if (ioctl(bt->fd, BIOCDISK_NOVOL, &bd) == -1) 357 if (!bd.bd_disknovol) 360 if (ioctl(bt->fd, BIOCDISK, &bd) == -1) 364 switch (bd.bd_status) 693 struct bioc_disk bd; local 939 struct bioc_disk bd; local [all...] |
| /src/sys/dev/bi/ |
| if_ni.c | 576 struct ni_bbd *bd; local 594 bd = &bbd[idx]; 600 bd->nb_len = (m->m_ext.ext_size - 2); 601 bd->nb_pte = 603 bd->nb_status = 2 | NIBD_VALID; 604 bd->nb_key = 1; 760 struct ni_bbd *bd = &bbd[idx]; local 774 bd->nb_len = (m->m_ext.ext_size - 2); 775 bd->nb_pte = (long)kvtopte(m->m_ext.ext_buf); 776 bd->nb_status = 2 | NIBD_VALID [all...] |
| /src/sys/arch/m68k/m68k/ |
| db_disasm.c | 2329 int disp, odisp, bd, od, reg; local 2434 bd = BITFIELD(ext,5,4); 2436 if (bd == 1) 2438 else if (bd == 2) { 2459 * We set od and bd to zero, these values are 2463 * `bd' and `od'. 2466 bd = 0; 2476 bd == 2 ? SIZE_WORD : 2477 bd == 3 ? SIZE_LONG : 2480 if (bd && ISBITSET(ext,7)) 2534 int disp, odisp, bd, od, reg; local [all...] |
| /src/sys/arch/usermode/dev/ |
| vncfb.c | 633 struct wskbd_bell_data *bd; local 640 bd = data; 641 vncfb_kbd_bell(priv, bd->pitch, bd->period, bd->volume);
|
| /src/sys/arch/x86/pci/ |
| pci_machdep.c | 1243 bool bd; local 1244 if (prop_dictionary_get_bool(prop, "is-virtio-bootdev", &bd) && bd)
|
| /src/sys/dev/pci/ |
| if_ipwvar.h | 42 struct ipw_bd *bd; member in struct:ipw_soft_bd
|
| ahd_pci.c | 326 struct ahd_pci_busdata *bd; local 340 bd = malloc(sizeof (struct ahd_pci_busdata), M_DEVBUF, M_WAITOK|M_ZERO); 341 bd->pc = pa->pa_pc; 342 bd->tag = pa->pa_tag; 343 bd->func = pa->pa_function; 344 bd->dev = pa->pa_device; 346 ahd->bus_data = bd; 394 &bd->pcix_off, NULL)) { 577 struct ahd_pci_busdata *bd = ahd->bus_data; local 589 cmd = pci_conf_read(bd->pc, bd->tag, PCI_COMMAND_STATUS_REG) 807 struct ahd_pci_busdata *bd = ahd->bus_data; local 958 struct ahd_pci_busdata *bd = ahd->bus_data; local 1019 struct ahd_pci_busdata *bd = ahd->bus_data; local [all...] |
| arcmsr.c | 1405 arc_bio_disk_novol(struct arc_softc *sc, struct bioc_disk *bd) 1413 if (bd->bd_diskid >= sc->sc_cchans) { 1419 request[1] = bd->bd_diskid; 1430 bd->bd_disknovol = true; 1431 arc_bio_disk_filldata(sc, bd, diskinfo, bd->bd_diskid); 1439 arc_bio_disk_filldata(struct arc_softc *sc, struct bioc_disk *bd, 1452 bd->bd_status = BIOC_SDFAILED; 1455 bd->bd_status = BIOC_SDPASSTHRU; 1458 bd->bd_status = BIOC_SDONLINE 1899 struct bioc_disk bd; local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| amdgpu_atombios_encoders.c | 128 static u8 amdgpu_atombios_encoder_backlight_level(struct backlight_device *bd) 133 if (bd->props.brightness < 0) 135 else if (bd->props.brightness > AMDGPU_MAX_BL_LEVEL) 138 level = bd->props.brightness; 143 static int amdgpu_atombios_encoder_update_backlight_status(struct backlight_device *bd) 145 struct amdgpu_backlight_privdata *pdata = bl_get_data(bd); 149 amdgpu_atombios_encoder_backlight_level(bd)); 155 amdgpu_atombios_encoder_get_backlight_brightness(struct backlight_device *bd) 157 struct amdgpu_backlight_privdata *pdata = bl_get_data(bd); 175 struct backlight_device *bd; local 238 struct backlight_device *bd = NULL; local [all...] |
| /src/sys/arch/arm/ti/ |
| if_cpsw.c | 613 struct cpsw_cpdma_bd bd; local 614 uint32_t * const dw = bd.word; 695 cpsw_set_txdesc(sc, sc->sc_txnext, &bd); 707 cpsw_set_txdesc(sc, sc->sc_txnext, &bd); 845 struct cpsw_cpdma_bd bd; local 846 uint32_t * const dw = bd.word; 889 cpsw_set_rxdesc(sc, i, &bd); 1154 struct cpsw_cpdma_bd bd; local 1155 const uint32_t * const dw = bd.word; 1176 cpsw_get_rxdesc(sc, i, &bd); 1244 struct cpsw_cpdma_bd bd; local [all...] |