Home
last modified time | relevance | path

Searched refs:grefs_left (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/xen/
H A Dxen-front-pgdir-shbuf.c251 int ret, cur_gref, cur_dir_page, cur_page, grefs_left; in backend_map() local
271 grefs_left = buf->num_pages; in backend_map()
278 if (to_copy > grefs_left) in backend_map()
279 to_copy = grefs_left; in backend_map()
292 grefs_left -= to_copy; in backend_map()
362 int cur_gref, grefs_left, to_copy, i, num_pages_dir; in guest_fill_page_dir() local
372 grefs_left = buf->num_pages; in guest_fill_page_dir()
377 if (grefs_left <= XEN_NUM_GREFS_PER_PAGE) { in guest_fill_page_dir()
378 to_copy = grefs_left; in guest_fill_page_dir()
387 grefs_left -= to_copy; in guest_fill_page_dir()