/linux/mm/ |
A D | percpu-km.c | 65 pages = alloc_pages(gfp, order_base_2(nr_pages)); in pcpu_create_chunk() 109 size_t nr_pages, alloc_pages; in pcpu_verify_alloc_info() local 118 alloc_pages = roundup_pow_of_two(nr_pages); in pcpu_verify_alloc_info() 120 if (alloc_pages > nr_pages) in pcpu_verify_alloc_info() 122 alloc_pages - nr_pages); in pcpu_verify_alloc_info()
|
A D | Kconfig.debug | 30 the patterns before alloc_pages(). Additionally, this option cannot 69 the patterns before alloc_pages. The filling of the memory helps
|
/linux/drivers/xen/ |
A D | unpopulated-alloc.c | 23 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()
|
/linux/include/linux/ |
A D | gfp.h | 597 struct page *alloc_pages(gfp_t gfp, unsigned int order); 605 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() function 614 alloc_pages(gfp_mask, order) 616 alloc_pages(gfp_mask, order) 618 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0)
|
/linux/drivers/infiniband/hw/vmw_pvrdma/ |
A D | pvrdma_misc.c | 53 u64 npages, bool alloc_pages) in pvrdma_page_dir_init() argument 83 if (alloc_pages) { in pvrdma_page_dir_init()
|
/linux/arch/m68k/include/asm/ |
A D | mcf_pgalloc.h | 46 struct page *page = alloc_pages(GFP_DMA, 0); in pte_alloc_one()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_chain.c | 273 goto alloc_pages; in qed_chain_alloc_pbl() 288 alloc_pages: in qed_chain_alloc_pbl()
|
/linux/lib/ |
A D | test_meminit.c | 69 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order() 74 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order()
|
A D | test_kasan.c | 234 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_oob_right() 248 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_uaf() 1069 pages = alloc_pages(GFP_KERNEL, order); in match_all_not_assigned()
|
A D | stackdepot.c | 359 page = alloc_pages(alloc_flags, STACK_ALLOC_ORDER); in __stack_depot_save()
|
/linux/arch/mips/include/asm/ |
A D | pgalloc.h | 64 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_ORDER); in pmd_alloc_one()
|
/linux/include/asm-generic/ |
A D | pgalloc.h | 126 page = alloc_pages(gfp, 0); in pmd_alloc_one()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | memory-allocation.rst | 21 你可以用 alloc_pages 直接向页面分配器请求页面。也可以使用更专业的分配器,
|
/linux/arch/mips/jazz/ |
A D | jazzdma.c | 501 page = alloc_pages(gfp, get_order(size)); in jazz_dma_alloc() 620 .alloc_pages = dma_common_alloc_pages,
|
/linux/arch/powerpc/include/asm/book3s/64/ |
A D | pgalloc.h | 31 page = alloc_pages(pgtable_gfp_flags(mm, PGALLOC_GFP | __GFP_RETRY_MAYFAIL), in radix__pgd_alloc()
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_internal.c | 84 page = alloc_pages(gfp | (order ? QUIET : MAYFAIL), in i915_gem_object_get_pages_internal()
|
/linux/drivers/staging/media/atomisp/pci/hmm/ |
A D | hmm_reserved_pool.c | 146 pages = alloc_pages(GFP_KERNEL | __GFP_NOWARN, order); in hmm_reserved_pool_init()
|
/linux/drivers/tee/optee/ |
A D | core.c | 33 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in optee_pool_op_alloc_helper()
|
/linux/fs/ramfs/ |
A D | file-nommu.c | 84 pages = alloc_pages(gfp, order); in ramfs_nommu_expand_for_mapping()
|
/linux/arch/powerpc/kernel/ |
A D | dma-iommu.c | 217 .alloc_pages = dma_common_alloc_pages,
|
/linux/arch/x86/kernel/ |
A D | kvmclock.c | 214 p = alloc_pages(GFP_KERNEL, order); in kvmclock_init_mem()
|
/linux/drivers/staging/media/ipu3/ |
A D | ipu3-dmamap.c | 58 page = alloc_pages((order_mask - order_size) ? in imgu_dmamap_alloc_buffer()
|
/linux/arch/s390/pci/ |
A D | pci_dma.c | 407 page = alloc_pages(flag | __GFP_ZERO, get_order(size)); in s390_dma_alloc() 693 .alloc_pages = dma_common_alloc_pages,
|
/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | paging.c | 72 block = alloc_pages(GFP_KERNEL, order); in iwl_alloc_fw_paging_mem()
|
/linux/kernel/dma/ |
A D | pool.c | 96 page = alloc_pages(gfp, order); in atomic_pool_expand()
|