Home
last modified time | relevance | path

Searched refs:memcnt (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/arch/i386/stand/lib/test/
H A Dstand_user.c99 static int memfd, memcnt; variable
106 if (memcnt == 0) in mapmem()
118 memcnt++; in mapmem()
127 memcnt--; in unmapmem()
128 if (memcnt == 0) in unmapmem()
/netbsd-src/sys/arch/powerpc/powerpc/
H A Dofw_machdep.c204 int hmem, i, cnt, memcnt, regcnt; in ofw_bootstrap_get_memory() local
229 for (i = 0, memcnt = 0; i < numregs; i++) { in ofw_bootstrap_get_memory()
255 OFmem[memcnt].start = addr; in ofw_bootstrap_get_memory()
256 OFmem[memcnt].size = size; in ofw_bootstrap_get_memory()
258 memcnt, addr, size); in ofw_bootstrap_get_memory()
259 memcnt++; in ofw_bootstrap_get_memory()
334 (OFmem[memcnt-1].start + OFmem[memcnt-1].size)) { in ofw_bootstrap_get_memory()
340 OFmem[memcnt-1].size - OFavail[cnt].start; in ofw_bootstrap_get_memory()