Searched refs:page_array (Results 1 – 6 of 6) sorted by relevance
134 buf->page_array = relay_alloc_page_array(n_pages); in relay_alloc_buf()135 if (!buf->page_array) in relay_alloc_buf()139 buf->page_array[i] = alloc_page(GFP_KERNEL); in relay_alloc_buf()140 if (unlikely(!buf->page_array[i])) in relay_alloc_buf()142 set_page_private(buf->page_array[i], (unsigned long)buf); in relay_alloc_buf()144 mem = vmap(buf->page_array, n_pages, VM_MAP, PAGE_KERNEL); in relay_alloc_buf()154 __free_page(buf->page_array[j]); in relay_alloc_buf()155 relay_free_page_array(buf->page_array); in relay_alloc_buf()217 __free_page(buf->page_array[i]); in relay_destroy_buf()218 relay_free_page_array(buf->page_array); in relay_destroy_buf()[all …]
47 if (pagecount <= ARRAY_SIZE(p->page_array)) in nfs_readdata_alloc()48 p->pagevec = p->page_array; in nfs_readdata_alloc()62 if (p && (p->pagevec != &p->page_array[0])) in nfs_readdata_free()
67 if (p && (p->pagevec != &p->page_array[0])) in nfs_commit_free()81 if (pagecount <= ARRAY_SIZE(p->page_array)) in nfs_writedata_alloc()82 p->pagevec = p->page_array; in nfs_writedata_alloc()96 if (p && (p->pagevec != &p->page_array[0])) in nfs_writedata_free()
990 struct page **page_array; in sep_lock_user_pages() local1010 page_array = kmalloc(sizeof(struct page *) * num_pages, GFP_ATOMIC); in sep_lock_user_pages()1011 if (!page_array) { in sep_lock_user_pages()1036 0, page_array, NULL); in sep_lock_user_pages()1063 dma_map_page(&sep->pdev->dev, page_array[count], in sep_lock_user_pages()1113 sep->dma_res_arr[sep->nr_dcb_creat].in_page_array = page_array; in sep_lock_user_pages()1121 page_array; in sep_lock_user_pages()1137 kfree(page_array); in sep_lock_user_pages()
45 struct page **page_array; /* array of current buffer pages */ member
1166 struct page *page_array[NFS_PAGEVEC_SIZE]; member1192 struct page *page_array[NFS_PAGEVEC_SIZE]; member