Home
last modified time | relevance | path

Searched defs:nr_pages (Results 1 – 25 of 94) sorted by relevance

1234

/drivers/misc/mic/scif/
Dscif_rma.c81 scif_create_pinned_pages(int nr_pages, int prot) in scif_create_pinned_pages()
139 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, in scif_create_window()
188 int nr_pages = window->nr_pages; in scif_destroy_incomplete_window() local
266 int nr_pages) in __scif_dec_pinned_vm_lock()
276 int nr_pages) in __scif_check_inc_pinned_vm()
307 int nr_pages = window->nr_pages; in scif_destroy_window() local
354 int nr_pages = window->nr_pages; in scif_create_remote_lookup() local
464 scif_create_remote_window(struct scif_dev *scifdev, int nr_pages) in scif_create_remote_window()
1045 int nr_pages = msg->payload[1]; in scif_alloc_req() local
1311 int nr_pages, err = 0, i; in __scif_pin_pages() local
[all …]
Dscif_mmap.c218 int nr_pages, err, i; in scif_get_pages() local
373 int nr_pages, struct vm_area_struct *vma) in scif_rma_list_mmap()
450 s64 offset, int nr_pages) in scif_rma_list_munmap()
546 int nr_pages = vma_pages(vma); in scif_munmap() local
608 int nr_pages = vma_pages(vma); in scif_mmap() local
Dscif_rma.h187 s64 nr_pages; member
256 s64 nr_pages; member
439 static inline void scif_get_window(struct scif_window *window, int nr_pages) in scif_get_window()
444 static inline void scif_put_window(struct scif_window *window, int nr_pages) in scif_put_window()
449 static inline void scif_set_window_ref(struct scif_window *window, int nr_pages) in scif_set_window_ref()
Dscif_rma_list.c195 s64 offset, int nr_pages) in scif_rma_list_unregister()
/drivers/xen/
Dballoon.c414 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation()
453 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation()
566 static int add_ballooned_pages(int nr_pages) in add_ballooned_pages()
597 int alloc_xenballooned_pages(int nr_pages, struct page **pages) in alloc_xenballooned_pages()
644 void free_xenballooned_pages(int nr_pages, struct page **pages) in free_xenballooned_pages()
Dprivcmd.c453 unsigned long nr_pages; in privcmd_ioctl_mmap_batch() local
585 struct page *pages[], unsigned int nr_pages) in lock_pages()
612 static void unlock_pages(struct page *pages[], unsigned int nr_pages) in unlock_pages()
630 unsigned int nr_pages = 0; in privcmd_ioctl_dm_op() local
951 unsigned long nr_pages) in privcmd_vma_range_is_mapped()
Dgrant-table.c776 int gnttab_pages_set_private(int nr_pages, struct page **pages) in gnttab_pages_set_private()
802 int gnttab_alloc_pages(int nr_pages, struct page **pages) in gnttab_alloc_pages()
818 void gnttab_pages_clear_private(int nr_pages, struct page **pages) in gnttab_pages_clear_private()
838 void gnttab_free_pages(int nr_pages, struct page **pages) in gnttab_free_pages()
/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c63 int nr_pages) in videobuf_vmalloc_to_sg()
93 int nr_pages, int offset, size_t size) in videobuf_pages_to_sg()
211 int nr_pages) in videobuf_dma_init_kernel()
270 dma_addr_t addr, int nr_pages) in videobuf_dma_init_overlay()
/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c45 int nr_pages; member
122 tmc_etr_sg_table_entries(int nr_pages) in tmc_etr_sg_table_entries()
194 int i, nr_pages; in tmc_pages_alloc() local
1204 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf()
1242 struct perf_event *event, int nr_pages, in get_perf_etr_buf_cpu_wide()
1306 struct perf_event *event, int nr_pages, in get_perf_etr_buf_per_thread()
1318 int nr_pages, void **pages, bool snapshot) in get_perf_etr_buf()
1330 int nr_pages, void **pages, bool snapshot) in tmc_etr_setup_perf_buf()
1363 int nr_pages, bool snapshot) in tmc_alloc_etr_buffer()
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c93 int i, nr_pages; in hw_queue_dtor() local
358 int nr_pages, int wqe_size, int act_nr_sges, in ehea_qp_alloc_register()
608 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add) in ehea_update_busmap()
651 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_add_sect_bmap()
661 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_rem_sect_bmap()
689 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
/drivers/staging/android/ion/heaps/
Dion_cma_heap.c34 unsigned long nr_pages = size >> PAGE_SHIFT; in ion_cma_allocate() local
89 unsigned long nr_pages = PAGE_ALIGN(buffer->size) >> PAGE_SHIFT; in ion_cma_free() local
/drivers/firmware/efi/libstub/
Defi-stub-helper.c177 unsigned long nr_pages; in efi_high_alloc() local
272 unsigned long nr_pages; in efi_low_alloc_above() local
341 unsigned long nr_pages; in efi_free() local
702 unsigned long nr_pages; in efi_relocate_kernel() local
Darm32-stub.c71 unsigned long nr_pages, map_size, desc_size, buff_size; in reserve_kernel_base() local
/drivers/s390/char/
Dvmcp.c63 int nr_pages, order; in vmcp_response_alloc() local
84 int nr_pages, order; in vmcp_response_free() local
/drivers/media/common/saa7146/
Dsaa7146_core.c137 static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) in vmalloc_to_sg()
239 int nr_pages = 0; in saa7146_pgtable_build_single() local
/drivers/tee/optee/
Dshm_pool.c31 unsigned int nr_pages = 1 << order, i; in pool_op_alloc() local
/drivers/mtd/devices/
Dmtd_dataflash.c615 static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages, in add_dataflash_otp()
673 int nr_pages, int pagesize, int pageoffset) in add_dataflash()
688 unsigned nr_pages; member
/drivers/xen/xenbus/
Dxenbus_client.c360 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring()
555 unsigned int nr_pages = XENBUS_PAGES(nr_grefs); in xenbus_map_ring_valloc_hvm() local
822 unsigned int nr_pages; in xenbus_unmap_ring_vfree_hvm() local
/drivers/base/
Dmemory.c234 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_action() local
383 unsigned long nr_pages, int online_type, in print_allowed_zone()
400 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show() local
/drivers/nvdimm/
Dpmem.c244 long nr_pages, void **kaddr, pfn_t *pfn) in __pmem_direct_access()
273 pgoff_t pgoff, long nr_pages, void **kaddr, pfn_t *pfn) in pmem_dax_direct_access()
/drivers/gpu/drm/virtio/
Dvirtgpu_object.c202 int nr_pages = bo->tbo.num_pages; in virtio_gpu_object_get_sg_table() local
/drivers/media/pci/cx25821/
Dcx25821-alsa.c57 int nr_pages; member
134 static int cx25821_alsa_dma_init(struct cx25821_audio_dev *chip, int nr_pages) in cx25821_alsa_dma_init()
/drivers/md/
Ddm-target.c145 long nr_pages, void **kaddr, pfn_t *pfn) in io_err_dax_direct_access()
/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c79 unsigned int nr_pages; in exynos_drm_fbdev_update() local
/drivers/edac/
Dcell_edac.c135 u32 nr_pages; in cell_edac_init_csrows() local

1234