Lines Matching full:1
46 asm volatile (".rept 256 ; lbz %0,0(%1) ; tdnei %0,0 ; .endr" : "=&r"(tmp) : "r"(m)); in tlbie_fn()
73 m[1] = alloc_page(); in test_tlbie()
74 p[1] = virt_to_phys(m[1]); in test_tlbie()
75 memset(m[1], 0, PAGE_SIZE); in test_tlbie()
77 memory = alloc_vpages(1); in test_tlbie()
80 assert(ptep == install_page(NULL, p[1], memory)); in test_tlbie()
81 pteval[1] = *ptep; in test_tlbie()
89 while (tlbie_fn_started < nr_cpus_present - 1) { in test_tlbie()
94 *ptep = pteval[1]; in test_tlbie()
96 *(long *)m[0] = -1; in test_tlbie()
102 *(long *)m[1] = -1; in test_tlbie()
104 *(long *)m[1] = 0; in test_tlbie()
137 m[1] = alloc_page(); in test_tlbie_this_cpu()
138 p[1] = virt_to_phys(m[1]); in test_tlbie_this_cpu()
139 memset(m[1], 0, PAGE_SIZE); in test_tlbie_this_cpu()
141 memory = alloc_vpages(1); in test_tlbie_this_cpu()
144 assert(ptep == install_page(NULL, p[1], memory)); in test_tlbie_this_cpu()
145 pteval[1] = *ptep; in test_tlbie_this_cpu()
151 *(long *)m[1] = -1; in test_tlbie_this_cpu()
159 *ptep = pteval[1]; in test_tlbie_this_cpu()
161 if (*(long *)memory != -1) { in test_tlbie_this_cpu()
177 *ptep = pteval[1]; in test_tlbie_this_cpu()
179 if (*(long *)memory != -1) { in test_tlbie_this_cpu()
211 all = argc == 1 || !strcmp(argv[1], "all"); in main()
216 if (all || strcmp(argv[1], hctests[i].name) == 0) { in main()