Searched refs:to_alloc (Results 1 – 1 of 1) sorted by relevance
269 uint32_t to_alloc = ROUNDUP(size, NUM_L2_ENTRIES * SMALL_PAGE_SIZE) / in core_mmu_alloc_l2() local272 DMSG("L2 table used: %d/%d", prtn->tables_used + to_alloc, in core_mmu_alloc_l2()274 if (prtn->tables_used + to_alloc > MAX_XLAT_TABLES) in core_mmu_alloc_l2()278 sizeof(l2_xlat_tbl_t) * to_alloc); in core_mmu_alloc_l2()279 prtn->tables_used += to_alloc; in core_mmu_alloc_l2()280 return prtn->l2_tables[prtn->tables_used - to_alloc]; in core_mmu_alloc_l2()
Completed in 3 milliseconds