Lines Matching refs:nentries
19 …nline unsigned long tsb_hash(unsigned long vaddr, unsigned long hash_shift, unsigned long nentries) in tsb_hash() argument
22 return vaddr & (nentries - 1); in tsb_hash()
68 unsigned long nentries) in __flush_tsb_one_entry() argument
73 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry()
81 unsigned long tsb, unsigned long nentries) in __flush_tsb_one() argument
86 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one()
92 unsigned long nentries, base, flags; in flush_tsb_user() local
98 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user()
101 __flush_tsb_one(tb, PAGE_SHIFT, base, nentries); in flush_tsb_user()
106 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user()
109 __flush_tsb_one(tb, REAL_HPAGE_SHIFT, base, nentries); in flush_tsb_user()
117 unsigned long nentries, base, flags; in flush_tsb_user_page() local
123 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user_page()
126 __flush_tsb_one_entry(base, vaddr, PAGE_SHIFT, nentries); in flush_tsb_user_page()
131 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user_page()
134 __flush_tsb_one_entry(base, vaddr, REAL_HPAGE_SHIFT, nentries); in flush_tsb_user_page()