/drivers/misc/mic/scif/ |
D | scif_rma.c | 81 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 …]
|
D | scif_mmap.c | 218 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
|
D | scif_rma.h | 187 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()
|
D | scif_rma_list.c | 195 s64 offset, int nr_pages) in scif_rma_list_unregister()
|
/drivers/xen/ |
D | balloon.c | 414 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()
|
D | privcmd.c | 453 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()
|
D | grant-table.c | 776 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/ |
D | videobuf-dma-sg.c | 63 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/ |
D | coresight-tmc-etr.c | 45 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/ |
D | ehea_qmr.c | 93 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/ |
D | ion_cma_heap.c | 34 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/ |
D | efi-stub-helper.c | 177 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
|
D | arm32-stub.c | 71 unsigned long nr_pages, map_size, desc_size, buff_size; in reserve_kernel_base() local
|
/drivers/s390/char/ |
D | vmcp.c | 63 int nr_pages, order; in vmcp_response_alloc() local 84 int nr_pages, order; in vmcp_response_free() local
|
/drivers/media/common/saa7146/ |
D | saa7146_core.c | 137 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/ |
D | shm_pool.c | 31 unsigned int nr_pages = 1 << order, i; in pool_op_alloc() local
|
/drivers/mtd/devices/ |
D | mtd_dataflash.c | 615 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/ |
D | xenbus_client.c | 360 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/ |
D | memory.c | 234 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/ |
D | pmem.c | 244 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/ |
D | virtgpu_object.c | 202 int nr_pages = bo->tbo.num_pages; in virtio_gpu_object_get_sg_table() local
|
/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 57 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/ |
D | dm-target.c | 145 long nr_pages, void **kaddr, pfn_t *pfn) in io_err_dax_direct_access()
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_fbdev.c | 79 unsigned int nr_pages; in exynos_drm_fbdev_update() local
|
/drivers/edac/ |
D | cell_edac.c | 135 u32 nr_pages; in cell_edac_init_csrows() local
|