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()
51 unsigned long nentries) in __flush_tsb_one_entry() argument
56 hash = tsb_hash(v, hash_shift, nentries); in __flush_tsb_one_entry()
64 unsigned long tsb, unsigned long nentries) in __flush_tsb_one() argument
69 __flush_tsb_one_entry(tsb, tb->vaddrs[i], hash_shift, nentries); in __flush_tsb_one()
75 unsigned long nentries, base, flags; in flush_tsb_user() local
80 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user()
83 __flush_tsb_one(tb, PAGE_SHIFT, base, nentries); in flush_tsb_user()
88 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user()
91 __flush_tsb_one(tb, REAL_HPAGE_SHIFT, base, nentries); in flush_tsb_user()
99 unsigned long nentries, base, flags; in flush_tsb_user_page() local
104 nentries = mm->context.tsb_block[MM_TSB_BASE].tsb_nentries; in flush_tsb_user_page()
107 __flush_tsb_one_entry(base, vaddr, PAGE_SHIFT, nentries); in flush_tsb_user_page()
112 nentries = mm->context.tsb_block[MM_TSB_HUGE].tsb_nentries; in flush_tsb_user_page()
115 __flush_tsb_one_entry(base, vaddr, REAL_HPAGE_SHIFT, nentries); in flush_tsb_user_page()