Home
last modified time | relevance | path

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

1234

/drivers/xen/
Dunpopulated-alloc.c18 static int fill_list(unsigned int nr_pages) in fill_list()
111 int xen_alloc_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_alloc_unpopulated_pages()
159 void xen_free_unpopulated_pages(unsigned int nr_pages, struct page **pages) in xen_free_unpopulated_pages()
Dballoon.c402 static enum bp_state increase_reservation(unsigned long nr_pages) in increase_reservation()
441 static enum bp_state decrease_reservation(unsigned long nr_pages, gfp_t gfp) in decrease_reservation()
583 static int add_ballooned_pages(int nr_pages) in add_ballooned_pages()
616 int alloc_xenballooned_pages(int nr_pages, struct page **pages) in alloc_xenballooned_pages()
669 void free_xenballooned_pages(int nr_pages, struct page **pages) in free_xenballooned_pages()
Dprivcmd.c450 unsigned long nr_pages; in privcmd_ioctl_mmap_batch() local
582 struct page *pages[], unsigned int nr_pages, unsigned int *pinned) in lock_pages()
613 static void unlock_pages(struct page *pages[], unsigned int nr_pages) in unlock_pages()
623 unsigned int nr_pages = 0; in privcmd_ioctl_dm_op() local
958 unsigned long nr_pages) in privcmd_vma_range_is_mapped()
Dgrant-table.c781 int gnttab_pages_set_private(int nr_pages, struct page **pages) in gnttab_pages_set_private()
807 int gnttab_alloc_pages(int nr_pages, struct page **pages) in gnttab_alloc_pages()
946 void gnttab_pages_clear_private(int nr_pages, struct page **pages) in gnttab_pages_clear_private()
966 void gnttab_free_pages(int nr_pages, struct page **pages) in gnttab_free_pages()
/drivers/dma-buf/heaps/
Ddeferred-free-helper.c28 size_t nr_pages) in deferred_free()
47 size_t nr_pages; in free_one_item() local
67 unsigned long nr_pages; in get_freelist_nr_pages() local
Ddeferred-free-helper.h38 size_t nr_pages; member
/drivers/virtio/
Dvirtio_mem.c874 const unsigned long nr_pages = PFN_DOWN(vm->sbm.sb_size); in virtio_mem_sbm_notify_going_offline() local
890 const unsigned long nr_pages = PFN_DOWN(vm->sbm.sb_size); in virtio_mem_sbm_notify_cancel_offline() local
906 unsigned long nr_pages) in virtio_mem_bbm_notify_going_offline()
921 unsigned long nr_pages) in virtio_mem_bbm_notify_cancel_offline()
1070 unsigned long nr_pages, bool onlined) in virtio_mem_set_fake_offline()
1091 unsigned long nr_pages, bool onlined) in virtio_mem_clear_fake_offline()
1106 static void virtio_mem_fake_online(unsigned long pfn, unsigned long nr_pages) in virtio_mem_fake_online()
1142 static int virtio_mem_fake_offline(unsigned long pfn, unsigned long nr_pages) in virtio_mem_fake_offline()
1180 unsigned long nr_pages) in virtio_mem_fake_offline_going_offline()
1204 unsigned long nr_pages) in virtio_mem_fake_offline_cancel_offline()
[all …]
/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 unsigned long nr_pages) in videobuf_dma_init_kernel()
270 dma_addr_t addr, unsigned long nr_pages) in videobuf_dma_init_overlay()
/drivers/firmware/efi/libstub/
Drelocate.c29 unsigned long nr_pages; in efi_low_alloc_above() local
129 unsigned long nr_pages; in efi_relocate_kernel() local
Dmem.c125 unsigned long nr_pages; in efi_free() local
/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()
686 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
/drivers/hwtracing/coresight/
Dcoresight-tmc-etr.c43 int nr_pages; member
121 tmc_etr_sg_table_entries(int nr_pages) in tmc_etr_sg_table_entries()
193 int i, nr_pages; in tmc_pages_alloc() local
1254 int nr_pages, void **pages, bool snapshot) in alloc_etr_buf()
1292 struct perf_event *event, int nr_pages, in get_perf_etr_buf_cpu_wide()
1356 struct perf_event *event, int nr_pages, in get_perf_etr_buf_per_thread()
1368 int nr_pages, void **pages, bool snapshot) in get_perf_etr_buf()
1380 int nr_pages, void **pages, bool snapshot) in tmc_etr_setup_perf_buf()
1413 int nr_pages, bool snapshot) in tmc_alloc_etr_buffer()
/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/nvdimm/
Dpmem.c259 long nr_pages, void **kaddr, pfn_t *pfn) in __pmem_direct_access()
288 size_t nr_pages) in pmem_dax_zero_page_range()
298 pgoff_t pgoff, long nr_pages, void **kaddr, pfn_t *pfn) in pmem_dax_direct_access()
/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/base/
Dmemory.c181 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_online() local
224 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in memory_block_offline() local
385 unsigned long start_pfn, unsigned long nr_pages, in print_allowed_zone()
402 unsigned long nr_pages = PAGES_PER_SECTION * sections_per_block; in valid_zones_show() local
/drivers/md/
Ddm-linear.c168 long nr_pages, void **kaddr, pfn_t *pfn) in linear_dax_direct_access()
212 size_t nr_pages) in linear_dax_zero_page_range()
Ddm-stripe.c305 long nr_pages, void **kaddr, pfn_t *pfn) in stripe_dax_direct_access()
364 size_t nr_pages) in stripe_dax_zero_page_range()
/drivers/tee/optee/
Dshm_pool.c35 unsigned int nr_pages = 1 << order, i; in pool_op_alloc() local
/drivers/mtd/devices/
Dmtd_dataflash.c629 static int add_dataflash_otp(struct spi_device *spi, char *name, int nr_pages, in add_dataflash_otp()
687 int nr_pages, int pagesize, int pageoffset) in add_dataflash()
702 unsigned nr_pages; member
/drivers/s390/block/
Ddcssblk.c60 pgoff_t pgoff, size_t nr_pages) in dcssblk_dax_zero_page_range()
920 long nr_pages, void **kaddr, pfn_t *pfn) in __dcssblk_direct_access()
937 long nr_pages, void **kaddr, pfn_t *pfn) in dcssblk_dax_direct_access()
/drivers/misc/bcm-vk/
Dbcm_vk_sg.h14 int nr_pages; member
/drivers/xen/xenbus/
Dxenbus_client.c379 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_grant_ring()
621 unsigned int nr_pages = XENBUS_PAGES(nr_grefs); in xenbus_map_ring_hvm() local
834 unsigned int nr_pages; in xenbus_unmap_ring_hvm() local
/drivers/block/rnbd/
Drnbd-srv-dev.c72 const int nr_pages = end - start; in rnbd_bio_map_kern() local
/drivers/media/pci/cx25821/
Dcx25821-alsa.c57 unsigned long nr_pages; member
134 unsigned long nr_pages) in cx25821_alsa_dma_init()

1234