Searched refs:seg (Results 1 – 1 of 1) sorted by relevance
154 int seg; in get_kernel_pages() local156 for (seg = 0; seg < nr_segs; seg++) { in get_kernel_pages()157 if (WARN_ON(kiov[seg].iov_len != PAGE_SIZE)) in get_kernel_pages()158 return seg; in get_kernel_pages()160 pages[seg] = kmap_to_page(kiov[seg].iov_base); in get_kernel_pages()161 get_page(pages[seg]); in get_kernel_pages()164 return seg; in get_kernel_pages()