HomeSort by: relevance | last modified time | path
    Searched refs:dh (Results 1 - 25 of 53) sorted by relevancy

1 2 3

  /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...]
ulfs_dirhash.h 82 #define DH_ENTRY(dh, slot) \
83 ((dh)->dh_hash[(slot) >> DH_BLKOFFSHIFT][(slot) & DH_BLKOFFMASK])
  /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...]
dirhash.h 81 #define DH_ENTRY(dh, slot) \
82 ((dh)->dh_hash[(slot) >> DH_BLKOFFSHIFT][(slot) & DH_BLKOFFMASK])
  /src/tests/crypto/libcrypto/dh/
Makefile 5 HELPER_DIR= 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/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/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_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...]
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...]
  /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/ebus/
cs4231_ebus.c 286 cs4231_ebus_dma_reset(bus_space_tag_t dt, bus_space_handle_t dh)
292 bus_space_write_4(dt, dh, EBUS_DMAC_DCSR, EBDMA_RESET | EBDMA_TC);
295 csr = bus_space_read_4(dt, dh, EBUS_DMAC_DCSR);
307 bus_space_write_4(dt, dh, EBUS_DMAC_DCSR, csr & ~EBDMA_RESET);
314 bus_space_handle_t dh)
321 bus_space_write_4(dt, dh, EBUS_DMAC_DNBR, (u_int32_t)dmasize);
322 bus_space_write_4(dt, dh, EBUS_DMAC_DNAR, (u_int32_t)dmaaddr);
327 * Trigger transfer "t" using DMA controller at "dt"/"dh".
335 bus_space_handle_t dh,
353 ret = cs4231_ebus_dma_reset(dt, dh);
    [all...]
  /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/arch/i386/stand/lib/
biosgetrtc.S 52 movb %dh, 2(%eax)
  /src/sys/crypto/blowfish/arch/i386/
bf_enc_586.S 92 movb %dh, %cl
112 movb %dh, %cl
132 movb %dh, %cl
152 movb %dh, %cl
172 movb %dh, %cl
192 movb %dh, %cl
212 movb %dh, %cl
232 movb %dh, %cl
252 movb %dh, %cl
272 movb %dh, %c
    [all...]
bf_enc_686.S 109 movb %dh, %al
115 movb %dh, %al
147 movb %dh, %al
153 movb %dh, %al
185 movb %dh, %al
191 movb %dh, %al
223 movb %dh, %al
229 movb %dh, %al
261 movb %dh, %al
267 movb %dh, %a
    [all...]
  /src/tests/crypto/libcrypto/
t_pubkey.sh 39 atf_test_case dh
105 atf_add_test_case dh
Makefile 5 SUBDIR+=bf bn cast conf des dh dsa ec engine evp hmac \
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_rect.h 97 * @dh: vertical adjustment
100 * and by @dh in the vertical direction, while keeping the center
103 * Positive @dw and @dh increase the size, negative values decrease it.
105 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh)
108 r->y1 -= dh >> 1;
110 r->y2 += (dh + 1) >> 1;
  /src/share/man/man4/man4.vax/
Makefile 6 ddn.4 de.4 dh.4 dhu.4 dl.4 dmc.4 dmf.4 dmv.4 dmz.4 dn.4 dz.4 \
  /src/sys/crypto/des/arch/i386/
des_enc.S 139 movb %dh, %cl
148 movb %dh, %cl
176 movb %dh, %cl
185 movb %dh, %cl
213 movb %dh, %cl
222 movb %dh, %cl
250 movb %dh, %cl
259 movb %dh, %cl
287 movb %dh, %cl
296 movb %dh, %c
    [all...]
  /src/sys/arch/i386/stand/cdboot/
cdboot.S 154 movw $0x0080, %dx /* %dh = head number */
208 movw $0x0080, %dx /* %dh = head number */
228 movb $1, %dh /* Number of sectors to read */
246 movb %dl, %dh /* ... and load it to %dh */
281 movb %dl, %dh
301 * %dh = number of sectors to read
311 1: movb %dh, edd_nsecs
312 cmpb $MAX_SECTORS, %dh
319 push %dx /* bios shouldn't kill %dh, but ... *
    [all...]
  /src/lib/librefuse/
refuse.c 249 fill_dirbuf(struct puffs_fuse_dirh *dh, const char *name, ino_t dino,
254 if (dh->bufsize == 0) {
255 if ((dh->dbuf = calloc(1, DIR_CHUNKSIZE)) == NULL) {
258 dh->d = dh->dbuf;
259 dh->reslen = dh->bufsize = DIR_CHUNKSIZE;
262 if (puffs_nextdent(&dh->d, name, dino, dtype, &dh->reslen)) {
267 dh->dbuf = realloc(dh->dbuf, dh->bufsize + DIR_CHUNKSIZE)
    [all...]

Completed in 27 milliseconds

1 2 3