Lines Matching refs:space
120 * This function is called to generate an address space ID. This space ID must be unique within
122 * way: space ID << 4 | segment. Since a VSID is 24 bits, and out of that, we reserve the last
123 * 4, so, we can have 2^20 (2M) unique IDs. Each pmap has a unique space ID, so we should be able
126 * they are release. This causes us to lose track of what space IDs are free to be reused.
128 * when the space ID wraps, or 4) scan the list of pmaps and find a free one.
135 * are reserved for the segment number, which means that we really have 2^(12-4) 512 space IDs
136 * before we start hashing to the same buckets with the same vaddrs. Also, within a space ID,
141 * There may be a problem with the space ID, though. A new space ID is generate (mainly)
144 * The potential problem, though, is if we get long-term pmaps that have space IDs that are
146 * 0-3 of the space ID rather than 20-23. Doing this means that, in effect, corresponding
148 * I don't think that it is as signifigant as the other, so, I'll make the space ID
151 * The final, and biggest problem is the wrap, which will happen every 2^20 space IDs.
153 * will happen. This is assuming a monotonically increasing space ID. If we were to search
154 * for an inactive space ID, there could not be a wrap until there was 2^20 concurrent space IDs.
184 rwidth = PerProcTable[0].ppe_vaddr->pf.pfMaxVAddr - maxAdrSpb; /* Reduce address width by width of address space ID */
191 tmp = 12; /* Size of hash space */
195 tmp = 32 - tmp; /* Size of hash space */
386 mp->mpSpace = pmap->space; /* Set the address space/pmap lookup ID */
1031 unsigned int space, i;
1066 space = mapCtl.mapcflush.spacenum;
1068 if(((pmap_t)(refpmap->pmap_link.next))->spaceNum > space) break;
1488 * addr64_t mapping_p2v(pmap_t pmap, ppnum_t pa) - Finds first virtual mapping of a physical page in a space
1496 addr64_t mapping_p2v(pmap_t pmap, ppnum_t pa) { /* Finds first virtual mapping of a physical page in a space */
1511 mp = hw_find_space(physent, pmap->space); /* Go find the first mapping to the page from the requested pmap */