Lines Matching refs:i
45 int i; in resync_alloc_pages() local
47 for (i = 0; i < RESYNC_PAGES; i++) { in resync_alloc_pages()
48 rp->pages[i] = alloc_page(gfp_flags); in resync_alloc_pages()
49 if (!rp->pages[i]) in resync_alloc_pages()
56 while (--i >= 0) in resync_alloc_pages()
57 put_page(rp->pages[i]); in resync_alloc_pages()
63 int i; in resync_free_pages() local
65 for (i = 0; i < RESYNC_PAGES; i++) in resync_free_pages()
66 put_page(rp->pages[i]); in resync_free_pages()
71 int i; in resync_get_all_pages() local
73 for (i = 0; i < RESYNC_PAGES; i++) in resync_get_all_pages()
74 get_page(rp->pages[i]); in resync_get_all_pages()