Lines Matching refs:subtables
73 for (unsigned i = 0; i < ARRAY_SIZE(table->subtables); i++) { in aub_ppgtt_table_finish()
74 if (table->subtables[i]) { in aub_ppgtt_table_finish()
75 aub_ppgtt_table_finish(table->subtables[i], level - 1); in aub_ppgtt_table_finish()
76 free(table->subtables[i]); in aub_ppgtt_table_finish()
249 if (!table->subtables[i]) { in populate_ppgtt_table()
253 table->subtables[i] = in populate_ppgtt_table()
258 i, (uint64_t)(uintptr_t)table->subtables[i]); in populate_ppgtt_table()
261 table->subtables[i] = in populate_ppgtt_table()
263 table->subtables[i]->phys_addr = in populate_ppgtt_table()
268 i, table->subtables[i]->phys_addr); in populate_ppgtt_table()
273 (level == 1 ? (uint64_t)(uintptr_t)table->subtables[i] : in populate_ppgtt_table()
274 table->subtables[i]->phys_addr); in populate_ppgtt_table()
300 #define L3_table(addr) (aub->pml4.subtables[L4_index(addr)]) in aub_map_ppgtt()
301 #define L2_table(addr) (L3_table(addr)->subtables[L3_index(addr)]) in aub_map_ppgtt()
302 #define L1_table(addr) (L2_table(addr)->subtables[L2_index(addr)]) in aub_map_ppgtt()
346 return (uint64_t)(uintptr_t)L1_table(ppgtt_addr)->subtables[L1_index(ppgtt_addr)]; in ppgtt_lookup()