Searched refs:memcnt (Results 1 – 2 of 2) sorted by relevance
99 static int memfd, memcnt; variable106 if (memcnt == 0) in mapmem()118 memcnt++; in mapmem()127 memcnt--; in unmapmem()128 if (memcnt == 0) in unmapmem()
204 int hmem, i, cnt, memcnt, regcnt; in ofw_bootstrap_get_memory() local229 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()