/src/sys/dev/pci/ |
btvmei.c | 69 int firstpage, maplen; member in struct:b3_617_vmeresc 417 unsigned long maplen, i; local in function:b3_617_map_vme 429 maplen = ((vmeend - vmebase) / VME_PAGESIZE + 1) * 4; 431 if (vmem_alloc(sc->vme_arena, maplen, VM_BESTFIT | VM_NOSLEEP, &first)) 440 i < first + maplen; 459 for (i = first; i < first + maplen; i += 4) 461 vmem_free(sc->vme_arena, first, maplen); 474 r->maplen = maplen; 488 for (i = r->firstpage; i < r->firstpage + r->maplen; i += 4 [all...] |
btvmeii.c | 90 unsigned long pcibase, maplen; member in struct:b3_2706_vmemaprescs 293 unsigned long boundary, maplen; local in function:b3_2706_map_vme 322 maplen = vmeend - vmebase + boundary; 325 maplen, /* size */ 337 res = univ_pci_mapvme(&sc->univdata, wnd, vmebase, maplen, 340 vmem_xfree(sc->vme_arena, pcibase, maplen); 349 vmem_xfree(sc->vme_arena, pcibase, maplen); 361 sc->vmemaprescs[wnd].maplen = maplen; 374 vmem_xfree(sc->vme_arena, r->pcibase, r->maplen); [all...] |
/src/sys/arch/sparc64/sparc64/ |
ofw_machdep.c | 804 int maplen = sizeof static_interrupt_map; local in function:OF_mapintr 861 "interrupt-map", interrupt_map, maplen)) <= 0) { 886 if (interrupt_map_len > maplen) { 887 DPRINTF(("interrupt_map_len %d > maplen %d, " 888 "allocating\n", interrupt_map_len, maplen)); 896 maplen = interrupt_map_len;
|
/src/lib/librumpclient/ |
rumpclient.c | 612 size_t maplen; local in function:handlereq 639 maplen = *(size_t *)spc->spc_buf; 640 mapaddr = mmap(NULL, maplen, PROT_READ|PROT_WRITE,
|
/src/sys/arch/powerpc/booke/pci/ |
pq3pci.c | 1211 const size_t maplen = __arraycount(pq3pci_msigroups); local in function:pq3pci_msi_alloc_one 1212 uint32_t bitmap[maplen]; 1216 for (u_int i = 0; i < maplen; i++) { 1235 for (u_int i = 0; i < maplen; i++) {
|
/src/sys/dev/wscons/ |
wsconsio.h | 160 u_int maplen; /* number of entries in map */ member in struct:wskbd_map_data
|