/drivers/xen/ |
D | unpopulated-alloc.c | 18 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()
|
D | balloon.c | 402 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()
|
D | privcmd.c | 450 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()
|
D | grant-table.c | 781 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/ |
D | deferred-free-helper.c | 28 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
|
D | deferred-free-helper.h | 38 size_t nr_pages; member
|
/drivers/virtio/ |
D | virtio_mem.c | 874 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/ |
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 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/ |
D | relocate.c | 29 unsigned long nr_pages; in efi_low_alloc_above() local 129 unsigned long nr_pages; in efi_relocate_kernel() local
|
D | mem.c | 125 unsigned long nr_pages; in efi_free() local
|
/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() 686 unsigned long pfn, start_pfn, end_pfn, nr_pages; in ehea_create_busmap_callback() local
|
/drivers/hwtracing/coresight/ |
D | coresight-tmc-etr.c | 43 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/ |
D | vmcp.c | 63 int nr_pages, order; in vmcp_response_alloc() local 84 int nr_pages, order; in vmcp_response_free() local
|
/drivers/nvdimm/ |
D | pmem.c | 259 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/ |
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/base/ |
D | memory.c | 181 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/ |
D | dm-linear.c | 168 long nr_pages, void **kaddr, pfn_t *pfn) in linear_dax_direct_access() 212 size_t nr_pages) in linear_dax_zero_page_range()
|
D | dm-stripe.c | 305 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/ |
D | shm_pool.c | 35 unsigned int nr_pages = 1 << order, i; in pool_op_alloc() local
|
/drivers/mtd/devices/ |
D | mtd_dataflash.c | 629 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/ |
D | dcssblk.c | 60 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/ |
D | bcm_vk_sg.h | 14 int nr_pages; member
|
/drivers/xen/xenbus/ |
D | xenbus_client.c | 379 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/ |
D | rnbd-srv-dev.c | 72 const int nr_pages = end - start; in rnbd_bio_map_kern() local
|
/drivers/media/pci/cx25821/ |
D | cx25821-alsa.c | 57 unsigned long nr_pages; member 134 unsigned long nr_pages) in cx25821_alsa_dma_init()
|