Home
last modified time | relevance | path

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

/kernel/
Drelay.c71 static struct page **relay_alloc_page_array(unsigned int n_pages) in relay_alloc_page_array() argument
73 const size_t pa_size = n_pages * sizeof(struct page *); in relay_alloc_page_array()
129 unsigned int i, j, n_pages; in relay_alloc_buf() local
132 n_pages = *size >> PAGE_SHIFT; in relay_alloc_buf()
134 buf->page_array = relay_alloc_page_array(n_pages); in relay_alloc_buf()
138 for (i = 0; i < n_pages; i++) { in relay_alloc_buf()
144 mem = vmap(buf->page_array, n_pages, VM_MAP, PAGE_KERNEL); in relay_alloc_buf()
149 buf->page_count = n_pages; in relay_alloc_buf()