| /linux/drivers/xen/ |
| H A D | unpopulated-alloc.c | 42 unsigned int i, alloc_pages = round_up(nr_pages, PAGES_PER_SECTION); in fill_list() local 56 alloc_pages * PAGE_SIZE, mhp_range.start, mhp_range.end, in fill_list() 114 for (i = 0; i < alloc_pages; i++) { in fill_list() 131 for (i = 0; i < alloc_pages; i++) { in fill_list()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | verifier_arena_large.c | 190 __noinline int alloc_pages(int page_cnt, int pages_atonce, bool first_pass, in alloc_pages() 230 err = alloc_pages(PAGE_CNT, 1, true, PAGE_CNT, 2); in big_alloc2() 245 err = alloc_pages(PAGE_CNT / 2, 1, false, PAGE_CNT, 4); in big_alloc2() 262 err = alloc_pages(PAGE_CNT / 4, 2, false, PAGE_CNT, 6); in big_alloc2() 177 __noinline int alloc_pages(int page_cnt, int pages_atonce, bool first_pass, alloc_pages() function
|
| /linux/arch/riscv/kernel/ |
| H A D | unaligned_access_speed.c | 164 bufs[cpu] = alloc_pages(GFP_KERNEL, MISALIGNED_BUFFER_ORDER); in check_unaligned_access_speed_all_cpus() 226 buf = alloc_pages(GFP_KERNEL, MISALIGNED_BUFFER_ORDER); in riscv_online_cpu() 265 page = alloc_pages(GFP_KERNEL, MISALIGNED_BUFFER_ORDER); in check_vector_unaligned_access()
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | memory-allocation.rst | 21 你可以用 alloc_pages 直接向页面分配器请求页面。也可以使用更专业的分配器,
|
| /linux/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()
|
| /linux/mm/kmsan/ |
| H A D | hooks.c | 165 shadow = alloc_pages(gfp_mask, 1); in kmsan_ioremap_page_range() 166 origin = alloc_pages(gfp_mask, 1); in kmsan_ioremap_page_range()
|
| H A D | kmsan_test.c | 388 page = alloc_pages(GFP_KERNEL, 0); in test_uninit_page() 401 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in test_uaf_pages_helper()
|
| /linux/lib/vdso/ |
| H A D | datastore.c | 46 vdso_data_pages = alloc_pages(GFP_KERNEL, order); in vdso_setup_data_pages()
|
| /linux/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()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_internal.c | 74 page = alloc_pages(gfp | (order ? QUIET : MAYFAIL), in i915_gem_object_get_pages_internal()
|
| /linux/kernel/bpf/ |
| H A D | arena.c | 678 long alloc_pages; in arena_alloc_pages() local 702 alloc_pages = min(page_cnt, KMALLOC_MAX_CACHE_SIZE / sizeof(struct page *)); in arena_alloc_pages() 703 pages = kmalloc_nolock(alloc_pages * sizeof(struct page *), __GFP_ACCOUNT, NUMA_NO_NODE); in arena_alloc_pages() 731 long this_batch = min(remaining, alloc_pages); in arena_alloc_pages()
|
| /linux/drivers/staging/media/ipu7/ |
| H A D | ipu7-dma.c | 74 pages[i] = alloc_pages(gfp, order); in __alloc_buffer() 76 pages[i] = alloc_pages(gfp, --order); in __alloc_buffer()
|
| /linux/drivers/media/pci/intel/ipu6/ |
| H A D | ipu6-dma.c | 74 pages[i] = alloc_pages(gfp, order); in __alloc_buffer() 76 pages[i] = alloc_pages(gfp, --order); in __alloc_buffer()
|
| /linux/drivers/staging/media/ipu3/ |
| H A D | ipu3-dmamap.c | 58 page = alloc_pages((order_mask - order_size) ? in imgu_dmamap_alloc_buffer()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_gart.c | 133 p = alloc_pages(gfp_flags, order); in amdgpu_gart_table_ram_alloc()
|
| /linux/kernel/dma/ |
| H A D | pool.c | 104 page = alloc_pages(gfp | __GFP_NOWARN, order); in atomic_pool_expand()
|
| /linux/arch/x86/hyperv/ |
| H A D | hv_crash.c | 559 page = alloc_pages(flags32, order); in hv_crash_trampoline_setup()
|
| /linux/io_uring/ |
| H A D | memmap.c | 42 page = alloc_pages(gfp, order); in io_mem_alloc_compound()
|
| /linux/arch/arm/mm/ |
| H A D | dma-mapping.c | 147 page = alloc_pages(gfp, order); in __dma_alloc_buffer() 904 pages[i] = alloc_pages(gfp | __GFP_NORETRY, order); in __iommu_alloc_buffer() 912 pages[i] = alloc_pages(gfp, 0); in __iommu_alloc_buffer()
|
| /linux/lib/ |
| H A D | test_lockup.c | 310 page = alloc_pages(alloc_pages_gfp, alloc_pages_order); in test_alloc_pages()
|
| H A D | stackdepot.c | 685 page = alloc_pages(gfp_nested_mask(alloc_flags), in stack_depot_save_flags()
|
| /linux/arch/mips/jazz/ |
| H A D | jazzdma.c | 501 page = alloc_pages(gfp, get_order(size)); in jazz_dma_alloc()
|
| /linux/kernel/trace/ |
| H A D | trace_sched_switch.c | 212 page = alloc_pages(GFP_KERNEL, order); in allocate_cmdlines_buffer()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | icm.c | 105 page = alloc_pages(gfp_mask, order); in mlx4_alloc_icm_pages()
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_gem.c | 99 struct page *p = alloc_pages(GFP_KERNEL, order); in armada_gem_linear_back()
|