Lines Matching refs:memory
22 static void *memory; variable
32 volatile char *m = memory; in tlbie_fn()
77 memory = alloc_vpages(1); in test_tlbie()
78 ptep = install_page(NULL, p[0], memory); in test_tlbie()
80 assert(ptep == install_page(NULL, p[1], memory)); in test_tlbie()
82 assert(ptep == install_page(NULL, p[0], memory)); in test_tlbie()
84 flush_tlb_page((unsigned long)memory); in test_tlbie()
95 flush_tlb_page((unsigned long)memory); in test_tlbie()
101 flush_tlb_page((unsigned long)memory); in test_tlbie()
141 memory = alloc_vpages(1); in test_tlbie_this_cpu()
142 ptep = install_page(NULL, p[0], memory); in test_tlbie_this_cpu()
144 assert(ptep == install_page(NULL, p[1], memory)); in test_tlbie_this_cpu()
146 assert(ptep == install_page(NULL, p[0], memory)); in test_tlbie_this_cpu()
148 flush_tlb_page((unsigned long)memory); in test_tlbie_this_cpu()
155 if (*(long *)memory != 0) { in test_tlbie_this_cpu()
160 flush_tlb_page_local((unsigned long)memory); in test_tlbie_this_cpu()
161 if (*(long *)memory != -1) { in test_tlbie_this_cpu()
166 flush_tlb_page_local((unsigned long)memory); in test_tlbie_this_cpu()
171 flush_tlb_page((unsigned long)memory); in test_tlbie_this_cpu()
173 if (*(long *)memory != 0) { in test_tlbie_this_cpu()
178 flush_tlb_page((unsigned long)memory); in test_tlbie_this_cpu()
179 if (*(long *)memory != -1) { in test_tlbie_this_cpu()
184 flush_tlb_page((unsigned long)memory); in test_tlbie_this_cpu()