/src/sys/arch/sun3/dev/ |
si.c | 262 struct si_dma_handle *dh; local in function:si_dma_alloc 305 dh = &sc->sc_dma[i]; 306 dh->dh_flags = SIDH_BUSY; 311 dh->dh_dmaaddr = sc->sc_dmap->dm_segs[0].ds_addr; 312 dh->dh_dmalen = xlen; 316 dh->dh_flags |= SIDH_OUT; 318 bus_dmamap_sync(sc->sc_dmat, sc->sc_dmap, 0, dh->dh_dmalen, 319 (dh->dh_flags & SIDH_OUT) == 0 ? 331 dh->dh_flags |= SIDH_PHYS; 335 sr->sr_dma_hand = dh; 346 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_free [all...] |
si_obio.c | 280 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_obio_dma_setup 290 data_pa = dh->dh_dmaaddr; 293 xlen = dh->dh_dmalen; 298 printf("%s: dh=%p, pa=0x%lx, xlen=0x%x\n", 299 __func__, dh, data_pa, xlen); 311 if (dh->dh_flags & SIDH_OUT) { 349 if (dh->dh_flags & SIDH_OUT) { 379 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_obio_dma_start 399 if (dh->dh_flags & SIDH_OUT) { 438 struct si_dma_handle *dh = sr->sr_dma_hand local in function:si_obio_dma_stop [all...] |
si_vme.c | 321 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_vme_dma_setup 330 data_pa = dh->dh_dmaaddr; 333 xlen = dh->dh_dmalen; 339 printf("%s: dh=%p, pa=0x%lx, xlen=0x%x\n", 340 __func__, dh, data_pa, xlen); 345 if (dh->dh_flags & SIDH_OUT) { 384 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_vme_dma_start 404 if (dh->dh_flags & SIDH_OUT) { 446 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_vme_dma_stop 492 if (dh->dh_flags & SIDH_OUT [all...] |
si_sebuf.c | 85 #define SIDH_BUSY 1 /* This DH is in use */ 345 struct se_dma_handle *dh = sr->sr_dma_hand; local in function:se_dma_setup 354 data_pa = 0; /* XXX se_dma_kvtopa(dh->dh_dma); */ 355 data_pa += (ncr_sc->sc_dataptr - dh->dh_addr); 364 printf("%s: dh=%p, pa=0x%lx, xlen=0x%x\n", 365 __func__, dh, data_pa, xlen); 370 if (dh->dh_flags & SIDH_OUT) { 391 struct se_dma_handle *dh = sr->sr_dma_hand; local in function:se_dma_start 406 if (dh->dh_flags & SIDH_OUT) { 448 struct se_dma_handle *dh = sr->sr_dma_hand local in function:se_dma_stop 566 struct se_dma_handle *dh; local in function:se_dma_alloc 636 struct se_dma_handle *dh = sr->sr_dma_hand; local in function:se_dma_free [all...] |
/src/usr.bin/cvslatest/ |
cvslatest.c | 175 FTS *dh; local in function:cvsscan 181 dh = fts_open(pathv, FTS_PHYSICAL, NULL); 182 if (dh == NULL) 185 while ((entry = fts_read(dh)) != NULL) { 196 (void)fts_close(dh);
|
/src/sys/arch/vax/vsa/ |
ncr.c | 255 struct si_dma_handle *dh; local in function:si_dma_alloc 284 dh = &sc->ncr_dma[i]; 285 dh->dh_flags = SIDH_BUSY; 286 dh->dh_addr = ncr_sc->sc_dataptr; 287 dh->dh_len = xlen; 291 dh->dh_proc = xs->bp->b_proc; 296 dh->dh_flags |= SIDH_OUT; 298 sr->sr_dma_hand = dh; 305 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_free 307 if (dh->dh_flags & SIDH_BUSY 342 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_go 403 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_stop [all...] |
/src/sys/arch/alpha/pci/ |
pci_swiz_bus_mem_chipdep.c | 670 bus_space_handle_t dh = 0, sh = 0; /* XXX -Wuninitialized */ local in function:__C 754 if (didd && !__C(CHIP,_xlate_addr_to_dense_handle)(v, memaddr, &dh)) { 784 *memhp = dh; 935 bus_space_handle_t dh = 0, sh = 0; /* XXX -Wuninitialized */ local in function:__C 940 if (__C(CHIP,_xlate_addr_to_dense_handle)(v, addr + off, &dh)) { 942 dh = ALPHA_K0SEG_TO_PHYS(dh); 953 return (alpha_btop(dh));
|
/src/sys/arch/mac68k/dev/ |
sbc.c | 441 struct sbc_pdma_handle *dh = sr->sr_dma_hand; local in function:sbc_drq_intr 452 if (sbc_ready(ncr_sc) || dh->dh_len == 0) 458 device_xname(ncr_sc->sc_dev), dh->dh_len, dh->dh_flags); 473 if ((dh->dh_flags & SBC_DH_DONE) == 0) { 477 if ((count < 0) || (count > dh->dh_len)) { 480 dh->dh_len); 484 dh->dh_addr += count; 485 dh->dh_len -= count; 492 device_xname(ncr_sc->sc_dev), count, dh->dh_len) 640 struct sbc_pdma_handle *dh; local in function:sbc_dma_alloc 685 struct sbc_pdma_handle *dh = sr->sr_dma_hand; local in function:sbc_dma_free 733 struct sbc_pdma_handle *dh = sr->sr_dma_hand; local in function:sbc_dma_start 776 struct sbc_pdma_handle *dh = sr->sr_dma_hand; local in function:sbc_dma_stop [all...] |
/src/sys/ufs/lfs/ |
ulfs_dirhash.c | 82 static int ulfsdirhash_hash(struct dirhash *dh, const char *name, int namelen); 83 static void ulfsdirhash_adjfree(struct dirhash *dh, doff_t offset, int diff, 85 static void ulfsdirhash_delslot(struct dirhash *dh, int slot); 86 static int ulfsdirhash_findslot(struct dirhash *dh, const char *name, 97 #define DIRHASH_LOCK(dh) mutex_enter(&(dh)->dh_lock) 98 #define DIRHASH_UNLOCK(dh) mutex_exit(&(dh)->dh_lock) 130 struct dirhash *dh; local in function:ulfsdirhash_build 172 memreqd = sizeof(*dh) + narrays * sizeof(*dh->dh_hash) 295 struct dirhash *dh; local in function:ulfsdirhash_free 343 struct dirhash *dh, *dh_next; local in function:ulfsdirhash_lookup 518 struct dirhash *dh; local in function:ulfsdirhash_findfree 605 struct dirhash *dh; local in function:ulfsdirhash_enduseful 640 struct dirhash *dh; local in function:ulfsdirhash_add 688 struct dirhash *dh; local in function:ulfsdirhash_remove 724 struct dirhash *dh; local in function:ulfsdirhash_move 752 struct dirhash *dh; local in function:ulfsdirhash_newblk 788 struct dirhash *dh; local in function:ulfsdirhash_dirtrunc 846 struct dirhash *dh; local in function:ulfsdirhash_checkblock 1066 struct dirhash *dh; local in function:ulfsdirhash_recycle [all...] |
/src/sys/ufs/ufs/ |
ufs_dirhash.c | 81 static int ufsdirhash_hash(struct dirhash *dh, const char *name, int namelen); 82 static void ufsdirhash_adjfree(struct dirhash *dh, doff_t offset, int diff, 84 static void ufsdirhash_delslot(struct dirhash *dh, int slot); 85 static int ufsdirhash_findslot(struct dirhash *dh, const char *name, 96 #define DIRHASH_LOCK(dh) mutex_enter(&(dh)->dh_lock) 97 #define DIRHASH_UNLOCK(dh) mutex_exit(&(dh)->dh_lock) 126 struct dirhash *dh; local in function:ufsdirhash_build 169 memreqd = sizeof(*dh) + narrays * sizeof(*dh->dh_hash) 291 struct dirhash *dh; local in function:ufsdirhash_free 336 struct dirhash *dh, *dh_next; local in function:ufsdirhash_lookup 511 struct dirhash *dh; local in function:ufsdirhash_findfree 599 struct dirhash *dh; local in function:ufsdirhash_enduseful 633 struct dirhash *dh; local in function:ufsdirhash_add 680 struct dirhash *dh; local in function:ufsdirhash_remove 715 struct dirhash *dh; local in function:ufsdirhash_move 742 struct dirhash *dh; local in function:ufsdirhash_newblk 778 struct dirhash *dh; local in function:ufsdirhash_dirtrunc 835 struct dirhash *dh; local in function:ufsdirhash_checkblock 1051 struct dirhash *dh; local in function:ufsdirhash_recycle [all...] |
/src/sys/arch/sparc/dev/ |
sw.c | 148 #define SIDH_BUSY 0x01 /* This DH is in use */ 480 struct sw_dma_handle *dh; local in function:sw_dma_alloc 517 dh = &sc->sc_dma[i]; 518 dh->dh_flags = SIDH_BUSY; 519 dh->dh_addr = (u_char *)addr; 520 dh->dh_maplen = xlen; 524 dh->dh_flags |= SIDH_OUT; 532 if (bus_dmamap_load(sc->sc_dmatag, dh->dh_dmamap, 536 __func__, addr, dh->dh_maplen); 537 dh->dh_flags = 0 555 struct sw_dma_handle *dh = sr->sr_dma_hand; local in function:sw_dma_free 689 struct sw_dma_handle *dh = sr->sr_dma_hand; local in function:sw_dma_start 823 struct sw_dma_handle *dh = sr->sr_dma_hand; local in function:sw_dma_stop [all...] |
/src/sys/dev/vme/ |
si.c | 127 #define SIDH_BUSY 0x01 /* This DH is in use */ 453 struct si_dma_handle *dh; local in function:si_dma_alloc 490 dh = &sc->sc_dma[i]; 491 dh->dh_flags = SIDH_BUSY; 492 dh->dh_maplen = xlen; 496 dh->dh_flags |= SIDH_OUT; 504 if (bus_dmamap_load(sc->sc_dmatag, dh->dh_dmamap, 508 __func__, addr, dh->dh_maplen); 509 dh->dh_flags = 0; 512 bus_dmamap_sync(sc->sc_dmatag, dh->dh_dmamap, addr, xlen 527 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_free 654 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_setup 726 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_start 794 struct si_dma_handle *dh = sr->sr_dma_hand; local in function:si_dma_stop [all...] |
/src/sys/dev/ic/ |
sunscpal.c | 346 sunscpal_dma_handle_t dh = sr->sr_dma_hand; local in function:sunscpal_dma_stop 349 bus_dmamap_sync(sc->sunscpal_dmat, dh->dh_dmamap, 0, dh->dh_maplen, 860 SUNSCPAL_TRACE("done: dma_free, dh=0x%x\n", 1133 SUNSCPAL_TRACE("sched: dma_setup, dh=0x%x\n", 1607 SUNSCPAL_TRACE("data_xfer: dma_start, dh=0x%x\n", 1779 SUNSCPAL_TRACE("machine: dma_poll, dh=0x%x\n", 1786 SUNSCPAL_TRACE("machine: dma_stop, dh=0x%x\n", 1977 db_printf("dh=%p ", sr->sr_dma_hand); 2127 sunscpal_dma_handle_t dh; local in function:sunscpal_dma_alloc 2194 sunscpal_dma_handle_t dh = sr->sr_dma_hand; local in function:sunscpal_dma_free 2225 sunscpal_dma_handle_t dh = sr->sr_dma_hand; local in function:sunscpal_dma_setup [all...] |
/src/sys/dev/qbus/ |
if_dmc.c | 562 struct dmc_header *dh; local in function:dmcxint 610 dh = (struct dmc_header *)ifrw->ifrw_addr; 611 dh->dmc_type = ntohs((u_short)dh->dmc_type); 627 switch (dh->dmc_type) { 767 struct dmc_header *dh; local in function:dmcoutput 784 dh = (struct dmc_header *)dst->sa_data; 785 type = dh->dmc_type; 804 dh = mtod(m, struct dmc_header *); 805 dh->dmc_type = htons((u_short)type) [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
atom.h | 224 u16 dh; member in struct:nv50_wndw_atom::__anonf635598f1608
|
/src/usr.sbin/syslogd/ |
tls.c | 87 DH *get_dh1024(void); 88 /* DH parameter precomputed with "openssl dhparam -C -2 1024" */ 89 DH * 105 DH *dh; local in function:get_dh1024 108 if ((dh = DH_new()) == NULL) 114 if (!DH_set0_pqg(dh, p, NULL, g)) 116 return dh; 118 DH_free(dh);
|
/src/sys/netinet/ |
dccp_usrreq.c | 188 struct dccphdr *dh; local in function:dccp_input 227 M_REGION_GET(dh, struct dccphdr *, m, iphlen, sizeof(*dh)); 228 if (dh == NULL) { 253 M_REGION_GET(dh, struct dccphdr *, m, iphlen, sizeof(*dh)); 254 if (dh == NULL) { 259 dlh = (struct dccplhdr*)dh; 260 is_shortseq = !dh->dh_x; 270 dh->dh_cscov, dh->dh_off, dh->dh_type, dh->dh_res, ntohl(dh->dh_seq))) 932 struct dccphdr *dh; local in function:dccp_ctlinput 1116 struct dccphdr *dh; local in function:dccp_output [all...] |
/src/sys/fs/nfs/client/ |
nfs_clstate.c | 2444 struct nfscldeleghead dh; local in function:nfscl_renewthread 2518 TAILQ_INIT(&dh); 2574 TAILQ_INSERT_HEAD(&dh, dp, nfsdl_list); 2615 TAILQ_INSERT_HEAD(&dh, dp, nfsdl_list); 2711 TAILQ_FOREACH_SAFE(dp, &dh, nfsdl_list, ndp) { 2714 TAILQ_REMOVE(&dh, dp, nfsdl_list);
|
/src/sys/dev/marvell/ |
mvxpsec.c | 739 struct mvxpsec_descriptor_handle *dh) 757 mvxpsec_dma_setup(struct mvxpsec_descriptor_handle *dh, 762 desc = (struct mvxpsec_descriptor *)dh->_desc; 772 mvxpsec_dump_dmaq(dh); 795 struct mvxpsec_descriptor_handle *dh; local in function:mvxpsec_dma_copy0 797 dh = mvxpsec_dma_getdesc(sc); 798 if (dh == NULL) { 803 mvxpsec_dma_setup(dh, dst, src, size); 805 r->dma_head = dh; 806 r->dma_last = dh; 843 struct mvxpsec_descriptor_handle *dh; local in function:mvxpsec_dma_finalize 1092 struct mvxpsec_descriptor_handle *dh; local in function:mvxpsec_init_dma [all...] |