Lines Matching defs:physmap_idx

1625 	int i, insert_idx, physmap_idx;
1627 physmap_idx = *physmap_idxp;
1644 insert_idx = physmap_idx + 2;
1645 for (i = 0; i <= physmap_idx; i += 2) {
1659 if (insert_idx <= physmap_idx && base + length == physmap[insert_idx]) {
1670 physmap_idx += 2;
1671 *physmap_idxp = physmap_idx;
1672 if (physmap_idx == PHYSMAP_SIZE) {
1682 for (i = physmap_idx; i > insert_idx; i -= 2) {
1794 int off, physmap_idx, pa_indx, da_indx;
1827 physmap_idx = 2;
1828 physmap[physmap_idx] = 0x100000;
1829 physmap[physmap_idx + 1] = physmap[physmap_idx] + extmem * 1024;
1846 Maxmem = atop(physmap[physmap_idx + 1]);
1862 if (atop(physmap[physmap_idx + 1]) != Maxmem &&
1870 if (atop(physmap[physmap_idx + 1]) < Maxmem)
1871 physmap[physmap_idx + 1] = ptoa((vm_paddr_t)Maxmem);
1881 physmap[physmap_idx + 1] = under16 * 1024;
1882 physmap_idx += 2;
1883 physmap[physmap_idx] = 0x1000000;
1884 physmap[physmap_idx + 1] = physmap[2] + extmem * 1024;
1912 for (i = 0; i <= physmap_idx; i += 2) {
2056 int has_smap, off, physmap_idx, pa_indx, da_indx;
2078 physmap_idx = 0;
2096 physmap_idx = 0;
2103 add_smap_entries(smapbase, physmap, &physmap_idx);
2142 if (!add_smap_entry(smap, physmap, &physmap_idx))
2152 for (i = 0; i <= physmap_idx; i += 2) {
2211 physmap_idx = 2;
2212 physmap[physmap_idx] = 0x100000;
2213 physmap[physmap_idx + 1] = physmap[physmap_idx] + extmem * 1024;
2234 Maxmem = atop(physmap[physmap_idx + 1]);
2247 if (has_smap && Maxmem > atop(physmap[physmap_idx + 1]))
2248 Maxmem = atop(physmap[physmap_idx + 1]);
2260 if (atop(physmap[physmap_idx + 1]) != Maxmem &&
2268 if (atop(physmap[physmap_idx + 1]) < Maxmem)
2269 physmap[physmap_idx + 1] = ptoa((vm_paddr_t)Maxmem);
2296 for (i = 0; i <= physmap_idx; i += 2) {