Searched refs:CPU_TLB_ENTRY_BITS (Results 1 – 11 of 11) sorted by relevance
22 #define CPU_TLB_ENTRY_BITS 5 macro40 uint64_t addr_idx[(1 << CPU_TLB_ENTRY_BITS) / sizeof(uint64_t)];43 QEMU_BUILD_BUG_ON(sizeof(CPUTLBEntry) != (1 << CPU_TLB_ENTRY_BITS));
94 return (fast->mask >> CPU_TLB_ENTRY_BITS) + 1; in tlb_n_entries()99 return fast->mask + (1 << CPU_TLB_ENTRY_BITS); in sizeof_tlb()138 uintptr_t size_mask = cpu->neg.tlb.f[mmu_idx].mask >> CPU_TLB_ENTRY_BITS; in tlb_index()261 fast->mask = (new_size - 1) << CPU_TLB_ENTRY_BITS; in tlb_mmu_resize_locked()278 fast->mask = (new_size - 1) << CPU_TLB_ENTRY_BITS; in tlb_mmu_resize_locked()313 fast->mask = (n_entries - 1) << CPU_TLB_ENTRY_BITS; in tlb_mmu_init()
1247 s->page_bits - CPU_TLB_ENTRY_BITS);1250 s->page_bits - CPU_TLB_ENTRY_BITS);
1095 s->page_bits - CPU_TLB_ENTRY_BITS, SHIFT_SRL);
2489 s->page_bits - CPU_TLB_ENTRY_BITS);2492 s->page_bits - CPU_TLB_ENTRY_BITS);
1011 s->page_bits - CPU_TLB_ENTRY_BITS);
1731 s->page_bits - CPU_TLB_ENTRY_BITS);
1457 SHIFT_IMM_LSR(s->page_bits - CPU_TLB_ENTRY_BITS));
1781 s->page_bits - CPU_TLB_ENTRY_BITS);
1888 s->page_bits - CPU_TLB_ENTRY_BITS);
2190 s->page_bits - CPU_TLB_ENTRY_BITS);