/linux-6.3-rc2/lib/ |
A D | fortify_kunit.c | 215 vmalloc((alloc_pages) * PAGE_SIZE), vfree(p)); \ 217 vzalloc((alloc_pages) * PAGE_SIZE), vfree(p)); \ 219 __vmalloc((alloc_pages) * PAGE_SIZE, gfp), vfree(p)); \ 230 kvmalloc((alloc_pages) * PAGE_SIZE, gfp), \ 233 kvmalloc_node((alloc_pages) * PAGE_SIZE, gfp, NUMA_NO_NODE), \ 236 kvzalloc((alloc_pages) * PAGE_SIZE, gfp), \ 242 kvcalloc(1, (alloc_pages) * PAGE_SIZE, gfp), \ 245 kvcalloc((alloc_pages) * PAGE_SIZE, 1, gfp), \ 248 kvmalloc_array(1, (alloc_pages) * PAGE_SIZE, gfp), \ 251 kvmalloc_array((alloc_pages) * PAGE_SIZE, 1, gfp), \ [all …]
|
A D | test_meminit.c | 69 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order() 76 page = alloc_pages(GFP_KERNEL, order); in do_alloc_pages_order()
|
/linux-6.3-rc2/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()
|
/linux-6.3-rc2/drivers/xen/ |
A D | unpopulated-alloc.c | 39 unsigned int i, alloc_pages = round_up(nr_pages, PAGES_PER_SECTION); in fill_list() local 53 alloc_pages * PAGE_SIZE, mhp_range.start, mhp_range.end, in fill_list() 111 for (i = 0; i < alloc_pages; i++) { in fill_list() 128 for (i = 0; i < alloc_pages; i++) { in fill_list()
|
/linux-6.3-rc2/include/linux/ |
A D | gfp.h | 264 struct page *alloc_pages(gfp_t gfp, unsigned int order); 269 static inline struct page *alloc_pages(gfp_t gfp_mask, unsigned int order) in alloc_pages() function 280 #define alloc_page(gfp_mask) alloc_pages(gfp_mask, 0)
|
/linux-6.3-rc2/arch/m68k/include/asm/ |
A D | mcf_pgalloc.h | 46 struct page *page = alloc_pages(GFP_DMA, 0); in pte_alloc_one()
|
/linux-6.3-rc2/mm/kmsan/ |
A D | hooks.c | 166 shadow = alloc_pages(gfp_mask, 1); in kmsan_ioremap_page_range() 167 origin = alloc_pages(gfp_mask, 1); in kmsan_ioremap_page_range()
|
/linux-6.3-rc2/arch/mips/include/asm/ |
A D | pgalloc.h | 70 pg = alloc_pages(GFP_KERNEL_ACCOUNT, PMD_TABLE_ORDER); in pmd_alloc_one()
|
/linux-6.3-rc2/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-6.3-rc2/Documentation/translations/zh_CN/core-api/ |
A D | memory-allocation.rst | 21 你可以用 alloc_pages 直接向页面分配器请求页面。也可以使用更专业的分配器,
|
/linux-6.3-rc2/include/asm-generic/ |
A D | pgalloc.h | 126 page = alloc_pages(gfp, 0); in pmd_alloc_one()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/accel/ivpu/ |
A D | ivpu_gem.c | 64 .alloc_pages = prime_alloc_pages_locked, 137 .alloc_pages = shmem_alloc_pages_locked, 186 .alloc_pages = internal_alloc_pages_locked, 200 ret = bo->ops->alloc_pages(bo); in ivpu_bo_alloc_and_map_pages_locked()
|
A D | ivpu_gem.h | 45 int (*alloc_pages)(struct ivpu_bo *bo); member
|
/linux-6.3-rc2/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-6.3-rc2/mm/kasan/ |
A D | kasan_test.c | 295 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_oob_right() 309 pages = alloc_pages(GFP_KERNEL, order); in pagealloc_uaf() 1341 p_page = alloc_pages(GFP_KERNEL, 1); in vmap_tags() 1382 page = alloc_pages(GFP_KERNEL, 1); in vm_map_ram_tags() 1451 pages = alloc_pages(GFP_KERNEL, order); in match_all_not_assigned()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_internal.c | 75 page = alloc_pages(gfp | (order ? QUIET : MAYFAIL), in i915_gem_object_get_pages_internal()
|
/linux-6.3-rc2/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-6.3-rc2/drivers/tee/optee/ |
A D | core.c | 37 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in optee_pool_op_alloc_helper()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | dma-iommu.c | 217 .alloc_pages = dma_common_alloc_pages,
|
/linux-6.3-rc2/fs/ramfs/ |
A D | file-nommu.c | 84 pages = alloc_pages(gfp, order); in ramfs_nommu_expand_for_mapping()
|
/linux-6.3-rc2/arch/x86/platform/efi/ |
A D | memmap.c | 25 struct page *p = alloc_pages(GFP_KERNEL, order); in __efi_memmap_alloc_late()
|
/linux-6.3-rc2/arch/x86/kernel/ |
A D | kvmclock.c | 214 p = alloc_pages(GFP_KERNEL, order); in kvmclock_init_mem()
|
/linux-6.3-rc2/drivers/staging/media/ipu3/ |
A D | ipu3-dmamap.c | 58 page = alloc_pages((order_mask - order_size) ? in imgu_dmamap_alloc_buffer()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/fw/ |
A D | paging.c | 72 block = alloc_pages(GFP_KERNEL, order); in iwl_alloc_fw_paging_mem()
|