Searched refs:seg (Results 1 – 1 of 1) sorted by relevance
172 int seg; in get_kernel_pages() local174 for (seg = 0; seg < nr_segs; seg++) { in get_kernel_pages()175 if (WARN_ON(kiov[seg].iov_len != PAGE_SIZE)) in get_kernel_pages()176 return seg; in get_kernel_pages()178 pages[seg] = kmap_to_page(kiov[seg].iov_base); in get_kernel_pages()179 get_page(pages[seg]); in get_kernel_pages()182 return seg; in get_kernel_pages()