Home
last modified time | relevance | path

Searched refs:page_list (Results 1 – 25 of 42) sorted by relevance

12

/linux/drivers/xen/
H A Dunpopulated-alloc.c16 static struct page *page_list; variable
134 pg->zone_device_data = page_list; in fill_list()
135 page_list = pg; in fill_list()
182 struct page *pg = page_list; in xen_alloc_unpopulated_pages()
185 page_list = pg->zone_device_data; in xen_alloc_unpopulated_pages()
196 pages[j]->zone_device_data = page_list; in xen_alloc_unpopulated_pages()
197 page_list = pages[j]; in xen_alloc_unpopulated_pages()
228 pages[i]->zone_device_data = page_list; in xen_free_unpopulated_pages()
229 page_list = pages[i]; in xen_free_unpopulated_pages()
/linux/arch/powerpc/kexec/
H A Dcore_32.c33 unsigned long page_list; in default_machine_kexec() local
44 page_list = image->head; in default_machine_kexec()
60 relocate_new_kernel(page_list, reboot_code_buffer_phys, image->start); in default_machine_kexec()
64 (*rnk)(page_list, reboot_code_buffer_phys, image->start); in default_machine_kexec()
/linux/arch/x86/kernel/
H A Dmachine_kexec_32.c164 unsigned long page_list[PAGES_NR]; in machine_kexec() local
196 page_list[PA_CONTROL_PAGE] = __pa(control_page); in machine_kexec()
197 page_list[VA_CONTROL_PAGE] = (unsigned long)control_page; in machine_kexec()
198 page_list[PA_PGD] = __pa(image->arch.pgd); in machine_kexec()
201 page_list[PA_SWAP_PAGE] = (page_to_pfn(image->swap_page) in machine_kexec()
224 (unsigned long)page_list, in machine_kexec()
/linux/drivers/comedi/
H A Dcomedi_buf.c28 if (bm->page_list) { in comedi_buf_map_kref_release()
31 buf = &bm->page_list[i]; in comedi_buf_map_kref_release()
38 buf = &bm->page_list[i]; in comedi_buf_map_kref_release()
43 vfree(bm->page_list); in comedi_buf_map_kref_release()
84 bm->page_list = vzalloc(sizeof(*buf) * n_pages); in comedi_buf_map_alloc()
85 if (!bm->page_list) in comedi_buf_map_alloc()
90 buf = &bm->page_list[i]; in comedi_buf_map_alloc()
99 buf = &bm->page_list[i]; in comedi_buf_map_alloc()
165 void *b = bm->page_list[pg].virt_addr + pgoff; in comedi_buf_map_access()
328 struct comedi_buf_page *buf_page_list = async->buf_map->page_list; in comedi_buf_munge()
[all …]
/linux/drivers/infiniband/hw/mthca/
H A Dmthca_eq.c231 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE; in get_eqe()
482 eq->page_list = kmalloc_objs(*eq->page_list, npages); in mthca_create_eq()
483 if (!eq->page_list) in mthca_create_eq()
487 eq->page_list[i].buf = NULL; in mthca_create_eq()
499 eq->page_list[i].buf = dma_alloc_coherent(&dev->pdev->dev, in mthca_create_eq()
501 if (!eq->page_list[i].buf) in mthca_create_eq()
505 dma_unmap_addr_set(&eq->page_list[i], mapping, t); in mthca_create_eq()
507 clear_page(eq->page_list[i].buf); in mthca_create_eq()
571 if (eq->page_list[i].buf) in mthca_create_eq()
573 eq->page_list[i].buf, in mthca_create_eq()
[all …]
H A Dmthca_provider.h54 struct mthca_buf_list *page_list; member
96 struct mthca_buf_list *page_list; member
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_validation.h61 struct list_head page_list; member
90 .page_list = LIST_HEAD_INIT((_name).page_list), \
H A Dvmwgfx_validation.c116 list_add_tail(&page->lru, &ctx->page_list); in vmw_validation_mem_alloc()
139 list_for_each_entry_safe(entry, next, &ctx->page_list, lru) { in vmw_validation_mem_free()
/linux/arch/arm/kernel/
H A Dmachine_kexec.c143 unsigned long page_list, reboot_entry_phys; in machine_kexec() local
156 page_list = image->head & PAGE_MASK; in machine_kexec()
167 data->kexec_indirection_page = page_list; in machine_kexec()
/linux/arch/sh/kernel/
H A Dmachine_kexec.c71 unsigned long page_list; in machine_kexec() local
101 page_list = image->head; in machine_kexec()
118 (*rnk)(page_list, reboot_code_buffer, in machine_kexec()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c597 buf->page_list = kzalloc_objs(*buf->page_list, buf->nbufs); in mlx4_buf_alloc()
598 if (!buf->page_list) in mlx4_buf_alloc()
602 buf->page_list[i].buf = in mlx4_buf_alloc()
605 if (!buf->page_list[i].buf) in mlx4_buf_alloc()
608 buf->page_list[i].map = t; in mlx4_buf_alloc()
630 if (buf->page_list[i].buf) in mlx4_buf_free()
633 buf->page_list[i].buf, in mlx4_buf_free()
634 buf->page_list[i].map); in mlx4_buf_free()
635 kfree(buf->page_list); in mlx4_buf_free()
H A Deq.c118 …return eq->page_list[offset / PAGE_SIZE].buf + (offset + (eqe_factor ? MLX4_EQ_ENTRY_SIZE : 0)) % … in get_eqe()
990 eq->page_list = kmalloc_objs(*eq->page_list, npages); in mlx4_create_eq()
991 if (!eq->page_list) in mlx4_create_eq()
995 eq->page_list[i].buf = NULL; in mlx4_create_eq()
1007 eq->page_list[i].buf = dma_alloc_coherent(&dev->persist-> in mlx4_create_eq()
1011 if (!eq->page_list[i].buf) in mlx4_create_eq()
1015 eq->page_list[i].map = t; in mlx4_create_eq()
1072 if (eq->page_list[i].buf) in mlx4_create_eq()
1074 eq->page_list[i].buf, in mlx4_create_eq()
1075 eq->page_list[i].map); in mlx4_create_eq()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c54 struct list_head page_list; member
117 INIT_LIST_HEAD(&pool->page_list); in mlx5_dma_pool_create()
178 list_move_tail(&page->pool_link, &pool->page_list); in mlx5_dma_pool_alloc_from_page()
190 page = list_first_entry_or_null(&pool->page_list, in mlx5_dma_pool_alloc()
199 list_add(&page->pool_link, &pool->page_list); in mlx5_dma_pool_alloc()
225 list_move(&page->pool_link, &pool->page_list); in mlx5_dma_pool_free()
239 list_for_each_entry(page, &pool->page_list, pool_link) { in mlx5_dma_pool_debugfs_get_stats()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-io.rst25 struct page_list {
26 struct page_list *next;
31 struct page_list *pl, unsigned int offset,
34 struct page_list *pl, unsigned int offset,
/linux/drivers/vfio/pci/mlx5/
H A Dcmd.h56 struct page **page_list; member
135 struct page **page_list; member
241 return buf->page_list[page_entry]; in mlx5vf_get_migration_page()
/linux/drivers/accel/qaic/
H A Dqaic_control.c197 struct page **page_list; member
336 put_page(xfer->page_list[i]); in free_dma_xfers()
337 kfree(xfer->page_list); in free_dma_xfers()
399 struct page **page_list; in find_and_map_user_pages() local
426 page_list = kmalloc_objs(*page_list, nr_pages, in find_and_map_user_pages()
428 if (!page_list) { in find_and_map_user_pages()
437 ret = get_user_pages_fast(xfer_start_addr, nr_pages, 0, page_list); in find_and_map_user_pages()
452 ret = sg_alloc_table_from_pages(sgt, page_list, nr_pages, in find_and_map_user_pages()
465 xfer->page_list = page_list; in find_and_map_user_pages()
476 put_page(page_list[i]); in find_and_map_user_pages()
[all …]
/linux/include/uapi/linux/
H A Dvbox_vmmdev_types.h238 } page_list; member
261 } page_list; member
/linux/drivers/gpu/drm/imagination/
H A Dpvr_free_list.c226 u32 *page_list; in pvr_free_list_insert_pages_locked() local
230 page_list = pvr_gem_object_vmap(free_list->obj); in pvr_free_list_insert_pages_locked()
231 if (IS_ERR(page_list)) in pvr_free_list_insert_pages_locked()
232 return PTR_ERR(page_list); in pvr_free_list_insert_pages_locked()
247 page_list[offset++] = (u32)dma_pfn; in pvr_free_list_insert_pages_locked()
/linux/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.h80 struct scatterlist page_list[] __counted_by(nents);
/linux/drivers/vhost/
H A Dvdpa.c1107 struct page **page_list; in vhost_vdpa_pa_map() local
1118 page_list = (struct page **) __get_free_page(GFP_KERNEL); in vhost_vdpa_pa_map()
1119 if (!page_list) in vhost_vdpa_pa_map()
1152 gup_flags, page_list); in vhost_vdpa_pa_map()
1157 unpin_user_pages(page_list, pinned); in vhost_vdpa_pa_map()
1165 map_pfn = page_to_pfn(page_list[0]); in vhost_vdpa_pa_map()
1168 unsigned long this_pfn = page_to_pfn(page_list[i]); in vhost_vdpa_pa_map()
1186 unpin_user_pages(&page_list[i], in vhost_vdpa_pa_map()
1229 free_page((unsigned long)page_list); in vhost_vdpa_pa_map()
/linux/drivers/virt/vboxguest/
H A Dvboxguest_utils.c355 dst_parm->u.page_list.size = len; in hgcm_call_init_linaddr()
356 dst_parm->u.page_list.offset = *off_extra; in hgcm_call_init_linaddr()
585 dst_parm->u.page_list.size = src_parm->u.page_list.size; in hgcm_call_copy_back_result()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_adminq.c1131 __be64 *page_list; in gve_adminq_register_page_list() local
1136 page_list = dma_alloc_coherent(hdev, size, &page_list_bus, GFP_KERNEL); in gve_adminq_register_page_list()
1137 if (!page_list) in gve_adminq_register_page_list()
1141 page_list[i] = cpu_to_be64(qpl->page_buses[i]); in gve_adminq_register_page_list()
1152 dma_free_coherent(hdev, size, page_list, page_list_bus); in gve_adminq_register_page_list()
/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c1348 struct page **page_list = NULL; in vduse_dev_reg_umem() local
1366 page_list = __vmalloc(array_size(npages, sizeof(struct page *)), in vduse_dev_reg_umem()
1369 if (!page_list || !umem) in vduse_dev_reg_umem()
1379 page_list); in vduse_dev_reg_umem()
1386 page_list, pinned); in vduse_dev_reg_umem()
1392 umem->pages = page_list; in vduse_dev_reg_umem()
1401 unpin_user_pages(page_list, pinned); in vduse_dev_reg_umem()
1406 vfree(page_list); in vduse_dev_reg_umem()
/linux/drivers/misc/genwqe/
H A Dcard_base.h170 struct page **page_list; /* list of pages used by user buff */ member
/linux/drivers/md/
H A Ddm-integrity.c186 struct page_list *journal;
187 struct page_list *journal_io;
188 struct page_list *journal_xor;
189 struct page_list *recalc_bitmap;
190 struct page_list *may_write_bitmap;
590 static bool block_bitmap_op(struct dm_integrity_c *ic, struct page_list *bitmap, in block_bitmap_op()
696 static void block_bitmap_copy(struct dm_integrity_c *ic, struct page_list *dst, struct page_list *s… in block_bitmap_copy()
746 static struct journal_sector *access_page_list(struct dm_integrity_c *ic, struct page_list *pl, in access_page_list()
901 struct page_list *source_pl, *target_pl; in xor_journal()
4309 static void dm_integrity_free_page_list(struct page_list *pl) in dm_integrity_free_page_list()
[all …]

12