| /src/sbin/wsconsctl/ |
| map_parse.y | 74 for (i = 0; i < kbmap.maplen; i++) { 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;
|
| util.c | 447 kbmap.maplen = 0; 451 if (newkbmap.maplen < kbmap.maplen) 452 newkbmap.maplen = kbmap.maplen; 453 for (u = 0; u < kbmap.maplen; u++) { 463 kbmap.maplen = newkbmap.maplen; 465 kbmap.maplen * sizeof(struct wscons_keymap)); 530 for (i = 0; i < map->maplen; i++) [all...] |
| keyboard.c | 94 for (u = 0; u < nmap->maplen; u++) { 146 kbmap.maplen = KS_NUMKEYCODES;
|
| /src/sys/dev/pci/ |
| 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...] |
| 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...] |
| /src/sys/dev/wscons/ |
| wskbdutil.c | 467 wskbd_init_keymap(int newlen, struct wscons_keymap **map, int *maplen) 471 if (newlen != *maplen) { 472 if (*maplen > 0) 474 *maplen = newlen; 479 for (i = 0; i < *maplen; i++) { 490 struct wscons_keymap **map, int *maplen) 524 wskbd_init_keymap(i + 1, map, maplen);
|
| wskbd.c | 1171 if (umdp->maplen > WSKBDIO_MAXMAPLEN) 1174 len = umdp->maplen*sizeof(struct wscons_keymap); 1178 wskbd_init_keymap(umdp->maplen, 1191 if (umdp->maplen > sc->sc_maplen) 1192 umdp->maplen = sc->sc_maplen; 1194 umdp->maplen*sizeof(struct wscons_keymap));
|
| wsconsio.h | 160 u_int maplen; /* number of entries in map */ member in struct:wskbd_map_data
|
| /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++) {
|