Home
last modified time | relevance | path

Searched refs:maplen (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sbin/wsconsctl/
H A Dmap_parse.y74 for (i = 0; i < kbmap.maplen; i++) { in ksym_lookup()
113 newkbmap.maplen = 0;
132 if (dst >= newkbmap.maplen)
133 newkbmap.maplen = dst + 1;
140 if ((unsigned int)$2 >= newkbmap.maplen)
141 newkbmap.maplen = $2 + 1;
H A Dutil.c447 kbmap.maplen = 0; in rd_field()
451 if (newkbmap.maplen < kbmap.maplen) in rd_field()
452 newkbmap.maplen = kbmap.maplen; in rd_field()
453 for (u = 0; u < kbmap.maplen; u++) { in rd_field()
463 kbmap.maplen = newkbmap.maplen; in rd_field()
465 kbmap.maplen * sizeof(struct wscons_keymap)); in rd_field()
530 for (i = 0; i < map->maplen;
[all...]
H A Dkeyboard.c94 for (u = 0; u < nmap->maplen; u++) { in diff_kmap()
146 kbmap.maplen = KS_NUMKEYCODES; in keyboard_get_values()
/netbsd-src/sys/dev/pci/
H A Dbtvmeii.c90 unsigned long pcibase, maplen; member
293 unsigned long boundary, maplen; in b3_2706_map_vme() local
322 maplen = vmeend - vmebase + boundary; in b3_2706_map_vme()
325 maplen, /* size */ in b3_2706_map_vme()
337 res = univ_pci_mapvme(&sc->univdata, wnd, vmebase, maplen, in b3_2706_map_vme()
340 vmem_xfree(sc->vme_arena, pcibase, maplen); in b3_2706_map_vme()
349 vmem_xfree(sc->vme_arena, pcibase, maplen); in b3_2706_map_vme()
361 sc->vmemaprescs[wnd].maplen = maplen; in b3_2706_map_vme()
374 vmem_xfree(sc->vme_arena, r->pcibase, r->maplen); in b3_2706_unmap_vme()
H A Dbtvmei.c69 int firstpage, maplen; member
417 unsigned long maplen, i; in b3_617_map_vme() local
429 maplen = ((vmeend - vmebase) / VME_PAGESIZE + 1) * 4; in b3_617_map_vme()
431 if (vmem_alloc(sc->vme_arena, maplen, VM_BESTFIT | VM_NOSLEEP, &first)) in b3_617_map_vme()
440 i < first + maplen; in b3_617_map_vme()
459 for (i = first; i < first + maplen; i += 4) in b3_617_map_vme()
461 vmem_free(sc->vme_arena, first, maplen); in b3_617_map_vme()
474 r->maplen = maplen; in b3_617_map_vme()
488 for (i = r->firstpage; i < r->firstpage + r->maplen; i += 4) in b3_617_unmap_vme()
491 vmem_free(sc->vme_arena, r->firstpage, r->maplen); in b3_617_unmap_vme()
/netbsd-src/sys/dev/wscons/
H A Dwskbdutil.c467 wskbd_init_keymap(int newlen, struct wscons_keymap **map, int *maplen) in wskbd_init_keymap() argument
471 if (newlen != *maplen) { in wskbd_init_keymap()
472 if (*maplen > 0) in wskbd_init_keymap()
474 *maplen = newlen; in wskbd_init_keymap()
479 for (i = 0; i < *maplen; i++) { in wskbd_init_keymap()
490 struct wscons_keymap **map, int *maplen) in wskbd_load_keymap() argument
524 wskbd_init_keymap(i + 1, map, maplen); in wskbd_load_keymap()
H A Dwskbd.c1177 if (umdp->maplen > WSKBDIO_MAXMAPLEN) in wskbd_displayioctl()
1180 len = umdp->maplen*sizeof(struct wscons_keymap); in wskbd_displayioctl()
1184 wskbd_init_keymap(umdp->maplen, in wskbd_displayioctl()
1197 if (umdp->maplen > sc->sc_maplen) in wskbd_displayioctl()
1198 umdp->maplen = sc->sc_maplen; in wskbd_displayioctl()
1200 umdp->maplen*sizeof(struct wscons_keymap)); in wskbd_displayioctl()
H A Dwsconsio.h160 u_int maplen; /* number of entries in map */ member
/netbsd-src/sys/arch/sparc64/sparc64/
H A Dofw_machdep.c804 int maplen = sizeof static_interrupt_map; in OF_mapintr() local
861 "interrupt-map", interrupt_map, maplen)) <= 0) { in OF_mapintr()
886 if (interrupt_map_len > maplen) { in OF_mapintr()
888 "allocating\n", interrupt_map_len, maplen)); in OF_mapintr()
896 maplen = interrupt_map_len; in OF_mapintr()
/netbsd-src/lib/librumpclient/
H A Drumpclient.c612 size_t maplen; in handlereq() local
639 maplen = *(size_t *)spc->spc_buf; in handlereq()
640 mapaddr = mmap(NULL, maplen, PROT_READ|PROT_WRITE, in handlereq()
/netbsd-src/sys/arch/powerpc/booke/pci/
H A Dpq3pci.c1211 const size_t maplen = __arraycount(pq3pci_msigroups); in pq3pci_msi_alloc_one() local
1212 uint32_t bitmap[maplen]; in pq3pci_msi_alloc_one()
1216 for (u_int i = 0; i < maplen; i++) { in pq3pci_msi_alloc_one()
1235 for (u_int i = 0; i < maplen; i++) { in pq3pci_msi_alloc_one()