/openbmc/linux/drivers/xen/ |
H A D | privcmd.c | 456 unsigned long nr_pages; in privcmd_ioctl_mmap_batch() local 588 struct page *pages[], unsigned int nr_pages, unsigned int *pinned) in lock_pages() 619 static void unlock_pages(struct page *pages[], unsigned int nr_pages) in unlock_pages() 629 unsigned int nr_pages = 0; in privcmd_ioctl_dm_op() local 1237 unsigned long nr_pages) in privcmd_vma_range_is_mapped()
|
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | early_alloc.c | 24 void *hyp_early_alloc_contig(unsigned int nr_pages) in hyp_early_alloc_contig()
|
/openbmc/linux/drivers/media/common/saa7146/ |
H A D | saa7146_core.c | 138 static struct scatterlist* vmalloc_to_sg(unsigned char *virt, int nr_pages) in vmalloc_to_sg() 242 int nr_pages = 0; in saa7146_pgtable_build_single() local
|
/openbmc/linux/arch/sh/mm/ |
H A D | init.c | 404 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local 421 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
|
/openbmc/linux/mm/ |
H A D | process_vm_access.c | 80 unsigned long nr_pages; in process_vm_rw_single_vec() local 161 unsigned long nr_pages = 0; in process_vm_rw_core() local
|
H A D | bootmem_info.c | 104 unsigned long i, pfn, end_pfn, nr_pages; in register_page_bootmem_info_node() local
|
/openbmc/linux/arch/ia64/mm/ |
H A D | init.c | 485 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_add_memory() local 502 unsigned long nr_pages = size >> PAGE_SHIFT; in arch_remove_memory() local
|
/openbmc/linux/arch/mips/mm/ |
H A D | ioremap.c | 25 static int __ioremap_check_ram(unsigned long start_pfn, unsigned long nr_pages, in __ioremap_check_ram()
|
/openbmc/linux/drivers/misc/bcm-vk/ |
H A D | bcm_vk_sg.h | 14 int nr_pages; member
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 380 unsigned int nr_pages, grant_ref_t *grefs) in xenbus_setup_ring() 438 void xenbus_teardown_ring(void **vaddr, unsigned int nr_pages, in xenbus_teardown_ring() 666 unsigned int nr_pages = XENBUS_PAGES(nr_grefs); in xenbus_map_ring_hvm() local 879 unsigned int nr_pages; in xenbus_unmap_ring_hvm() local
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | transhuge-stress.c | 87 int nr_succeed = 0, nr_failed = 0, nr_pages = 0; in main() local
|
H A D | mrelease_test.c | 20 static int alloc_noexit(unsigned long nr_pages, int pipefd) in alloc_noexit()
|
/openbmc/qemu/target/s390x/ |
H A D | mmu_helper.c | 475 static int translate_pages(S390CPU *cpu, vaddr addr, int nr_pages, in translate_pages() 525 int currlen, nr_pages, i; in s390_cpu_virt_mem_rw() local
|
/openbmc/linux/block/ |
H A D | blk-map.c | 138 int nr_pages; in bio_copy_user_iov() local 395 const int nr_pages = end - start; in bio_map_kern() local 482 int nr_pages = 0; in bio_copy_kern() local
|
/openbmc/linux/kernel/events/ |
H A D | ring_buffer.c | 674 pgoff_t pgoff, int nr_pages, long watermark, int flags) in rb_alloc_aux() 819 struct perf_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc() 916 struct perf_buffer *rb_alloc(int nr_pages, long watermark, int cpu, int flags) in rb_alloc()
|
/openbmc/linux/kernel/power/ |
H A D | swap.c | 546 int nr_pages; in save_image() local 683 int nr_pages; in save_image_lzo() local 889 static int enough_swap(unsigned int nr_pages) in enough_swap() 1068 unsigned nr_pages; in load_image() local 1174 unsigned nr_pages; in load_image_lzo() local
|
/openbmc/linux/io_uring/ |
H A D | notif.h | 44 unsigned nr_pages = (len >> PAGE_SHIFT) + 2; in io_notif_account_mem() local
|
/openbmc/linux/arch/s390/kvm/ |
H A D | pci.c | 194 static inline void unaccount_mem(unsigned long nr_pages) in unaccount_mem() 204 static inline int account_mem(unsigned long nr_pages) in account_mem()
|
/openbmc/linux/include/linux/ |
H A D | swap.h | 196 pgoff_t nr_pages; member 597 unsigned long nr_pages, sector_t start_block) in add_swap_extent() 658 static inline void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages) in mem_cgroup_uncharge_swap() 679 unsigned int nr_pages) in mem_cgroup_uncharge_swap()
|
H A D | memory_hotplug.h | 197 unsigned long nr_pages, struct mhp_params *params) in add_pages() 317 static inline int offline_pages(unsigned long start_pfn, unsigned long nr_pages, in offline_pages()
|
/openbmc/linux/include/media/ |
H A D | videobuf-dma-sg.h | 63 unsigned long nr_pages; member
|
/openbmc/linux/fs/crypto/ |
H A D | bio.c | 119 unsigned int nr_pages; in fscrypt_zeroout_range() local
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_builtin.c | 58 struct page *kvm_alloc_hpt_cma(unsigned long nr_pages) in kvm_alloc_hpt_cma() 67 void kvm_free_hpt_cma(struct page *page, unsigned long nr_pages) in kvm_free_hpt_cma()
|
/openbmc/linux/arch/x86/kvm/ |
H A D | kvm_onhyperv.c | 95 int hv_flush_remote_tlbs_range(struct kvm *kvm, gfn_t start_gfn, gfn_t nr_pages) in hv_flush_remote_tlbs_range()
|
/openbmc/linux/tools/testing/radix-tree/ |
H A D | regression1.c | 80 unsigned int nr_pages, struct page **pages) in find_get_pages()
|