HomeSort by: relevance | last modified time | path
    Searched defs:dh (Results 1 - 19 of 19) sorted by relevancy

  /src/sys/arch/sun3/dev/
si.c 262 struct si_dma_handle *dh; local
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
    [all...]
si_obio.c 280 struct si_dma_handle *dh = sr->sr_dma_hand; local
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
399 if (dh->dh_flags & SIDH_OUT) {
438 struct si_dma_handle *dh = sr->sr_dma_hand local
    [all...]
si_vme.c 321 struct si_dma_handle *dh = sr->sr_dma_hand; local
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
404 if (dh->dh_flags & SIDH_OUT) {
446 struct si_dma_handle *dh = sr->sr_dma_hand; local
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
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
406 if (dh->dh_flags & SIDH_OUT) {
448 struct se_dma_handle *dh = sr->sr_dma_hand local
566 struct se_dma_handle *dh; local
636 struct se_dma_handle *dh = sr->sr_dma_hand; local
    [all...]
  /src/usr.bin/cvslatest/
cvslatest.c 175 FTS *dh; local
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/alpha/pci/
pci_swiz_bus_mem_chipdep.c 670 bus_space_handle_t dh = 0, sh = 0; /* XXX -Wuninitialized */ local
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
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
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
685 struct sbc_pdma_handle *dh = sr->sr_dma_hand; local
733 struct sbc_pdma_handle *dh = sr->sr_dma_hand; local
776 struct sbc_pdma_handle *dh = sr->sr_dma_hand; local
    [all...]
  /src/sys/arch/vax/vsa/
ncr.c 255 struct si_dma_handle *dh; local
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
307 if (dh->dh_flags & SIDH_BUSY
342 struct si_dma_handle *dh = sr->sr_dma_hand; local
403 struct si_dma_handle *dh = sr->sr_dma_hand; local
    [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
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
689 struct sw_dma_handle *dh = sr->sr_dma_hand; local
823 struct sw_dma_handle *dh = sr->sr_dma_hand; local
    [all...]
  /src/sys/dev/vme/
si.c 127 #define SIDH_BUSY 0x01 /* This DH is in use */
453 struct si_dma_handle *dh; local
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
654 struct si_dma_handle *dh = sr->sr_dma_hand; local
726 struct si_dma_handle *dh = sr->sr_dma_hand; local
794 struct si_dma_handle *dh = sr->sr_dma_hand; local
    [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
172 memreqd = sizeof(*dh) + narrays * sizeof(*dh->dh_hash)
295 struct dirhash *dh; local
343 struct dirhash *dh, *dh_next; local
518 struct dirhash *dh; local
605 struct dirhash *dh; local
640 struct dirhash *dh; local
688 struct dirhash *dh; local
724 struct dirhash *dh; local
752 struct dirhash *dh; local
788 struct dirhash *dh; local
846 struct dirhash *dh; local
1066 struct dirhash *dh; local
    [all...]
  /src/sys/ufs/ufs/
ufs_dirhash.c 83 static int ufsdirhash_hash(struct dirhash *dh, const char *name, int namelen);
84 static void ufsdirhash_adjfree(struct dirhash *dh, doff_t offset, int diff,
86 static void ufsdirhash_delslot(struct dirhash *dh, int slot);
87 static int ufsdirhash_findslot(struct dirhash *dh, const char *name,
98 #define DIRHASH_LOCK(dh) mutex_enter(&(dh)->dh_lock)
99 #define DIRHASH_UNLOCK(dh) mutex_exit(&(dh)->dh_lock)
128 struct dirhash *dh; local
171 memreqd = sizeof(*dh) + narrays * sizeof(*dh->dh_hash)
293 struct dirhash *dh; local
338 struct dirhash *dh, *dh_next; local
513 struct dirhash *dh; local
601 struct dirhash *dh; local
635 struct dirhash *dh; local
682 struct dirhash *dh; local
717 struct dirhash *dh; local
744 struct dirhash *dh; local
780 struct dirhash *dh; local
837 struct dirhash *dh; local
1053 struct dirhash *dh; local
    [all...]
  /src/sys/dev/ic/
sunscpal.c 346 sunscpal_dma_handle_t dh = sr->sr_dma_hand; local
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
2194 sunscpal_dma_handle_t dh = sr->sr_dma_hand; local
2225 sunscpal_dma_handle_t dh = sr->sr_dma_hand; local
    [all...]
  /src/sys/dev/qbus/
if_dmc.c 562 struct dmc_header *dh; local
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
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::__anon5125
  /src/sys/netinet/
dccp_usrreq.c 188 struct dccphdr *dh; local
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
1116 struct dccphdr *dh; local
    [all...]
  /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
108 if ((dh = DH_new()) == NULL)
114 if (!DH_set0_pqg(dh, p, NULL, g))
116 return dh;
118 DH_free(dh);
  /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
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
1092 struct mvxpsec_descriptor_handle *dh; local
    [all...]
  /src/sys/fs/nfs/client/
nfs_clstate.c 2444 struct nfscldeleghead dh; local
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);

Completed in 31 milliseconds