Lines Matching refs:j
87 unsigned long pages, i, j; in drm_legacy_sg_alloc() local
139 for (i = (unsigned long)entry->virtual, j = 0; j < pages; in drm_legacy_sg_alloc()
140 i += PAGE_SIZE, j++) { in drm_legacy_sg_alloc()
141 entry->pagelist[j] = vmalloc_to_page((void *)i); in drm_legacy_sg_alloc()
142 if (!entry->pagelist[j]) in drm_legacy_sg_alloc()
144 SetPageReserved(entry->pagelist[j]); in drm_legacy_sg_alloc()
162 for (j = 0; in drm_legacy_sg_alloc()
163 j < PAGE_SIZE / sizeof(unsigned long); in drm_legacy_sg_alloc()
164 j++, tmp++) { in drm_legacy_sg_alloc()
169 for (j = 0; in drm_legacy_sg_alloc()
170 j < PAGE_SIZE / sizeof(unsigned long); in drm_legacy_sg_alloc()
171 j++, tmp++) { in drm_legacy_sg_alloc()
180 for (j = 0; in drm_legacy_sg_alloc()
181 j < PAGE_SIZE / sizeof(unsigned long); in drm_legacy_sg_alloc()
182 j++, tmp++) { in drm_legacy_sg_alloc()