Lines Matching defs:index
196 uint32 index;
204 index = VADDR_TO_PRENT(virtualAddress);
205 if (PRE_TYPE(pr[index]) != DT_ROOT)
206 panic("invalid page root entry %d\n", index);
209 if (PRE_TYPE(pr[index]) != DT_ROOT) {
210 unsigned aindex = index & ~(NUM_DIRTBL_PER_PAGE-1); /* aligned */
211 //TRACE(("missing page root entry %d ai %d\n", index, aindex));
230 pd = (page_directory_entry *)PRE_TO_TA(pr[index]);
232 index = VADDR_TO_PDENT(virtualAddress);
233 if (PDE_TYPE(pd[index]) != DT_DIR) {
234 unsigned aindex = index & ~(NUM_PAGETBL_PER_PAGE-1); /* aligned */
235 //TRACE(("missing page dir entry %d ai %d\n", index, aindex));
252 pt = PDE_TO_TA(pd[index]);
254 index = VADDR_TO_PTENT(virtualAddress);
255 pt[index].addr = TA_TO_PTEA(0xdeadb00b);
256 pt[index].supervisor = 1;
257 pt[index].type = DT_PAGE;