Home
last modified time | relevance | path

Searched refs:alloc_pages (Results 1 – 25 of 123) sorted by relevance

12345

/kernel/linux/linux-5.10/mm/
Dpercpu-km.c60 pages = alloc_pages(gfp, order_base_2(nr_pages)); in pcpu_create_chunk()
104 size_t nr_pages, alloc_pages; in pcpu_verify_alloc_info() local
113 alloc_pages = roundup_pow_of_two(nr_pages); in pcpu_verify_alloc_info()
115 if (alloc_pages > nr_pages) in pcpu_verify_alloc_info()
117 alloc_pages - nr_pages); in pcpu_verify_alloc_info()
DKconfig.debug30 the patterns before alloc_pages(). Additionally, this option cannot
70 the patterns before alloc_pages. The filling of the memory helps
/kernel/linux/linux-5.10/drivers/xen/
Dunpopulated-alloc.c23 unsigned int i, alloc_pages = round_up(nr_pages, PAGES_PER_SECTION); in fill_list() local
34 alloc_pages * PAGE_SIZE, 0, -1, in fill_list()
68 for (i = 0; i < alloc_pages; i++) { in fill_list()
85 for (i = 0; i < alloc_pages; i++) { in fill_list()
/kernel/linux/linux-5.10/include/linux/
Dgfp.h556 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() function
566 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() function
571 alloc_pages(gfp_mask, order)
573 alloc_pages(gfp_mask, order)
575 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0)
/kernel/linux/linux-5.10/kernel/dma/
Dvirt.c58 .alloc_pages = dma_common_alloc_pages,
Dpool.c99 page = alloc_pages(gfp, order); in atomic_pool_expand()
/kernel/linux/linux-5.10/drivers/tee/optee/
Dshm_pool.c22 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dmcf_pgalloc.h48 struct page *page = alloc_pages(GFP_DMA, 0); in pte_alloc_one()
/kernel/linux/linux-5.10/include/asm-generic/
Dpgalloc.h126 page = alloc_pages(gfp, 0); in pmd_alloc_one()
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dpgalloc.h71 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_ORDER); in pmd_alloc_one()
/kernel/linux/linux-5.10/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_misc.c53 u64 npages, bool alloc_pages) in pvrdma_page_dir_init() argument
83 if (alloc_pages) { in pvrdma_page_dir_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_chain.c273 goto alloc_pages; in qed_chain_alloc_pbl()
288 alloc_pages: in qed_chain_alloc_pbl()
/kernel/linux/linux-5.10/lib/
Dtest_meminit.c69 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order()
74 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order()
Dstackdepot.c279 page = alloc_pages(alloc_flags, STACK_ALLOC_ORDER); in stack_depot_save()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_internal.c84 page = alloc_pages(gfp | (order ? QUIET : MAYFAIL), in i915_gem_object_get_pages_internal()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/64/
Dpgalloc.h31 page = alloc_pages(pgtable_gfp_flags(mm, PGALLOC_GFP | __GFP_RETRY_MAYFAIL), in radix__pgd_alloc()
/kernel/linux/linux-5.10/drivers/staging/android/ion/
Dion_page_pool.c19 return alloc_pages(pool->gfp_mask, pool->order); in ion_page_pool_alloc_pages()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Ddma-iommu.c150 .alloc_pages = dma_common_alloc_pages,
/kernel/linux/linux-5.10/arch/mips/jazz/
Djazzdma.c501 page = alloc_pages(gfp, get_order(size)); in jazz_dma_alloc()
620 .alloc_pages = dma_common_alloc_pages,
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_reserved_pool.c146 pages = alloc_pages(GFP_KERNEL | __GFP_NOWARN, order); in hmm_reserved_pool_init()
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping-nommu.c180 .alloc_pages = dma_direct_alloc_pages,
/kernel/linux/linux-5.10/fs/ramfs/
Dfile-nommu.c84 pages = alloc_pages(gfp, order); in ramfs_nommu_expand_for_mapping()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dkvmclock.c215 p = alloc_pages(GFP_KERNEL, order); in kvmclock_init_mem()
/kernel/linux/linux-5.10/drivers/staging/media/ipu3/
Dipu3-dmamap.c58 page = alloc_pages((order_mask - order_size) ? in imgu_dmamap_alloc_buffer()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Dpaging.c129 block = alloc_pages(GFP_KERNEL, order); in iwl_alloc_fw_paging_mem()

12345