/src/sys/dev/pci/ |
joy_pci.c | 94 bus_size_t mapsize; local in function:joy_pci_attach 110 &sc->sc_iot, &sc->sc_ioh, NULL, &mapsize)) { 115 if (mapsize != 2) {
|
/src/sys/dev/ieee1394/ |
fwdma.c | 115 const bus_size_t mapsize = dmamap->dm_mapsize; local in function:fwdma_free 122 bus_dmamem_unmap(dmat, vaddr, mapsize);
|
/src/sys/arch/vax/vsa/ |
vsbus_dma.c | 105 size_t mapsize = ptecnt * sizeof(struct pte); local in function:vsbus_dma_init 115 error = bus_dmamem_alloc(t, mapsize, mapsize, mapsize, 122 error = bus_dmamem_map(t, segs, nsegs, mapsize, 128 memset(pte, 0, mapsize); 131 pte = (struct pte *) vax_map_physmem(KA49_SCSIMAP, mapsize / VAX_NBPG);
|
tc_vsbus.c | 308 const bus_size_t mapsize = ptecnt * sizeof(pte[0]); local in function:tc_vsbus_dma_init 315 error = bus_space_map(bst, KA4x_TCA_SGMAP, mapsize,
|
/src/sys/kern/ |
subr_physmap.c | 68 const size_t mapsize = offsetof(physmap_t, pm_segs[maxsegs]); local in function:physmap_alloc 72 physmap_t * const map = kmem_zalloc(mapsize, KM_SLEEP); 228 const size_t mapsize = offsetof(physmap_t, pm_segs[map->pm_maxsegs]); local in function:physmap_destroy 230 kmem_free(map, mapsize);
|
/src/sys/rump/dev/lib/libpci/ |
rumpdev_bus_dma.c | 99 size_t mapsize; local in function:bus_dmamap_create 113 mapsize = sizeof(*map) + sizeof(bus_dma_segment_t [nsegments - 1]); 114 if ((mapstore = kmem_intr_alloc(mapsize, 118 memset(mapstore, 0, mapsize); 142 size_t mapsize = sizeof(*map) local in function:bus_dmamap_destroy 144 kmem_intr_free(map, mapsize);
|
/src/sbin/fsck_ffs/ |
pass5.c | 62 int blk, frags, basesize, sumsize, mapsize, cssize; local in function:pass5 170 mapsize = newcg->cg_nextfreeoff - newcg->cg_iusedoff; 178 mapsize = &ocg->cg_free[howmany(fs->fs_fpg, NBBY)] - 319 memset(cg_inosused(newcg, 0), 0, (size_t)(mapsize)); 476 if (memcmp(cg_inosused(newcg, 0), cg_inosused(cg, 0), mapsize) 479 (size_t)mapsize);
|
/src/sys/arch/x68k/x68k/ |
bus.c | 90 size_t mapsize; local in function:x68k_bus_dmamap_create 104 mapsize = sizeof(struct x68k_bus_dmamap) + 106 if ((mapstore = malloc(mapsize, M_DMAMAP, 110 memset(mapstore, 0, mapsize);
|
/src/sys/arch/aarch64/aarch64/ |
pmapboot.c | 478 vsize_t left, mapsize, nblocks; variable in typeref:typename:vsize_t 488 mapsize = nblocks * L3_SIZE; 490 va, va + mapsize - 1, pa, pa + mapsize - 1); 491 pmapboot_enter(va, pa, mapsize, L3_SIZE, attr, pr); 492 va += mapsize; 493 pa += mapsize; 494 left -= mapsize; 501 mapsize = nblocks * L2_SIZE; 503 va, va + mapsize - 1, pa, pa + mapsize - 1) [all...] |
/src/sys/arch/prep/pci/ |
gten.c | 325 u_int32_t mapreg, id, mask, mapsize; local in function:gten_cnattach
|
/src/sys/arch/powerpc/powerpc/ |
bus_dma.c | 103 size_t mapsize; local in function:_bus_dmamap_create 117 mapsize = sizeof(*map) + sizeof(bus_dma_segment_t [nsegments - 1]); 118 if ((mapstore = kmem_intr_alloc(mapsize, 122 memset(mapstore, 0, mapsize); 146 size_t mapsize = sizeof(*map) local in function:_bus_dmamap_destroy 148 kmem_intr_free(map, mapsize); 534 panic("%s: ops %#x mapsize %u: bad offset (%u) and/or length (%u)", __func__, ops, map->dm_mapsize, offset, len);
|
/src/sys/arch/sparc/sparc/ |
pci_machdep.c | 144 int mapsize; member in struct:mspcic_known_model 184 wiring_map_size = p->mapsize;
|
/src/sys/dev/ic/ |
dpt.c | 333 int i, j, rv, rseg, maxchannel, maxtarget, mapsize; local in function:dpt_init 352 mapsize = sc->sc_nccbs * sizeof(struct dpt_ccb) + 355 if ((rv = bus_dmamem_alloc(sc->sc_dmat, mapsize, 361 if ((rv = bus_dmamem_map(sc->sc_dmat, &seg, rseg, mapsize, 368 if ((rv = bus_dmamap_create(sc->sc_dmat, mapsize, 369 mapsize, 1, 0, BUS_DMA_NOWAIT, &sc->sc_dmamap)) != 0) { 375 sc->sc_ccbs, mapsize, NULL, BUS_DMA_NOWAIT)) != 0) {
|
/src/sys/dev/acpi/ |
apei_einj.c | 513 size_t mapsize = 0, tabsize, bodysize; local in function:apei_einj_trigger 537 mapsize = sizeof(*teatab); 538 teatab = AcpiOsMapMemory(teatab_pa, mapsize); 596 AcpiOsUnmapMemory(teatab, mapsize); 597 mapsize = tabsize; 598 teatab = AcpiOsMapMemory(teatab_pa, mapsize); 665 AcpiOsUnmapMemory(teatab, mapsize); 667 mapsize = 0;
|
acpi_mcfg.c | 135 uint64_t size, mapaddr, mapsize; local in function:acpimcfg_parse_callback 142 mapsize = res->Data.FixedMemory32.AddressLength; 160 mapsize = res->Data.Address32.Address.AddressLength; 179 mapsize = res->Data.Address64.Address.AddressLength; 192 mr->hid, res->Type, type, mapaddr, mapsize); 194 if (mr->address < mapaddr || mr->address >= mapaddr + mapsize) 200 if (mr->address + size <= mapaddr + mapsize) { 206 n = (mapsize - (mr->address - mapaddr)) / ACPIMCFG_SIZE_PER_BUS; 217 mr->bus_start, mr->bus_end, mr->address, size, mapsize);
|
/src/libexec/ld.elf_so/ |
map_object.c | 77 size_t mapsize = 0; local in function:_rtld_map_object 337 mapsize = base_vlimit - base_vaddr; 338 mapbase = mmap(base_addr, mapsize, PROT_NONE, mapflags, -1, 0); 453 obj->mapsize = mapsize; 480 munmap(mapbase, mapsize);
|
/src/usr.sbin/ldpd/ |
conffile.c | 54 size_t mapsize; variable in typeref:typename:size_t 136 mapsize = fs.st_size; 156 munmap(mapped, mapsize); 160 munmap(mapped, mapsize); 170 if (nextline < mapped || (size_t)(nextline - mapped) >= mapsize) 173 for (p = nextline; *p != '\n' && (size_t)(p - mapped) < mapsize; p++);
|
/src/sys/arch/sparc/dev/ |
ebus.c | 158 int mapsize; member in struct:msiiep_known_ebus_wiring 228 wiring_map_size = p->mapsize;
|
/src/sys/arch/xen/x86/ |
x86_xpmap.c | 493 size_t nL2, oldcount, mapsize; local in function:xen_locore 514 mapsize = xen_tables - KERNTEXTOFF; 523 mapsize += UPAGES * PAGE_SIZE; 525 mapsize += PAGE_SIZE; 527 mapsize += PAGE_SIZE; 528 mapsize += PAGE_SIZE; 531 mapsize += IOM_SIZE; 536 * At this point, mapsize doesn't include the table size. 541 nL2 = (mapsize + (NBPD_L2 - 1)) >> L2_SHIFT; 548 while (KERNTEXTOFF + mapsize + (nL2 + PDIRSZ) * PAGE_SIZE [all...] |
/src/sys/arch/x86/acpi/ |
acpi_machdep.c | 489 uint64_t size, mapaddr, mapsize; local in function:acpi_md_mcfg_validate 506 mapsize = bim->entry[i].size; 512 mapaddr, mapaddr + mapsize - 1, mapsize, type, 524 if (addr < mapaddr || addr >= mapaddr + mapsize) 528 if (addr + size <= mapaddr + mapsize) 532 n = (mapsize - (addr - mapaddr)) / 542 bus_start, *bus_end, addr, size, mapsize);
|
/src/sbin/dump/ |
main.c | 74 int mapsize; variable in typeref:typename:int 563 mapsize = roundup(howmany(maxino, NBBY), TP_BSIZE); 564 usedinomap = (char *)xcalloc((unsigned) mapsize, sizeof(char)); 565 dumpdirmap = (char *)xcalloc((unsigned) mapsize, sizeof(char)); 566 dumpinomap = (char *)xcalloc((unsigned) mapsize, sizeof(char)); 567 tapesize = 3 * (howmany(mapsize * sizeof(char), TP_BSIZE) + 1); 625 (howmany(mapsize * sizeof(char), TP_BSIZE) + 1);
|
/src/sys/arch/mips/mips/ |
bus_dma.c | 671 bus_size_t mapsize = 0; local in function:_bus_dmamap_load_raw 696 mapsize += segs->ds_len; 703 map->dm_mapsize = mapsize;
|
/src/sys/arch/x86/x86/ |
bus_dma.c | 280 size_t cookiesize, mapsize; local in function:_bus_dmamap_create 295 mapsize = sizeof(struct x86_bus_dmamap) + 297 if ((mapstore = malloc(mapsize, M_DMAMAP, M_ZERO |
|
/src/sys/arch/hppa/hppa/ |
mainbus.c | 930 bus_size_t mapsize; local in function:mbus_dmamap_load_raw 944 mapsize = size; 966 map->dm_mapsize = mapsize;
|
/src/sbin/restore/ |
tape.c | 998 size_t volatile mapsize = size; local in function:getbitmap 1022 *map = realloc(*map, mapsize + size); 1023 mapptr = *map + mapsize; 1024 mapsize += size; 1028 maxino = mapsize * NBBY + 1; 1029 else if (maxino != mapsize * NBBY + 1)
|