Searched refs:mapp (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-10.0-release/usr.bin/tset/
H A Dmap.c75 MAP *mapp; local
79 mapp = malloc(sizeof(MAP));
80 if (copy == NULL || mapp == NULL)
82 mapp->next = NULL;
84 cur = maplist = mapp;
86 cur->next = mapp;
87 cur = mapp;
90 mapp->porttype = arg;
91 mapp->conditional = 0;
96 mapp
188 MAP *mapp; local
[all...]
/freebsd-10.0-release/contrib/ncurses/progs/
H A Dtset.c382 MAP *mapp; local
388 mapp = (MAP *) malloc(sizeof(MAP));
389 if (copy == 0 || mapp == 0)
391 mapp->next = 0;
393 cur = maplist = mapp;
395 cur->next = mapp;
396 cur = mapp;
399 mapp->porttype = arg;
400 mapp->conditional = 0;
405 mapp
502 MAP *mapp; local
[all...]
/freebsd-10.0-release/contrib/gdb/gdb/
H A Duw-thread.c182 CORE_ADDR mapp; member in struct:__anon1342
191 CORE_ADDR mapp; /* address of thread's map structure */ member in struct:private_thread_info
342 read_map (CORE_ADDR mapp, struct thread_map *map) argument
344 return base_ops.to_xfer_memory ((CORE_ADDR)THR_MAP (mapp), (char *)map,
371 CORE_ADDR first, mapp; local
377 if (!base_ops.to_xfer_memory ((CORE_ADDR)debug.thr_map, (char *)&mapp,
378 sizeof (mapp), 0, NULL, &base_ops))
380 if (!mapp)
383 for (first = mapp;;)
385 if (!read_map (mapp,
519 add_thread_uw(int thrid, int lwpid, CORE_ADDR mapp, ptid_t ptid) argument
621 CORE_ADDR sp, mapp, mapp_main; local
[all...]
/freebsd-10.0-release/sys/sparc64/include/
H A Dbus_private.h78 int sparc64_dma_alloc_map(bus_dma_tag_t dmat, bus_dmamap_t *mapp);
/freebsd-10.0-release/sys/ufs/ffs/
H A Dffs_subr.c338 u_char *freemapp, *mapp; local
359 mapp = &freemapp[start / NBBY];
360 map = *mapp++;
368 map = *mapp++;
380 mapp = &freemapp[start / NBBY];
381 map = *mapp--;
389 map = *mapp--;
/freebsd-10.0-release/sys/arm/arm/
H A Dbusdma_machdep-v6.c507 static int allocate_bz_and_pages(bus_dma_tag_t dmat, bus_dmamap_t mapp) argument
518 STAILQ_INIT(&(mapp->bpages));
550 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) argument
555 mapsize = sizeof(**mapp) + (sizeof(struct sync_list) * dmat->nsegments);
556 *mapp = (bus_dmamap_t)malloc(mapsize, M_DEVBUF, M_NOWAIT | M_ZERO);
557 if (*mapp == NULL) {
561 (*mapp)->sync_count = 0;
570 free(*mapp, M_DEVBUF);
571 *mapp = NULL;
580 error = allocate_bz_and_pages(dmat, *mapp);
616 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument
[all...]
H A Dbusdma_machdep.c570 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) argument
581 *mapp = map;
597 *mapp = NULL;
617 *mapp = NULL;
624 STAILQ_INIT(&((*mapp)->bpages));
686 bus_dmamap_t *mapp)
771 *mapp = map;
685 bus_dmamem_alloc(bus_dma_tag_t dmat, void **vaddrp, int flags, bus_dmamap_t *mapp) argument
/freebsd-10.0-release/sys/dev/kbd/
H A Dkbd.c840 keymap_t *mapp; local
877 mapp = kbd->kb_keymap;
879 omapp->n_keys = mapp->n_keys;
883 mapp->key[i].map[j];
884 omapp->key[i].spcl = mapp->key[i].spcl;
885 omapp->key[i].flgs = mapp->key[i].flgs;
891 mapp = malloc(sizeof *mapp, M_TEMP, M_NOWAIT);
894 mapp->n_keys = omapp->n_keys;
897 mapp
[all...]
/freebsd-10.0-release/sys/sparc64/sparc64/
H A Dbus_machdep.c284 sparc64_dma_alloc_map(bus_dma_tag_t dmat, bus_dmamap_t *mapp) argument
294 *mapp = malloc(sizeof(**mapp), M_DEVBUF, M_NOWAIT | M_ZERO);
295 if (*mapp == NULL)
298 SLIST_INIT(&(*mapp)->dm_reslist);
312 nexus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) argument
315 return (sparc64_dma_alloc_map(dmat, mapp));
511 bus_dmamap_t *mapp)
510 nexus_dmamem_alloc(bus_dma_tag_t dmat, void **vaddr, int flags, bus_dmamap_t *mapp) argument
H A Diommu.c749 bus_dmamap_t *mapp)
758 if ((error = sparc64_dma_alloc_map(dt, mapp)) != 0)
770 sparc64_dma_free_map(dt, *mapp);
774 (*mapp)->dm_flags |= DMF_COHERENT;
779 iommu_dvma_valloc(dt, is, *mapp, IOMMU_SIZE_ROUNDUP(dt->dt_maxsize));
781 iommu_map_insq(is, *mapp);
797 iommu_dvmamap_create(bus_dma_tag_t dt, int flags, bus_dmamap_t *mapp) argument
803 if ((error = sparc64_dma_alloc_map(dt, mapp)) != 0)
806 (*mapp)->dm_flags |= DMF_COHERENT;
817 error = iommu_dvma_valloc(dt, is, *mapp, tots
748 iommu_dvmamem_alloc(bus_dma_tag_t dt, void **vaddr, int flags, bus_dmamap_t *mapp) argument
[all...]
/freebsd-10.0-release/sys/sys/
H A Dbus_dma.h260 int bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp);
274 bus_dmamap_t *mapp);
/freebsd-10.0-release/sys/powerpc/powerpc/
H A Dbusdma_machdep.c383 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) argument
389 *mapp = (bus_dmamap_t)malloc(sizeof(**mapp), M_DEVBUF,
391 if (*mapp == NULL) {
416 STAILQ_INIT(&((*mapp)->bpages));
446 (*mapp)->nsegs = 0;
447 (*mapp)->segments = (bus_dma_segment_t *)malloc(
450 if ((*mapp)->segments == NULL) {
494 bus_dmamap_t *mapp)
504 bus_dmamap_create(dmat, flags, mapp);
493 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument
[all...]
/freebsd-10.0-release/usr.sbin/makefs/ffs/
H A Dffs_alloc.c603 u_char *freemapp, *mapp; local
625 mapp = &freemapp[start / NBBY];
626 map = *mapp++;
634 map = *mapp++;
646 mapp = &freemapp[start / NBBY];
647 map = *mapp--;
655 map = *mapp--;
H A Dmkfs.c704 u_char *mapp = cg_clustersfree_swap(&acg, 0); local
705 int map = *mapp++;
721 map = *mapp++;
/freebsd-10.0-release/sys/x86/x86/
H A Dbusdma_machdep.c389 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) argument
423 *mapp = (bus_dmamap_t)malloc(sizeof(**mapp), M_DEVBUF,
425 if (*mapp == NULL) {
432 STAILQ_INIT(&((*mapp)->bpages));
461 *mapp = NULL;
500 bus_dmamap_t *mapp)
511 *mapp = NULL;
549 *mapp = &contig_dmamap;
554 *mapp
499 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument
[all...]
/freebsd-10.0-release/sys/dev/tsec/
H A Dif_tsec.c782 bus_dmamap_t *mapp; local
795 mapp = TSEC_ALLOC_TX_MAP(sc);
799 *mapp, m0, segs, &nsegs, BUS_DMA_NOWAIT);
801 bus_dmamap_unload(sc->tsec_tx_mtag, *mapp);
802 TSEC_FREE_TX_MAP(sc, mapp);
805 bus_dmamap_sync(sc->tsec_tx_mtag, *mapp, BUS_DMASYNC_PREWRITE);
836 TSEC_PUT_TX_MAP(sc, mapp);
1190 bus_dmamap_t *mapp; local
1209 mapp = TSEC_GET_TX_MAP(sc);
1211 bus_dmamap_sync(sc->tsec_tx_mtag, *mapp,
1415 bus_dmamap_t *mapp; local
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dbitmap.h146 extern int bt_gethighbit(ulong_t *mapp, int wx);
/freebsd-10.0-release/sys/dev/aic7xxx/
H A Daic_osm_lib.h167 #define aic_dmamem_alloc(aic, dmat, vaddr, flags, mapp) \
168 bus_dmamem_alloc(dmat, vaddr, flags, mapp)
173 #define aic_dmamap_create(aic, tag, flags, mapp) \
174 bus_dmamap_create(tag, flags, mapp)
/freebsd-10.0-release/sys/ia64/ia64/
H A Dbusdma_machdep.c324 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) argument
347 *mapp = (bus_dmamap_t)malloc(sizeof(**mapp), M_DEVBUF,
349 if (*mapp == NULL)
353 STAILQ_INIT(&((*mapp)->bpages));
377 *mapp = NULL;
409 bus_dmamap_t *mapp)
419 *mapp = NULL;
408 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument
/freebsd-10.0-release/lib/libc/db/hash/
H A Dhash_page.c630 hashp->mapp[ndx] = ip;
667 if (!(freep = (u_int32_t *)hashp->mapp[i]) &&
821 if (!(freep = hashp->mapp[free_page]))
905 if ((hashp->mapp[ndx] = (u_int32_t *)malloc(hashp->BSIZE)) == NULL)
908 (char *)hashp->mapp[ndx], hashp->BITMAPS[ndx], 0, 1, 1)) {
909 free(hashp->mapp[ndx]);
912 return (hashp->mapp[ndx]);
H A Dhash.h110 u_int32_t *mapp[NCACHED]; /* Pointers to page maps */ member in struct:htab
H A Dhash.c177 (void)memset(&hashp->mapp[0], 0, bpages * sizeof(u_int32_t *));
418 if (hashp->mapp[i])
419 free(hashp->mapp[i]);
500 if (hashp->mapp[i])
501 if (__put_page(hashp, (char *)hashp->mapp[i],
/freebsd-10.0-release/sys/mips/mips/
H A Dbusdma_machdep.c472 bus_dmamap_create(bus_dma_tag_t dmat, int flags, bus_dmamap_t *mapp) argument
493 *mapp = newmap;
513 *mapp = NULL;
520 STAILQ_INIT(&((*mapp)->bpages));
581 bus_dmamap_t *mapp)
611 *mapp = newmap;
649 *mapp = NULL;
580 bus_dmamem_alloc(bus_dma_tag_t dmat, void** vaddr, int flags, bus_dmamap_t *mapp) argument
/freebsd-10.0-release/sbin/fsck_ffs/
H A Dpass5.c281 u_char *mapp = cg_clustersfree(newcg); local
282 int map = *mapp++;
298 map = *mapp++;
/freebsd-10.0-release/sys/arm/econa/
H A Dif_ece.c1601 bus_dmamap_t mapp; local
1612 mapp = sc->tx_desc[sc->tx_prod].dmamap;
1614 error = bus_dmamap_load_mbuf_sg(sc->dmatag_ring_tx, mapp,
1619 bus_dmamap_unload(sc->dmatag_ring_tx, mapp);
1689 bus_dmamap_sync(sc->dmatag_data_tx, mapp, BUS_DMASYNC_PREWRITE);

Completed in 164 milliseconds

12