Lines Matching refs:npage
157 int npage; in gvt_unpin_guest_page() local
162 for (npage = 0; npage < total_pages; npage++) { in gvt_unpin_guest_page()
163 unsigned long cur_gfn = gfn + npage; in gvt_unpin_guest_page()
177 int npage; in gvt_pin_guest_page() local
185 for (npage = 0; npage < total_pages; npage++) { in gvt_pin_guest_page()
186 unsigned long cur_gfn = gfn + npage; in gvt_pin_guest_page()
199 npage++; in gvt_pin_guest_page()
204 if (npage == 0) in gvt_pin_guest_page()
206 else if (base_pfn + npage != pfn) { in gvt_pin_guest_page()
209 npage++; in gvt_pin_guest_page()
217 gvt_unpin_guest_page(vgpu, gfn, npage * PAGE_SIZE); in gvt_pin_guest_page()