Lines Matching refs:tsb_block
127 base = (unsigned long) mm->context.tsb_block[MM_TSB_BASE].tsb; in flush_tsb_user()
128 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user()
140 else if (mm->context.tsb_block[MM_TSB_HUGE].tsb) { in flush_tsb_user()
141 base = (unsigned long) mm->context.tsb_block[MM_TSB_HUGE].tsb; in flush_tsb_user()
142 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user()
160 base = (unsigned long) mm->context.tsb_block[MM_TSB_BASE].tsb; in flush_tsb_user_page()
161 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user_page()
174 else if (mm->context.tsb_block[MM_TSB_HUGE].tsb) { in flush_tsb_user_page()
175 base = (unsigned long) mm->context.tsb_block[MM_TSB_HUGE].tsb; in flush_tsb_user_page()
176 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user_page()
199 mm->context.tsb_block[tsb_idx].tsb_nentries = in setup_tsb_params()
216 tsb_paddr = __pa(mm->context.tsb_block[tsb_idx].tsb); in setup_tsb_params()
277 mm->context.tsb_block[tsb_idx].tsb_reg_val = tsb_reg; in setup_tsb_params()
278 mm->context.tsb_block[tsb_idx].tsb_map_vaddr = 0; in setup_tsb_params()
279 mm->context.tsb_block[tsb_idx].tsb_map_pte = 0; in setup_tsb_params()
285 mm->context.tsb_block[tsb_idx].tsb_reg_val = tsb_reg; in setup_tsb_params()
286 mm->context.tsb_block[tsb_idx].tsb_map_vaddr = base; in setup_tsb_params()
287 mm->context.tsb_block[tsb_idx].tsb_map_pte = tte; in setup_tsb_params()
432 if (mm->context.tsb_block[tsb_index].tsb == NULL && in tsb_grow()
443 if (mm->context.tsb_block[tsb_index].tsb != NULL) in tsb_grow()
444 mm->context.tsb_block[tsb_index].tsb_rss_limit = ~0UL; in tsb_grow()
475 old_tsb = mm->context.tsb_block[tsb_index].tsb; in tsb_grow()
477 (mm->context.tsb_block[tsb_index].tsb_reg_val & 0x7UL); in tsb_grow()
478 old_size = (mm->context.tsb_block[tsb_index].tsb_nentries * in tsb_grow()
487 (rss < mm->context.tsb_block[tsb_index].tsb_rss_limit))) { in tsb_grow()
494 mm->context.tsb_block[tsb_index].tsb_rss_limit = new_rss_limit; in tsb_grow()
514 mm->context.tsb_block[tsb_index].tsb = new_tsb; in tsb_grow()
570 mm->context.tsb_block[i].tsb = NULL; in init_new_context()
584 if (unlikely(!mm->context.tsb_block[MM_TSB_BASE].tsb)) in init_new_context()
607 tsb_destroy_one(&mm->context.tsb_block[i]); in destroy_context()