/freebsd-11-stable/stand/i386/libi386/ |
H A D | biosdisk.c | 196 bdinfo_t *bd = NULL; local 201 return (bd); 204 STAILQ_FOREACH(bd, bdi, bd_link) { 206 return (bd); 209 return (bd); 219 bdinfo_t *bd; local 225 STAILQ_FOREACH(bd, bdi[i], bd_link) { 226 if (bd->bd_unit == biosdev) { 227 DEBUG("bd unit %d is BIOS device 0x%x", unit, 228 bd 241 bdinfo_t *bd; local 291 bdinfo_t *bd; local 324 bdinfo_t *bd; local 364 bd_get_diskinfo_cd(struct bdinfo *bd) argument 431 bdinfo_t *bd; local 497 bd_get_diskinfo_std(struct bdinfo *bd) argument 530 bd_get_diskinfo_ext(struct bdinfo *bd) argument 586 bd_int13probe(bdinfo_t *bd) argument 681 bdinfo_t *bd; local 698 bdinfo_t *bd; local 787 bdinfo_t *bd; local 822 bdinfo_t *bd; local 867 bdinfo_t *bd; local 888 bdinfo_t *bd; local 920 bdinfo_t *bd; local 949 bdinfo_t *bd; local 1117 bd_edd_io(bdinfo_t *bd, daddr_t dblk, int blks, caddr_t dest, int dowrite) argument 1144 bd_chs_io(bdinfo_t *bd, daddr_t dblk, int blks, caddr_t dest, int dowrite) argument 1181 bd_io_workaround(bdinfo_t *bd) argument 1189 bd_io(struct disk_devdesc *dev, bdinfo_t *bd, daddr_t dblk, int blks, caddr_t dest, int dowrite) argument 1294 bdinfo_t *bd; local [all...] |
/freebsd-11-stable/usr.bin/netstat/ |
H A D | bpf.c | 80 bpf_flags(struct xbpf_d *bd, char *flagbuf) argument 83 *flagbuf++ = bd->bd_promisc ? 'p' : '-'; 84 *flagbuf++ = bd->bd_immediate ? 'i' : '-'; 85 *flagbuf++ = bd->bd_hdrcmplt ? '-' : 'f'; 86 *flagbuf++ = (bd->bd_direction == BPF_D_IN) ? '-' : 87 ((bd->bd_direction == BPF_D_OUT) ? 'o' : 's'); 88 *flagbuf++ = bd->bd_feedback ? 'b' : '-'; 89 *flagbuf++ = bd->bd_async ? 'a' : '-'; 90 *flagbuf++ = bd->bd_locked ? 'l' : '-'; 93 if (bd 112 struct xbpf_d *d, *bd, zerostat; local [all...] |
/freebsd-11-stable/sys/net/ |
H A D | bpfdesc.h | 111 #define BPFD_LOCK(bd) mtx_lock(&(bd)->bd_lock) 112 #define BPFD_UNLOCK(bd) mtx_unlock(&(bd)->bd_lock) 113 #define BPFD_LOCK_ASSERT(bd) mtx_assert(&(bd)->bd_lock, MA_OWNED) 115 #define BPF_PID_REFRESH(bd, td) (bd)->bd_pid = (td)->td_proc->p_pid 116 #define BPF_PID_REFRESH_CUR(bd) (bd) [all...] |
H A D | bpf.c | 2831 struct bpf_d *bd; local 2836 LIST_FOREACH(bd, &bp->bif_dlist, bd_next) { 2837 BPFD_LOCK(bd); 2838 bd->bd_rcount = 0; 2839 bd->bd_dcount = 0; 2840 bd->bd_fcount = 0; 2841 bd->bd_wcount = 0; 2842 bd->bd_wfcount = 0; 2843 bd->bd_zcopy = 0; 2844 BPFD_UNLOCK(bd); 2855 bpfstats_fill_xbpf(struct xbpf_d *d, struct bpf_d *bd) argument 2896 struct bpf_d *bd; local [all...] |
/freebsd-11-stable/sys/dev/cx/ |
H A D | if_cx.c | 321 bdrv_t *bd = b->sys; local 325 CX_LOCK (bd); 327 CX_UNLOCK (bd); 336 bdrv_t *bd = arg; local 337 cx_board_t *b = bd->board; 343 CX_LOCK (bd); 351 CX_UNLOCK (bd); 631 bdrv_t *bd = device_get_softc (dev); local 641 KASSERT ((bd != NULL), ("cx%d: NULL device softc\n", unit)); 644 bd 880 bdrv_t *bd = device_get_softc (dev); local 1009 bdrv_t *bd = d->board->sys; local 1053 bdrv_t *bd = d->board->sys; local 1221 bdrv_t *bd = d->board->sys; local 1440 bdrv_t *bd; local 1467 bdrv_t *bd; local 1483 bdrv_t *bd; local 1542 bdrv_t *bd = d->board->sys; local 1563 bdrv_t *bd; local 1970 bdrv_t *bd; local 2051 bdrv_t *bd; local 2119 bdrv_t *bd; local 2185 bdrv_t *bd; local 2208 bdrv_t *bd = d->board->sys; local 2264 bdrv_t *bd = d->board->sys; local 2401 bdrv_t *bd; local 2441 bdrv_t *bd; local 2473 bdrv_t *bd = d->board->sys; local [all...] |
/freebsd-11-stable/sys/dev/ctau/ |
H A D | if_ct.c | 113 struct _bdrv_t *bd; member in struct:_drv_t 221 CT_LOCK ((bdrv_t *)d->bd); 223 CT_UNLOCK ((bdrv_t *)d->bd); 234 bdrv_t *bd = ((drv_t *)b->chan->sys)->bd; local 237 CT_LOCK (bd); 239 CT_UNLOCK (bd); 248 bdrv_t *bd = arg; local 249 ct_board_t *b = bd->board; 255 CT_LOCK (bd); 531 bdrv_t *bd = device_get_softc (dev); local 757 bdrv_t *bd = device_get_softc (dev); local 856 bdrv_t *bd = d->bd; local 900 bdrv_t *bd = d->bd; local 1062 bdrv_t *bd = d->bd; local 1202 bdrv_t *bd; local 1229 bdrv_t *bd; local 1946 bdrv_t *bd = d->bd; local 2059 bdrv_t *bd; local 2102 bdrv_t *bd; local 2137 bdrv_t *bd; local [all...] |
/freebsd-11-stable/sys/dev/cp/ |
H A D | if_cp.c | 260 bdrv_t *bd = (bdrv_t *) b->sys; local 267 CP_LOCK (bd); 269 CP_UNLOCK (bd); 275 bdrv_t *bd = arg; local 276 cp_board_t *b = bd->board; 285 CP_LOCK (bd); 290 CP_UNLOCK (bd); 300 CP_UNLOCK (bd); 382 bdrv_t *bd = device_get_softc (dev); local 401 bd 538 bdrv_t *bd = device_get_softc (dev); local 646 bdrv_t *bd = d->board->sys; local 680 bdrv_t *bd = d->board->sys; local 851 bdrv_t *bd = d->board->sys; local 982 bdrv_t *bd = d->board->sys; local 1001 bdrv_t *bd = d->board->sys; local 1798 bdrv_t *bd = d->board->sys; local 2007 bdrv_t *bd = d->board->sys; local 2119 bdrv_t *bd = d->board->sys; local 2162 bdrv_t *bd = d->board->sys; local 2199 bdrv_t *bd = d->board->sys; local [all...] |
/freebsd-11-stable/tools/bus_space/examples/ |
H A D | am79c900_diag.py | 250 bd = bufdesc.from_address(addr_rxdesc + ctypes.sizeof(bufdesc) * i) 251 bd.buffer = busaddr + (addr_rxbufs - cpuaddr) + bufsize * i 252 bd.flags = (1 << 31) | (15 << 12) | (-bufsize & 0xfff) 253 bd.length = 0 254 bd._pad_ = 0 257 bd = bufdesc.from_address(addr_txdesc + ctypes.sizeof(bufdesc) * i) variable 258 bd.buffer = busaddr + (addr_txbufs - cpuaddr) + bufsize * i 259 bd.flags = (15 << 12) 260 bd.length = 0 261 bd 308 bd = bufdesc.from_address(addr_txdesc) variable 329 bd = bufdesc.from_address(addr_rxdesc + ctypes.sizeof(bufdesc) * i) variable [all...] |
/freebsd-11-stable/sys/dev/ce/ |
H A D | if_ce.c | 364 bdrv_t *bd = (bdrv_t *) b->sys; local 371 CE_LOCK (bd); 373 CE_UNLOCK (bd); 379 bdrv_t *bd = arg; local 380 ce_board_t *b = bd->board; 391 CE_LOCK (bd); 399 CE_UNLOCK (bd); 526 bdrv_t *bd = device_get_softc (dev); local 551 bd->dmamem.size = TAU32_ControllerObjectSize; 552 if (! ce_bus_dma_mem_alloc (unit, -1, &bd 751 bdrv_t *bd = device_get_softc (dev); local 860 bdrv_t *bd = d->board->sys; local 889 bdrv_t *bd = d->board->sys; local 1077 bdrv_t *bd = d->board->sys; local 1221 bdrv_t *bd = d->board->sys; local 1244 bdrv_t *bd = d->board->sys; local 2010 bdrv_t *bd = d->board->sys; local 2361 bdrv_t *bd = d->board->sys; local 2434 bdrv_t *bd = d->board->sys; local 2510 bdrv_t *bd = d->board->sys; local [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | tree-ssa-dse.c | 143 struct dse_block_local_data *bd local 150 if (bd->stores) 151 bitmap_clear (bd->stores); 229 struct dse_block_local_data *bd local 297 record_voperand_set (dse_gd->stores, &bd->stores, ann->uid); 359 record_voperand_set (dse_gd->stores, &bd->stores, ann->uid); 368 struct dse_block_local_data *bd local 376 &bd->stores, 384 struct dse_block_local_data *bd local 392 if (bd [all...] |
H A D | domwalk.c | 145 void *bd = NULL; local 173 bd = VEC_pop (void_p, walk_data->free_block_data); 178 bd = xcalloc (1, walk_data->block_local_data_size); 183 VEC_safe_push (void_p, heap, walk_data->block_data_stack, bd); 257 bd = VEC_pop (void_p, walk_data->block_data_stack); 259 VEC_safe_push (void_p, heap, walk_data->free_block_data, bd);
|
/freebsd-11-stable/sys/fs/nandfs/ |
H A D | nandfs_dat.c | 295 struct nandfs_bdesc *bd; local 300 bd = malloc(size, M_NANDFSTEMP, M_WAITOK); 301 error = copyin((void *)(uintptr_t)nargv->nv_base, bd, size); 303 free(bd, M_NANDFSTEMP); 307 error = nandfs_get_dat_bdescs(nffsdev, bd, nargv->nv_nmembs); 310 error = copyout(bd, (void *)(uintptr_t)nargv->nv_base, size); 312 free(bd, M_NANDFSTEMP); 317 nandfs_get_dat_bdescs(struct nandfs_device *nffsdev, struct nandfs_bdesc *bd, argument 331 ("%s: bd ino:%#jx oblk:%#jx blocknr:%#jx off:%#jx\n", 332 __func__, (uintmax_t)bd[ [all...] |
/freebsd-11-stable/sys/arm/freescale/imx/ |
H A D | imx6_sdma.c | 82 struct sdma_buffer_descriptor *bd; local 105 bd = &channel->bd[j]; 106 bd->mode.status |= BD_DONE; 107 if (bd->mode.status & BD_RROR) 183 channel->bd = (void *)kmem_alloc_contig(kernel_arena, 201 kmem_free(kernel_arena, (vm_offset_t)channel->bd, 244 struct sdma_buffer_descriptor *bd; local 275 bd = &channel->bd[ [all...] |
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | multc3.c | 21 long double bd = b * d; local 25 __real__ z = ac - bd; 48 (crt_isinf(ac) || crt_isinf(bd) || crt_isinf(ad) || crt_isinf(bc))) {
|
/freebsd-11-stable/sys/arm/include/ |
H A D | db_machdep.h | 90 #define next_instr_address(pc, bd) ((bd) ? (pc) : ((pc) + INSN_SIZE))
|
/freebsd-11-stable/sys/riscv/include/ |
H A D | db_machdep.h | 84 #define next_instr_address(pc, bd) ((bd) ? (pc) : ((pc) + 4))
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/ppc/ |
H A D | multc3.c | 25 long double bd = __gcc_qmul(b, d); local 29 DD real = {.ld = __gcc_qsub(ac, bd)}; 58 DD bdDD = {.ld = bd};
|
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_mo.c | 608 gss_buffer_desc bd; local 609 bd.value = rk_UNCONST(ma->name); 610 bd.length = strlen(ma->name); 611 major = _gss_copy_buffer(minor_status, &bd, name); 617 gss_buffer_desc bd; local 618 bd.value = rk_UNCONST(ma->short_desc); 619 bd.length = strlen(ma->short_desc); 620 major = _gss_copy_buffer(minor_status, &bd, short_desc); 626 gss_buffer_desc bd; local 627 bd [all...] |
/freebsd-11-stable/sys/dev/drm/ |
H A D | savage_drv.h | 409 #define BCI_BD_GET_BPP(bd) (((bd) >> 16) & 0xFF) 410 #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16)) 411 #define BCI_BD_GET_STRIDE(bd) ((bd) & 0xFFFF) 412 #define BCI_BD_SET_STRIDE(bd, st) ((bd) |= ((st) & 0xFFFF))
|
/freebsd-11-stable/sys/arm64/include/ |
H A D | db_machdep.h | 119 #define next_instr_address(pc, bd) ((bd) ? (pc) : ((pc) + 4))
|
/freebsd-11-stable/tools/test/sort/regression/ |
H A D | Makefile | 7 OPTIONS= r f fr fs fu i ir b bs bd bu g gs gu gr n nr M Mr u nu ns
|
/freebsd-11-stable/sys/arm/ti/cpsw/ |
H A D | if_cpsw.c | 427 struct cpsw_cpdma_bd bd; local 431 cpsw_cpdma_read_bd(sc, slot, &bd); 433 cpsw_cpdma_bd_paddr(sc, slot), bd.next); 434 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen); 435 printf(" BufOff: 0x%08x PktLen: 0x%08x\n", bd.bufoff, bd.pktlen); 439 if (bd.flags & (1 << (15 - i))) { 1587 struct cpsw_cpdma_bd bd; local 1602 cpsw_cpdma_read_bd(sc, slot, &bd); 1714 struct cpsw_cpdma_bd bd; local 1825 struct cpsw_cpdma_bd bd; local 1971 struct cpsw_cpdma_bd bd; local [all...] |
/freebsd-11-stable/sys/dev/drm2/radeon/ |
H A D | radeon_legacy_encoders.c | 316 static uint8_t radeon_legacy_lvds_level(struct backlight_device *bd) argument 318 struct radeon_backlight_privdata *pdata = bl_get_data(bd); 322 if (bd->props.brightness < 0) 324 else if (bd->props.brightness > RADEON_MAX_BL_LEVEL) 327 level = bd->props.brightness; 335 static int radeon_legacy_backlight_update_status(struct backlight_device *bd) argument 337 struct radeon_backlight_privdata *pdata = bl_get_data(bd); 341 radeon_legacy_lvds_level(bd)); 346 static int radeon_legacy_backlight_get_brightness(struct backlight_device *bd) argument 348 struct radeon_backlight_privdata *pdata = bl_get_data(bd); 370 struct backlight_device *bd; local 458 struct backlight_device *bd = NULL; local [all...] |
/freebsd-11-stable/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_def.h | 90 /* rx_buf is a data buffer that can be placed /consumed from rx bd 93 * buffer on the rx-bd-ring when we receive TPA_START. We don't want 97 * The second purpose is to keep a pointer to the bd buffer during 171 #define BD_UNMAP_ADDR(bd) HILO_U64(le32toh((bd)->addr.hi), \ 172 le32toh((bd)->addr.lo)) 173 #define BD_UNMAP_LEN(bd) (le16toh((bd)->nbytes)) 175 #define BD_SET_UNMAP_ADDR_LEN(bd, maddr, len) \ 177 (bd) [all...] |
/freebsd-11-stable/stand/pc98/libpc98/ |
H A D | biosdisk.c | 104 static int bd_int13probe(struct bdinfo *bd); 138 DEBUG("bd unit %d is BIOS device 0x%x", i, bdinfo[i].bd_unit); 212 bd_int13probe(struct bdinfo *bd) argument 216 if (bd->bd_flags & BD_FLOPPY) { 219 if ((bd->bd_unit & 0xf0) == 0x80) 224 if ( *(u_char *)PTOV(addr) & (1<<(bd->bd_unit & 0x0f))) { 225 bd->bd_flags |= BD_MODEINT13; 228 if ((bd->bd_unit & 0xF0) == 0xA0) { 230 ((unsigned *)PTOV(0xA1460))[bd->bd_unit & 0x0F] & 0x1F; 233 bd [all...] |