| /OK3568_Linux_fs/kernel/mm/ |
| H A D | percpu-km.c | 60 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()
|
| H A D | Kconfig.debug | 30 the patterns before alloc_pages(). Additionally, this option cannot 85 the patterns before alloc_pages. The filling of the memory helps
|
| /OK3568_Linux_fs/kernel/drivers/xen/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | gfp.h | 563 alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() function 573 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() function 578 alloc_pages(gfp_mask, order) 580 alloc_pages(gfp_mask, order) 582 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0)
|
| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_native_mgm.c | 64 return alloc_pages(gfp_mask, order); in kbase_native_mgm_alloc()
|
| /OK3568_Linux_fs/kernel/kernel/dma/ |
| H A D | virt.c | 58 .alloc_pages = dma_common_alloc_pages,
|
| H A D | mapping.c | 491 else if (ops->alloc_pages) in dma_alloc_pages() 492 page = ops->alloc_pages(dev, size, dma_handle, dir, gfp); in dma_alloc_pages()
|
| /OK3568_Linux_fs/kernel/drivers/infiniband/hw/vmw_pvrdma/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H 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()
|
| H A D | test_kasan.c | 222 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_oob_right() 236 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_uaf() 1016 pages = alloc_pages(GFP_KERNEL, order); in match_all_not_assigned()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/ |
| H A D | qed_chain.c | 273 goto alloc_pages; in qed_chain_alloc_pbl() 288 alloc_pages: in qed_chain_alloc_pbl()
|
| /OK3568_Linux_fs/kernel/drivers/tee/optee/ |
| H A D | shm_pool.c | 22 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc()
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A D | mcf_pgalloc.h | 48 struct page *page = alloc_pages(GFP_DMA, 0); in pte_alloc_one()
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/ |
| H A D | pgalloc.h | 71 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_ORDER); in pmd_alloc_one()
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | pgalloc.h | 126 page = alloc_pages(gfp, 0); in pmd_alloc_one()
|
| /OK3568_Linux_fs/kernel/arch/mips/jazz/ |
| H A D | jazzdma.c | 501 page = alloc_pages(gfp, get_order(size)); in jazz_dma_alloc() 620 .alloc_pages = dma_common_alloc_pages,
|
| /OK3568_Linux_fs/kernel/arch/powerpc/include/asm/book3s/64/ |
| H A D | pgalloc.h | 31 page = alloc_pages(pgtable_gfp_flags(mm, PGALLOC_GFP | __GFP_RETRY_MAYFAIL), in radix__pgd_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_internal.c | 84 page = alloc_pages(gfp | (order ? QUIET : MAYFAIL), in i915_gem_object_get_pages_internal()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | dma-iommu.c | 150 .alloc_pages = dma_common_alloc_pages,
|
| /OK3568_Linux_fs/kernel/drivers/staging/android/ion/heaps/ |
| H A D | ion_page_pool.c | 19 return alloc_pages(pool->gfp_mask, pool->order); in ion_page_pool_alloc_pages()
|
| /OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/hmm/ |
| H A D | hmm_reserved_pool.c | 146 pages = alloc_pages(GFP_KERNEL | __GFP_NOWARN, order); in hmm_reserved_pool_init()
|
| /OK3568_Linux_fs/kernel/arch/arm/mm/ |
| H A D | dma-mapping-nommu.c | 180 .alloc_pages = dma_direct_alloc_pages,
|
| /OK3568_Linux_fs/kernel/fs/ramfs/ |
| H A D | file-nommu.c | 84 pages = alloc_pages(gfp, order); in ramfs_nommu_expand_for_mapping()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | kvmclock.c | 215 p = alloc_pages(GFP_KERNEL, order); in kvmclock_init_mem()
|
| /OK3568_Linux_fs/kernel/arch/s390/pci/ |
| H A D | pci_dma.c | 405 page = alloc_pages(flag | __GFP_ZERO, get_order(size)); in s390_dma_alloc() 671 .alloc_pages = dma_common_alloc_pages,
|