Home
last modified time | relevance | path

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

123

/drivers/misc/mic/scif/
Dscif_rma.c88 scif_create_pinned_pages(int nr_pages, int prot) in scif_create_pinned_pages()
146 struct scif_window *scif_create_window(struct scif_endpt *ep, int nr_pages, in scif_create_window()
195 int nr_pages = window->nr_pages; in scif_destroy_incomplete_window() local
273 int nr_pages, bool try_lock) in __scif_dec_pinned_vm_lock()
292 int nr_pages) in __scif_check_inc_pinned_vm()
323 int nr_pages = window->nr_pages; in scif_destroy_window() local
370 int nr_pages = window->nr_pages; in scif_create_remote_lookup() local
480 scif_create_remote_window(struct scif_dev *scifdev, int nr_pages) in scif_create_remote_window()
1061 int nr_pages = msg->payload[1]; in scif_alloc_req() local
1327 int nr_pages, err = 0, i; in __scif_pin_pages() local
[all …]
Dscif_mmap.c227 int nr_pages, err, i; in scif_get_pages() local
382 int nr_pages, struct vm_area_struct *vma) in scif_rma_list_mmap()
459 s64 offset, int nr_pages) in scif_rma_list_munmap()
555 int nr_pages = vma_pages(vma); in scif_munmap() local
617 int nr_pages = vma_pages(vma); in scif_mmap() local
Dscif_rma.h187 s64 nr_pages; member
243 s64 nr_pages; member
426 static inline void scif_get_window(struct scif_window *window, int nr_pages) in scif_get_window()
431 static inline void scif_put_window(struct scif_window *window, int nr_pages) in scif_put_window()
436 static inline void scif_set_window_ref(struct scif_window *window, int nr_pages) in scif_set_window_ref()
Dscif_rma_list.c204 s64 offset, int nr_pages) in scif_rma_list_unregister()
/drivers/xen/
Dballoon.c418 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation()
489 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation()
619 static int add_ballooned_pages(int nr_pages) in add_ballooned_pages()
647 int alloc_xenballooned_pages(int nr_pages, struct page **pages) in alloc_xenballooned_pages()
692 void free_xenballooned_pages(int nr_pages, struct page **pages) in free_xenballooned_pages()
Dprivcmd.c425 unsigned long nr_pages; in privcmd_ioctl_mmap_batch() local
641 unsigned long nr_pages) in privcmd_vma_range_is_mapped()
Dxlate_mmu.c222 unsigned long nr_pages; in xen_xlate_map_ballooned_pages() local
/drivers/media/v4l2-core/
Dvideobuf-dma-sg.c66 int nr_pages) in videobuf_vmalloc_to_sg()
96 int nr_pages, int offset, size_t size) in videobuf_pages_to_sg()
213 int nr_pages) in videobuf_dma_init_kernel()
273 dma_addr_t addr, int nr_pages) in videobuf_dma_init_overlay()
/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c107 int i, nr_pages; in hw_queue_dtor() local
378 int nr_pages, int wqe_size, int act_nr_sges, in ehea_qp_alloc_register()
628 static int ehea_update_busmap(unsigned long pfn, unsigned long nr_pages, int add) in ehea_update_busmap()
671 int ehea_add_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_add_sect_bmap()
681 int ehea_rem_sect_bmap(unsigned long pfn, unsigned long nr_pages) in ehea_rem_sect_bmap()
709 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
/drivers/firmware/efi/libstub/
Defi-stub-helper.c179 unsigned long nr_pages; in efi_high_alloc() local
272 unsigned long nr_pages; in efi_low_alloc() local
344 unsigned long nr_pages; in efi_free() local
604 unsigned long nr_pages; in efi_relocate_kernel() local
Darm32-stub.c74 unsigned long nr_pages; in handle_kernel_image() local
/drivers/media/common/saa7146/
Dsaa7146_core.c149 static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) in vmalloc_to_sg()
251 int nr_pages = 0; in saa7146_pgtable_build_single() local
/drivers/mtd/devices/
Dmtd_dataflash.c622 static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages, in add_dataflash_otp()
680 int nr_pages, int pagesize, int pageoffset) in add_dataflash()
695 unsigned nr_pages; member
/drivers/xen/xenbus/
Dxenbus_client.c381 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring()
634 unsigned int nr_pages = XENBUS_PAGES(nr_grefs); in xenbus_map_ring_valloc_hvm() local
836 unsigned int nr_pages; in xenbus_unmap_ring_vfree_hvm() local
/drivers/gpu/drm/virtio/
Dvirtgpu_object.c126 int nr_pages = bo->tbo.num_pages; in virtio_gpu_object_get_sg_table() local
/drivers/media/pci/cx25821/
Dcx25821-alsa.c70 int nr_pages; member
147 static int cx25821_alsa_dma_init(struct cx25821_audio_dev *chip, int nr_pages) in cx25821_alsa_dma_init()
/drivers/hwtracing/coresight/
Dcoresight-priv.h85 unsigned int nr_pages; member
Dcoresight-tmc-etr.c253 void **pages, int nr_pages, bool overwrite) in tmc_alloc_etr_buffer()
/drivers/edac/
Dcell_edac.c135 u32 nr_pages; in cell_edac_init_csrows() local
/drivers/base/
Dmemory.c228 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_action() local
395 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in show_valid_zones() local
/drivers/gpu/drm/exynos/
Dexynos_drm_fbdev.c84 unsigned int nr_pages; in exynos_drm_fbdev_update() local
/drivers/hwtracing/intel_th/
Dmsu.c113 unsigned long nr_pages; member
854 static int msc_buffer_multi_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_multi_alloc()
905 static int msc_buffer_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_alloc()
/drivers/md/
Ddm-kcopyd.c285 static int client_reserve_pages(struct dm_kcopyd_client *kc, unsigned nr_pages) in client_reserve_pages()
522 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job() local
/drivers/media/pci/cx88/
Dcx88-alsa.c68 int nr_pages; member
294 static int cx88_alsa_dma_init(struct cx88_audio_dev *chip, int nr_pages) in cx88_alsa_dma_init()
/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.c242 int cxgbi_ppm_ppods_reserve(struct cxgbi_ppm *ppm, unsigned short nr_pages, in cxgbi_ppm_ppods_reserve()

123