Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/goldfish/
Dgoldfish_pipe.c335 static void release_user_pages(struct page **pages, int pages_count, in release_user_pages() argument
340 for (i = 0; i < pages_count; i++) { in release_user_pages()
349 struct page **pages, int pages_count, in populate_rw_params() argument
368 for (; i < pages_count; ++i) { in populate_rw_params()
370 size_on_page = (i == pages_count - 1) ? in populate_rw_params()
392 int pages_count = pin_user_pages(first_page, last_page, in transfer_max_buffers() local
396 if (pages_count < 0) in transfer_max_buffers()
397 return pages_count; in transfer_max_buffers()
403 populate_rw_params(pages, pages_count, address, address_end, in transfer_max_buffers()
413 release_user_pages(pages, pages_count, is_write, *consumed_size); in transfer_max_buffers()
/Linux-v4.19/tools/testing/selftests/kvm/
Ddirty_log_test.c110 uint64_t loops, *guest_array, pages_count = 0; in vcpu_worker() local
130 pages_count += TEST_PAGES_PER_LOOP; in vcpu_worker()
140 DEBUG("VCPU exits, dirtied %"PRIu64" pages\n", pages_count); in vcpu_worker()