Lines Matching refs:i
42 for (int i = 0; i < N_PAGES; i++) { local
44 pa[i] = POINTER_TO_UINT(&page_buf[i]);
56 for (int i = 0; i < N_PAGES; i++) { local
57 vps[i].mem[0] = markers[i];
63 sys_cache_data_flush_range(&vps[i].mem[0], PAGE_SZ);
71 sys_cache_data_invd_range(UINT_TO_POINTER(pa[i]), PAGE_SZ);
75 for (int i = 0; i < N_PAGES; i++) { local
76 zassert_equal(vps[i].mem[0], *(uint32_t *)pa[i],
78 vps[i].mem[0], *(uint32_t *)pa[i]);
94 for (int i = 0; i < N_PAGES; i++) { local
95 zassert_equal(vps2[i].mem[0], *(uint32_t *)pa[i],
103 for (int i = 0; i < N_PAGES; i++) { local
105 new_pages[i] = POINTER_TO_UINT(&page_buf[i + N_PAGES]);
120 for (int i = 0; i < N_PAGES; i++) { local
121 zassert_equal(vps3[i].mem[0], *(uint32_t *)pa[i],
123 vps3[i].mem[0], *(uint32_t *)pa[i]);
129 for (int i = 0; i < N_PAGES; i++) { local
130 vps3[i].mem[0] = poison;
136 sys_cache_data_flush_range(&vps3[i].mem[0], PAGE_SZ);
138 zassert_equal(*(int *)pa[i], markers[i],
147 for (int i = 0; i < N_PAGES; i++) { local
148 zassert_equal(vps3[i].mem[0], poison,
153 for (int i = 0; i < N_PAGES; i++) { local
154 zassert_equal(*(int *)pa[i], markers[i],
168 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
170 pa[i] = POINTER_TO_UINT(&page_buf[i * 2]); in ZTEST()
182 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
183 vps[i].mem[0] = markers[i]; in ZTEST()
189 sys_cache_data_flush_range(&vps[i].mem[0], PAGE_SZ); in ZTEST()
197 sys_cache_data_invd_range(UINT_TO_POINTER(pa[i]), PAGE_SZ); in ZTEST()
201 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
202 zassert_equal(vps[i].mem[0], *(uint32_t *)pa[i], in ZTEST()
204 vps[i].mem[0], *(uint32_t *)pa[i]); in ZTEST()
220 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
221 zassert_equal(vps2[i].mem[0], *(uint32_t *)pa[i], in ZTEST()
229 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
231 new_pages[i] = POINTER_TO_UINT(&page_buf[i * 2 + 1]); in ZTEST()
246 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
247 zassert_equal(vps3[i].mem[0], *(uint32_t *)pa[i], in ZTEST()
249 vps3[i].mem[0], *(uint32_t *)pa[i]); in ZTEST()
255 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
256 vps3[i].mem[0] = poison; in ZTEST()
262 sys_cache_data_flush_range(&vps3[i].mem[0], PAGE_SZ); in ZTEST()
264 zassert_equal(*(int *)pa[i], markers[i], in ZTEST()
273 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
274 zassert_equal(vps3[i].mem[0], poison, in ZTEST()
279 for (int i = 0; i < N_PAGES; i++) { in ZTEST() local
280 zassert_equal(*(int *)pa[i], markers[i], in ZTEST()