Searched refs:page_list (Results 1 - 25 of 75) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/dma/
H A Diovlock.c71 /* single kmalloc for pinned list, page_list[], and the page arrays */
79 pages = (struct page **) &local_list->page_list[nr_iovecs];
84 struct dma_page_list *page_list = &local_list->page_list[i]; local
91 page_list->nr_pages = num_pages_spanned(&iov[i]);
92 page_list->base_address = iov[i].iov_base;
94 page_list->pages = pages;
95 pages += page_list->nr_pages;
103 page_list->nr_pages,
106 page_list
132 struct dma_page_list *page_list = &pinned_list->page_list[i]; local
165 struct dma_page_list *page_list; local
234 struct dma_page_list *page_list; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c122 if (array->page_list[p].page)
123 return array->page_list[p].page[index & MTHCA_ARRAY_MASK];
133 if (!array->page_list[p].page)
134 array->page_list[p].page = (void **) get_zeroed_page(GFP_ATOMIC);
136 if (!array->page_list[p].page)
139 array->page_list[p].page[index & MTHCA_ARRAY_MASK] = value;
140 ++array->page_list[p].used;
149 if (--array->page_list[p].used == 0) {
150 free_page((unsigned long) array->page_list[p].page);
151 array->page_list[
[all...]
H A Dmthca_eq.c231 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE;
483 eq->page_list = kmalloc(npages * sizeof *eq->page_list,
485 if (!eq->page_list)
489 eq->page_list[i].buf = NULL;
501 eq->page_list[i].buf = dma_alloc_coherent(&dev->pdev->dev,
503 if (!eq->page_list[i].buf)
507 dma_unmap_addr_set(&eq->page_list[i], mapping, t);
509 clear_page(eq->page_list[i].buf);
579 if (eq->page_list[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Ddm-io.h23 struct page_list { struct
24 struct page_list *next;
43 struct page_list *pl;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dmachine_kexec_32.c35 unsigned long page_list; local
42 page_list = image->head;
59 (*rnk)(page_list, reboot_code_buffer_phys, image->start);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/core/
H A Dumem.c45 ((PAGE_SIZE - offsetof(struct ib_umem_chunk, page_list)) / \
46 ((void *) &((struct ib_umem_chunk *) 0)->page_list[1] - \
47 (void *) &((struct ib_umem_chunk *) 0)->page_list[0]))
55 ib_dma_unmap_sg(dev, chunk->page_list,
58 struct page *page = sg_page(&chunk->page_list[i]);
81 struct page **page_list; local
121 page_list = (struct page **) __get_free_page(GFP_KERNEL);
122 if (!page_list) {
154 1, !umem->writable, page_list, vma_list);
174 sg_init_table(chunk->page_list, chun
[all...]
H A Dfmr_pool.c114 u64 *page_list,
125 bucket = pool->cache_bucket + ib_fmr_hash(*page_list);
130 !memcmp(page_list, fmr->page_list,
131 page_list_len * sizeof *page_list))
428 * @page_list:List of pages to map
429 * @list_len:Number of pages in @page_list
435 u64 *page_list,
449 page_list,
474 result = ib_map_phys_fmr(fmr->fmr, page_list, list_le
113 ib_fmr_cache_lookup(struct ib_fmr_pool *pool, u64 *page_list, int page_list_len, u64 io_virtual_address) argument
434 ib_fmr_pool_map_phys(struct ib_fmr_pool *pool_handle, u64 *page_list, int list_len, u64 io_virtual_address) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/rdma/
H A Dib_fmr_pool.h76 u64 page_list[0]; member in struct:ib_pool_fmr
87 u64 *page_list,
H A Dib_umem.h59 struct scatterlist page_list[0]; member in struct:ib_umem_chunk
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/kernel/
H A Dmachine_kexec.c50 unsigned long page_list; local
55 page_list = image->head & PAGE_MASK;
64 kexec_indirection_page = page_list;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mlx4/
H A Dmr.c97 len = sg_dma_len(&chunk->page_list[j]) >> mtt->page_shift;
99 pages[i++] = sg_dma_address(&chunk->page_list[j]) +
236 mfrpl->ibfrpl.page_list = kmalloc(size, GFP_KERNEL);
237 if (!mfrpl->ibfrpl.page_list)
251 kfree(mfrpl->ibfrpl.page_list);
256 void mlx4_ib_free_fast_reg_page_list(struct ib_fast_reg_page_list *page_list) argument
258 struct mlx4_ib_dev *dev = to_mdev(page_list->device);
259 struct mlx4_ib_fast_reg_page_list *mfrpl = to_mfrpl(page_list);
260 int size = page_list->max_page_list_len * sizeof (u64);
264 kfree(mfrpl->ibfrpl.page_list);
302 mlx4_ib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, int npages, u64 iova) argument
[all...]
H A Ddoorbell.c77 db->dma = sg_dma_address(chunk->page_list) + (virt & ~PAGE_MASK);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Ddmapool.c19 * allocated pages. Each page in the page_list is split into blocks of at
45 struct list_head page_list; member in struct:dma_pool
57 struct list_head page_list; member in struct:dma_page
90 list_for_each_entry(page, &pool->page_list, page_list) {
169 INIT_LIST_HEAD(&retval->page_list);
229 list_add(&page->page_list, &pool->page_list);
252 list_del(&page->page_list);
272 while (!list_empty(&pool->page_list)) {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/net/mlx4/
H A Dmr.c381 int start_index, int npages, u64 *page_list)
406 mtts[i] = cpu_to_be64(page_list[i] | MLX4_MTT_FLAG_PRESENT);
415 int start_index, int npages, u64 *page_list)
425 err = mlx4_write_mtt_chunk(dev, mtt, start_index, chunk, page_list);
431 page_list += chunk;
441 u64 *page_list; local
445 page_list = kmalloc(buf->npages * sizeof *page_list, GFP_KERNEL);
446 if (!page_list)
451 page_list[
380 mlx4_write_mtt_chunk(struct mlx4_dev *dev, struct mlx4_mtt *mtt, int start_index, int npages, u64 *page_list) argument
414 mlx4_write_mtt(struct mlx4_dev *dev, struct mlx4_mtt *mtt, int start_index, int npages, u64 *page_list) argument
505 mlx4_check_fmr(struct mlx4_fmr *fmr, u64 *page_list, int npages, u64 iova) argument
532 mlx4_map_phys_fmr(struct mlx4_dev *dev, struct mlx4_fmr *fmr, u64 *page_list, int npages, u64 iova, u32 *lkey, u32 *rkey) argument
[all...]
H A Dalloc.c191 buf->page_list = kzalloc(buf->nbufs * sizeof *buf->page_list,
193 if (!buf->page_list)
197 buf->page_list[i].buf =
200 if (!buf->page_list[i].buf)
203 buf->page_list[i].map = t;
205 memset(buf->page_list[i].buf, 0, PAGE_SIZE);
214 pages[i] = virt_to_page(buf->page_list[i].buf);
243 if (buf->page_list[i].buf)
245 buf->page_list[
[all...]
H A Deq.c155 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE;
363 eq->page_list = kmalloc(npages * sizeof *eq->page_list,
365 if (!eq->page_list)
369 eq->page_list[i].buf = NULL;
381 eq->page_list[i].buf = dma_alloc_coherent(&dev->pdev->dev,
383 if (!eq->page_list[i].buf)
387 eq->page_list[i].map = t;
389 memset(eq->page_list[i].buf, 0, PAGE_SIZE);
442 if (eq->page_list[
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kernel/
H A Dmachine_kexec_32.c185 unsigned long page_list[PAGES_NR]; local
223 page_list[PA_CONTROL_PAGE] = __pa(control_page);
224 page_list[VA_CONTROL_PAGE] = (unsigned long)control_page;
225 page_list[PA_PGD] = __pa(image->arch.pgd);
228 page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page)
251 (unsigned long)page_list,
H A Dmachine_kexec_64.c274 unsigned long page_list[PAGES_NR]; local
305 page_list[PA_CONTROL_PAGE] = virt_to_phys(control_page);
306 page_list[VA_CONTROL_PAGE] = (unsigned long)control_page;
307 page_list[PA_TABLE_PAGE] =
311 page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page)
334 (unsigned long)page_list,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/md/
H A Ddm-kcopyd.c36 struct page_list *pages;
70 static struct page_list *alloc_pl(void)
72 struct page_list *pl;
87 static void free_pl(struct page_list *pl)
94 unsigned int nr, struct page_list **pages)
96 struct page_list *pl;
116 static void kcopyd_put_pages(struct dm_kcopyd_client *kc, struct page_list *pl)
118 struct page_list *cursor;
133 static void drop_pages(struct page_list *pl)
135 struct page_list *nex
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/sh/kernel/
H A Dmachine_kexec.c75 unsigned long page_list; local
105 page_list = image->head;
122 (*rnk)(page_list, reboot_code_buffer,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/xprtrdma/
H A Dsvc_rdma_sendto.c105 frmr->page_list->page_list[page_no] =
110 frmr->page_list->page_list[page_no]))
130 frmr->page_list->page_list[page_no] =
135 frmr->page_list->page_list[page_no]))
168 frmr->page_list->page_list[page_n
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/cxgb3/
H A Diwch_mem.c140 __be64 **page_list)
184 *page_list = kmalloc(sizeof(u64) * *npages, GFP_KERNEL);
185 if (!*page_list)
193 (*page_list)[n++] = cpu_to_be64(buffer_list[i].addr +
134 build_phys_page_list(struct ib_phys_buf *buffer_list, int num_phys_buf, u64 *iova_start, u64 *total_size, int *npages, int *shift, __be64 **page_list) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/
H A Dqib_keys.c289 u64 *page_list; local
312 page_list = wr->wr.fast_reg.page_list->page_list;
316 mr->map[m]->segs[n].vaddr = (void *) page_list[i];
H A Dqib_mr.c240 vaddr = page_address(sg_page(&chunk->page_list[i]));
327 pl->page_list = kmalloc(size, GFP_KERNEL);
328 if (!pl->page_list)
340 kfree(pl->page_list);
412 * @page_list: the list of pages to associate with the fast memory region
419 int qib_map_phys_fmr(struct ib_fmr *ibfmr, u64 *page_list, argument
445 fmr->mr.map[m]->segs[n].vaddr = (void *) page_list[i];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/cxgb4/
H A Dmem.c297 int *shift, __be64 **page_list)
341 *page_list = kmalloc(sizeof(u64) * *npages, GFP_KERNEL);
342 if (!*page_list)
350 (*page_list)[n++] = cpu_to_be64(buffer_list[i].addr +
370 __be64 *page_list = NULL; local
403 &shift, &page_list);
409 kfree(page_list);
431 __be64 *page_list; local
464 &page_list);
470 kfree(page_list);
294 build_phys_page_list(struct ib_phys_buf *buffer_list, int num_phys_buf, u64 *iova_start, u64 *total_size, int *npages, int *shift, __be64 **page_list) argument
[all...]

Completed in 281 milliseconds

123