Home
last modified time | relevance | path

Searched refs:__GFP_ZERO (Results 1 – 200 of 206) sorted by relevance

12

/linux-4.1.27/arch/m32r/include/asm/
Dpgalloc.h23 pgd_t *pgd = (pgd_t *)__get_free_page(GFP_KERNEL|__GFP_ZERO); in pgd_alloc()
36 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_ZERO); in pte_alloc_one_kernel()
44 struct page *pte = alloc_page(GFP_KERNEL|__GFP_ZERO); in pte_alloc_one()
Dpage.h20 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
/linux-4.1.27/arch/hexagon/include/asm/
Dpgalloc.h38 pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in pgd_alloc()
67 pte = alloc_page(GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one()
81 gfp_t flags = GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO; in pte_alloc_one_kernel()
/linux-4.1.27/arch/cris/include/asm/
Dpgalloc.h27 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
34 pte = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0); in pte_alloc_one()
Dpage.h19 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
/linux-4.1.27/arch/metag/include/asm/
Dpgalloc.h46 __GFP_ZERO); in pte_alloc_one_kernel()
54 pte = alloc_pages(GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO, 0); in pte_alloc_one()
/linux-4.1.27/arch/alpha/include/asm/
Dpgalloc.h43 pmd_t *ret = (pmd_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pmd_alloc_one()
56 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
Dpage.h20 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vmaddr)
/linux-4.1.27/mm/
Dkmemcheck.c67 if (gfpflags & __GFP_ZERO) in kmemcheck_slab_alloc()
119 if (gfpflags & __GFP_ZERO) in kmemcheck_pagealloc_alloc()
Dsparse-vmemmap.c58 node, GFP_KERNEL | __GFP_ZERO | __GFP_REPEAT, in vmemmap_alloc_block()
62 GFP_KERNEL | __GFP_ZERO | __GFP_REPEAT, in vmemmap_alloc_block()
Dswap_cgroup.c47 page = alloc_page(GFP_KERNEL | __GFP_ZERO); in swap_cgroup_prepare()
Dslob.c316 b = slob_new_pages(gfp & ~__GFP_ZERO, 0, node); in slob_alloc()
332 if (unlikely((gfp & __GFP_ZERO) && b)) in slob_alloc()
Dpage_ext.c194 gfp_t flags = GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN; in alloc_page_ext()
Dvmalloc.c1584 const gfp_t nested_gfp = (gfp_mask & GFP_RECLAIM_MASK) | __GFP_ZERO; in __vmalloc_area_node()
1761 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc()
1778 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
1822 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc_node()
1882 ret = __vmalloc_node(size, 1, GFP_VMALLOC32 | __GFP_ZERO, PAGE_KERNEL, in vmalloc_32_user()
Dmempool.c319 VM_WARN_ON_ONCE(gfp_mask & __GFP_ZERO); in mempool_alloc()
Dnommu.c294 ret = __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
373 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vzalloc()
Dslab.c3202 if (unlikely(flags & __GFP_ZERO)) in slab_alloc_node()
3268 if (unlikely(flags & __GFP_ZERO)) in slab_alloc()
Dpage_alloc.c1002 if (gfp_flags & __GFP_ZERO) in prep_new_page()
2971 return __get_free_pages(gfp_mask | __GFP_ZERO, 0); in get_zeroed_page()
Dhuge_memory.c186 zero_page = alloc_pages((GFP_TRANSHUGE | __GFP_ZERO) & ~__GFP_MOVABLE, in get_huge_zero_page()
/linux-4.1.27/lib/
Dcpumask.c78 return alloc_cpumask_var_node(mask, flags | __GFP_ZERO, node); in zalloc_cpumask_var_node()
100 return alloc_cpumask_var(mask, flags | __GFP_ZERO); in zalloc_cpumask_var()
Dflex_array.c112 if (elements_fit_in_base(ret) && !(flags & __GFP_ZERO)) in flex_array_alloc()
173 if (!(flags & __GFP_ZERO)) in __fa_get_part()
/linux-4.1.27/include/linux/
Dslab.h540 return kmalloc_array(n, size, flags | __GFP_ZERO); in kcalloc()
573 return kmem_cache_alloc(k, flags | __GFP_ZERO); in kmem_cache_zalloc()
583 return kmalloc(size, flags | __GFP_ZERO); in kzalloc()
594 return kmalloc_node(size, flags | __GFP_ZERO, node); in kzalloc_node()
Dquicklist.h49 p = (void *)__get_free_page(flags | __GFP_ZERO); in quicklist_alloc()
Dthread_info.h59 # define THREADINFO_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO)
Df2fs_fs.h40 #define GFP_F2FS_ZERO (GFP_NOFS | __GFP_ZERO)
41 #define GFP_F2FS_HIGH_ZERO (GFP_NOFS | __GFP_ZERO | __GFP_HIGHMEM)
Ddma-mapping.h187 flag | __GFP_ZERO); in dma_zalloc_coherent()
Dgfp.h82 #define __GFP_ZERO ((__force gfp_t)___GFP_ZERO) /* Return zeroed page on success */ macro
Ddevice.h616 return devm_kmalloc(dev, size, gfp | __GFP_ZERO); in devm_kzalloc()
628 return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in devm_kcalloc()
/linux-4.1.27/arch/m68k/include/asm/
Dmotorola_pgalloc.h14 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
35 page = alloc_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, 0); in pte_alloc_one()
Dpage_no.h19 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
/linux-4.1.27/arch/powerpc/mm/
Dpgtable_32.c90 ret = kmem_cache_alloc(pgtable_cache, GFP_KERNEL | __GFP_ZERO); in pgd_alloc()
92 ret = (pgd_t *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, in pgd_alloc()
112 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
125 gfp_t flags = GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO; in pte_alloc_one()
Dpgtable_64.c400 __GFP_REPEAT | __GFP_ZERO); in __alloc_for_cache()
/linux-4.1.27/kernel/
Dprofile.c119 GFP_KERNEL|__GFP_ZERO|__GFP_NOWARN); in profile_init()
343 GFP_KERNEL | __GFP_ZERO, in profile_cpu_callback()
351 GFP_KERNEL | __GFP_ZERO, in profile_cpu_callback()
547 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE, in create_hash_tables()
554 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE, in create_hash_tables()
Dcpu.c653 if (!alloc_cpumask_var(&frozen_cpus, GFP_KERNEL|__GFP_ZERO)) in alloc_frozen_cpus()
/linux-4.1.27/arch/parisc/include/asm/
Dpgalloc.h127 struct page *page = alloc_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one()
140 pte_t *pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
/linux-4.1.27/include/trace/events/
Dgfpflags.h31 {(unsigned long)__GFP_ZERO, "GFP_ZERO"}, \
/linux-4.1.27/drivers/hv/
Dconnection.c153 (void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, 0); in vmbus_connect()
168 vmbus_connection.monitor_pages[0] = (void *)__get_free_pages((GFP_KERNEL|__GFP_ZERO), 0); in vmbus_connect()
169 vmbus_connection.monitor_pages[1] = (void *)__get_free_pages((GFP_KERNEL|__GFP_ZERO), 0); in vmbus_connect()
Dchannel.c90 out = (void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, in vmbus_open()
/linux-4.1.27/net/xfrm/
Dxfrm_hash.c25 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
/linux-4.1.27/drivers/block/zram/
Dzcomp_lz4.c35 __GFP_ZERO | __GFP_HIGHMEM, in zcomp_lz4_create()
Dzcomp_lzo.c35 __GFP_ZERO | __GFP_HIGHMEM, in lzo_create()
Dzcomp.c88 zstrm->buffer = (void *)__get_free_pages(GFP_NOIO | __GFP_ZERO, 1); in zcomp_strm_alloc()
/linux-4.1.27/arch/um/kernel/
Dmem.c207 pte = (pte_t *)__get_free_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one_kernel()
215 pte = alloc_page(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO); in pte_alloc_one()
/linux-4.1.27/include/drm/
Ddrm_mem_util.h41 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in drm_calloc_large()
/linux-4.1.27/sound/hda/
Darray.c28 nlist = krealloc(array->list, size, GFP_KERNEL | __GFP_ZERO); in snd_array_new()
/linux-4.1.27/arch/x86/um/
Dldt.c157 __get_free_page(GFP_KERNEL|__GFP_ZERO); in write_ldt()
247 __get_free_pages(GFP_KERNEL|__GFP_ZERO, order); in ldt_get_host_info()
337 page = __get_free_page(GFP_KERNEL|__GFP_ZERO); in init_new_ldt()
/linux-4.1.27/arch/score/mm/
Dinit.c48 empty_zero_page = __get_free_pages(GFP_KERNEL | __GFP_ZERO, 0); in setup_zero_page()
/linux-4.1.27/arch/x86/include/asm/
Dpage.h37 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
Dpgalloc.h84 page = alloc_pages(GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO, 0); in pmd_alloc_one()
/linux-4.1.27/security/apparmor/
Dlib.c100 if (flags & __GFP_ZERO) in __aa_kvmalloc()
/linux-4.1.27/arch/sh/mm/
Dpgtable.c4 #define PGALLOC_GFP GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO
Dconsistent.c42 gfp |= __GFP_ZERO; in dma_generic_alloc_coherent()
/linux-4.1.27/security/selinux/ss/
Dstatus.c54 selinux_status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()
Dpolicydb.c339 GFP_KERNEL | __GFP_ZERO)) in common_index()
356 GFP_KERNEL | __GFP_ZERO)) in class_index()
377 GFP_KERNEL | __GFP_ZERO)) in role_index()
399 GFP_KERNEL | __GFP_ZERO)) in type_index()
404 GFP_KERNEL | __GFP_ZERO)) in type_index()
426 GFP_KERNEL | __GFP_ZERO)) in user_index()
447 GFP_KERNEL | __GFP_ZERO)) in sens_index()
468 GFP_KERNEL | __GFP_ZERO)) in cat_index()
562 GFP_KERNEL | __GFP_ZERO); in policydb_index()
567 p->p_types.nprim, GFP_KERNEL | __GFP_ZERO); in policydb_index()
[all …]
Davtab.c84 GFP_KERNEL|__GFP_ZERO)) { in avtab_insert_node()
312 GFP_KERNEL | __GFP_ZERO); in avtab_alloc()
Dconditional.c206 GFP_KERNEL | __GFP_ZERO)) in cond_index_bool()
/linux-4.1.27/security/apparmor/include/
Dapparmor.h77 return __aa_kvmalloc(size, __GFP_ZERO); in kvzalloc()
/linux-4.1.27/arch/xtensa/include/asm/
Dpgalloc.h33 return (pgd_t*) __get_free_pages(GFP_KERNEL | __GFP_ZERO, PGD_ORDER); in pgd_alloc()
/linux-4.1.27/arch/nios2/include/asm/
Dpgalloc.h45 pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, in pte_alloc_one_kernel()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_support.h628 kmalloc(size, flags | __GFP_ZERO) : \
629 kmalloc_node(size, flags | __GFP_ZERO, \
769 kmem_cache_alloc(slab, type | __GFP_ZERO) : \
770 kmem_cache_alloc_node(slab, type | __GFP_ZERO, \
/linux-4.1.27/arch/unicore32/include/asm/
Dpgalloc.h31 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
/linux-4.1.27/arch/score/include/asm/
Dpgalloc.h45 pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, in pte_alloc_one_kernel()
/linux-4.1.27/fs/xfs/
Dkmem.h58 lflags |= __GFP_ZERO; in kmem_flags_convert()
Dkmem.c86 ptr = __vmalloc(size, lflags | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in kmem_zalloc_large()
/linux-4.1.27/arch/arc/include/asm/
Dpgalloc.h98 pte = (pte_t *) __get_free_pages(GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO, in pte_alloc_one_kernel()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dgf100.c98 priv->r100c10_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in gf100_fb_ctor()
Dnv50.c255 priv->r100c08_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in nv50_fb_ctor()
/linux-4.1.27/arch/arm64/include/asm/
Dpgalloc.h29 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
/linux-4.1.27/block/
Dblk-ioc.c239 ioc = kmem_cache_alloc_node(iocontext_cachep, gfp_flags | __GFP_ZERO, in create_task_io_context()
364 icq = kmem_cache_alloc_node(et->icq_cache, gfp_mask | __GFP_ZERO, in ioc_create_icq()
Dblk-integrity.c424 GFP_KERNEL | __GFP_ZERO); in blk_integrity_register()
Dcfq-iosched.c3613 gfp_mask | __GFP_ZERO, in cfq_find_alloc_queue()
3622 gfp_mask | __GFP_ZERO, in cfq_find_alloc_queue()
Dblk-mq.c1476 GFP_KERNEL | __GFP_NOWARN | __GFP_NORETRY | __GFP_ZERO, in blk_mq_init_rq_map()
Dblk-core.c614 gfp_mask | __GFP_ZERO, node_id); in blk_alloc_queue_node()
/linux-4.1.27/arch/mips/include/asm/
Dpgalloc.h72 pte = (pte_t *) __get_free_pages(GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO, PTE_ORDER); in pte_alloc_one_kernel()
/linux-4.1.27/arch/powerpc/kvm/
Dbook3s_64_vio.c126 stt->pages[i] = alloc_page(GFP_KERNEL | __GFP_ZERO); in kvm_vm_ioctl_create_spapr_tce()
De500mc.c333 vcpu->arch.shared = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in kvmppc_core_vcpu_create_e500mc()
De500.c464 vcpu->arch.shared = (void*)__get_free_page(GFP_KERNEL|__GFP_ZERO); in kvmppc_core_vcpu_create_e500()
Dbook3s_pr.c1401 p = __get_free_page(GFP_KERNEL|__GFP_ZERO); in kvmppc_core_vcpu_create_pr()
Dbook3s_64_mmu_hv.c74 hpt = __get_free_pages(GFP_KERNEL|__GFP_ZERO|__GFP_REPEAT| in kvmppc_alloc_hpt()
Dbooke.c2114 kvmppc_booke_handlers = __get_free_pages(GFP_KERNEL | __GFP_ZERO, in kvmppc_booke_init()
Dbook3s_hv.c1445 GFP_KERNEL|__GFP_ZERO, in kvmppc_vcore_create()
/linux-4.1.27/arch/tile/kernel/
Dvdso.c81 sigret_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in vdso_init()
Dpci-dma.c46 gfp |= __GFP_ZERO; in tile_dma_alloc_coherent()
353 gfp |= __GFP_ZERO; in tile_pci_dma_alloc_coherent()
Dhardwall.c525 GFP_KERNEL | __GFP_ZERO); in hardwall_create()
/linux-4.1.27/arch/s390/include/asm/
Dpage.h63 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
/linux-4.1.27/arch/arm/include/asm/
Dpgalloc.h60 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
/linux-4.1.27/arch/s390/mm/
Dinit.c85 empty_zero_page = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in setup_zero_pages()
/linux-4.1.27/drivers/staging/android/ion/
Dion_system_heap.c29 static gfp_t high_order_gfp_flags = (GFP_HIGHUSER | __GFP_ZERO | __GFP_NOWARN |
31 static gfp_t low_order_gfp_flags = (GFP_HIGHUSER | __GFP_ZERO | __GFP_NOWARN);
Dion_cma_heap.c65 GFP_HIGHUSER | __GFP_ZERO); in ion_cma_allocate()
/linux-4.1.27/drivers/iommu/
Damd_iommu_init.c521 u8 *cmd_buf = (u8 *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_command_buffer()
575 iommu->evt_buf = (u8 *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_event_buffer()
612 iommu->ppr_log = (u8 *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_ppr_log()
1928 amd_iommu_dev_table = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
1944 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
1950 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
1994 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
Dio-pgtable-arm.c270 GFP_ATOMIC | __GFP_ZERO); in __arm_lpae_map()
659 data->pgd = alloc_pages_exact(data->pgd_size, GFP_KERNEL | __GFP_ZERO); in arm_64_lpae_alloc_pgtable_s1()
747 data->pgd = alloc_pages_exact(data->pgd_size, GFP_KERNEL | __GFP_ZERO); in arm_64_lpae_alloc_pgtable_s2()
Dfsl_pamu.c1093 p = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in fsl_pamu_probe()
Dintel_irq_remapping.c489 pages = alloc_pages_node(iommu->node, GFP_KERNEL | __GFP_ZERO, in intel_setup_irq_remapping()
Dexynos-iommu.c721 exynos_domain->lv2entcnt = (short *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, 1); in exynos_iommu_domain_alloc()
Ddmar.c1420 desc_page = alloc_pages_node(iommu->node, GFP_ATOMIC | __GFP_ZERO, 0); in dmar_enable_qi()
Damd_iommu.c2939 flag |= __GFP_ZERO; in alloc_coherent()
Dintel-iommu.c498 page = alloc_pages_node(node, GFP_ATOMIC | __GFP_ZERO, 0); in alloc_pgtable_page()
/linux-4.1.27/virt/kvm/
Dcoalesced_mmio.c111 page = alloc_page(GFP_KERNEL | __GFP_ZERO); in kvm_coalesced_mmio_init()
Dkvm_main.c224 page = alloc_page(GFP_KERNEL | __GFP_ZERO); in kvm_vcpu_init()
/linux-4.1.27/arch/x86/kernel/
Despfix_64.c60 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
Damd_gart_64.c488 page = alloc_pages(flag | __GFP_ZERO, get_order(size)); in gart_alloc_coherent()
674 gatt = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in init_amd_gatt()
779 iommu_gart_bitmap = (void *) __get_free_pages(GFP_KERNEL | __GFP_ZERO, in gart_iommu_init()
Dpci-dma.c100 flag &= ~__GFP_ZERO; in dma_generic_alloc_coherent()
/linux-4.1.27/drivers/lguest/
Dcore.c78 lg_switcher_pages[i] = alloc_page(GFP_KERNEL|__GFP_ZERO); in map_switcher()
/linux-4.1.27/arch/nios2/mm/
Ddma-mapping.c33 gfp |= __GFP_ZERO; in dma_alloc_coherent()
/linux-4.1.27/arch/microblaze/mm/
Dpgtable.c243 __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one_kernel()
/linux-4.1.27/arch/ia64/kernel/
Duncached.c101 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE, in uncached_add_chunk()
/linux-4.1.27/arch/ia64/include/asm/
Dpage.h87 GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr); \
/linux-4.1.27/arch/powerpc/include/asm/
Dpgalloc-64.h82 return (pte_t *)__get_free_page(GFP_KERNEL | __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one_kernel()
/linux-4.1.27/arch/alpha/mm/
Dinit.c45 ret = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in pgd_alloc()
/linux-4.1.27/Documentation/
Dflexible-arrays.txt89 Note that, if array elements are allocated with __GFP_ZERO, they will be
107 if the array's pages are allocated with __GFP_ZERO.
/linux-4.1.27/arch/arm/kvm/
Dmmu.c652 return alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO); in kvm_alloc_hwpgd()
699 GFP_KERNEL | __GFP_ZERO); in kvm_alloc_stage2_pgd()
1664 hyp_pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, hyp_pgd_order); in kvm_mmu_init()
1665 boot_hyp_pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, hyp_pgd_order); in kvm_mmu_init()
1686 merged_hyp_pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in kvm_mmu_init()
/linux-4.1.27/drivers/virtio/
Dvirtio_pci_legacy.c138 info->queue = alloc_pages_exact(size, GFP_KERNEL|__GFP_ZERO); in setup_vq()
Dvirtio_pci_modern.c308 GFP_KERNEL|__GFP_ZERO|__GFP_NOWARN); in alloc_virtqueue_pages()
317 return alloc_pages_exact(vring_pci_size(*num), GFP_KERNEL|__GFP_ZERO); in alloc_virtqueue_pages()
Dvirtio_mmio.c415 info->queue = alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO); in vm_setup_vq()
/linux-4.1.27/kernel/events/
Dring_buffer.c433 #define PERF_AUX_GFP (GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN | __GFP_NORETRY)
620 page = alloc_pages_node(node, GFP_KERNEL | __GFP_ZERO, 0); in perf_mmap_alloc_page()
/linux-4.1.27/drivers/base/
Ddevres.c114 dr = alloc_dr(release, size, gfp | __GFP_ZERO); in __devres_alloc()
139 dr = alloc_dr(release, size, gfp | __GFP_ZERO); in devres_alloc()
/linux-4.1.27/kernel/bpf/
Dcore.c73 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_alloc()
99 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_realloc()
/linux-4.1.27/drivers/char/
Dtile-srom.c376 GFP_KERNEL | __GFP_ZERO); in srom_init()
/linux-4.1.27/arch/mips/mm/
Dinit.c71 empty_zero_page = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in setup_zero_pages()
/linux-4.1.27/drivers/firewire/
Dcore-iso.c54 buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in fw_iso_buffer_alloc()
/linux-4.1.27/drivers/char/tpm/
Dxen-tpmfront.c198 priv->shr = (void *)__get_free_page(GFP_KERNEL|__GFP_ZERO); in setup_ring()
/linux-4.1.27/drivers/input/misc/
Dxen-kbdfront.c126 info->page = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xenkbd_probe()
/linux-4.1.27/sound/usb/usx2y/
Dusb_stream.c194 sk->s = (void *) __get_free_pages(GFP_KERNEL|__GFP_COMP|__GFP_ZERO, pg); in usb_stream_new()
214 (void *)__get_free_pages(GFP_KERNEL|__GFP_COMP|__GFP_ZERO, pg); in usb_stream_new()
/linux-4.1.27/mm/kasan/
Dkasan.c428 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in kasan_module_alloc()
/linux-4.1.27/arch/x86/mm/
Dpgtable.c9 #define PGALLOC_GFP GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO
Dinit.c90 __GFP_ZERO, order); in alloc_low_pages()
/linux-4.1.27/fs/proc/
Dvmcore.c1030 elfcorebuf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in parse_crash_elf64_headers()
1085 elfcorebuf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in parse_crash_elf32_headers()
/linux-4.1.27/drivers/xen/
Dgntalloc.c139 gref->page = alloc_page(GFP_KERNEL|__GFP_ZERO); in add_grefs()
/linux-4.1.27/arch/ia64/sn/pci/
Dtioca_provider.c124 GFP_KERNEL | __GFP_ZERO, in tioca_gart_init()
/linux-4.1.27/arch/tile/mm/
Dpgtable.c234 gfp_t flags = GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO; in pgtable_alloc_one()
/linux-4.1.27/include/sound/
Dpcm.h1180 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in snd_pcm_lib_alloc_vmalloc_buffer()
1198 GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in snd_pcm_lib_alloc_vmalloc_32_buffer()
/linux-4.1.27/fs/fuse/
Dcuse.c431 page = alloc_page(GFP_KERNEL | __GFP_ZERO); in cuse_send_init()
/linux-4.1.27/drivers/gpu/drm/gma500/
Dpsb_drv.c318 dev_priv->scratch_page = alloc_page(GFP_DMA32 | __GFP_ZERO); in psb_driver_load()
/linux-4.1.27/drivers/char/agp/
Dgeneric.c1201 page = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in agp_generic_alloc_pages()
1229 page = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in agp_generic_alloc_page()
Dintel-gtt.c298 page = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in intel_gtt_setup_scratch_page()
/linux-4.1.27/drivers/block/
Dbrd.c105 gfp_flags = GFP_NOIO | __GFP_ZERO; in brd_insert_page()
Dpktcdvd.c536 pkt->pages[i] = alloc_page(GFP_KERNEL|__GFP_ZERO); in pkt_alloc_packet_data()
/linux-4.1.27/fs/
Ddax.c243 GFP_KERNEL | __GFP_ZERO); in dax_load_hole()
Daio.c470 i, GFP_HIGHUSER | __GFP_ZERO); in aio_setup_ring()
998 req = kmem_cache_alloc(kiocb_cachep, GFP_KERNEL|__GFP_ZERO); in aio_get_req()
Dexec.c309 page = alloc_page(GFP_HIGHUSER|__GFP_ZERO); in get_arg_page()
/linux-4.1.27/drivers/input/touchscreen/
Dcyttsp4_core.c522 GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_btn_data()
566 p = krealloc(si->xy_mode, si->si_ofs.mode_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
571 p = krealloc(si->xy_data, si->si_ofs.data_size, GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
578 GFP_KERNEL|__GFP_ZERO); in cyttsp4_si_get_op_data_ptrs()
/linux-4.1.27/drivers/tty/hvc/
Dhvc_xen.c452 info->intf = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xencons_probe()
/linux-4.1.27/drivers/misc/mic/card/
Dmic_virtio.c282 used = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in mic_find_vq()
/linux-4.1.27/drivers/thunderbolt/
Dnhi.c278 &ring->descriptors_dma, GFP_KERNEL | __GFP_ZERO); in ring_alloc()
/linux-4.1.27/arch/s390/kernel/
Dcrash_dump.c60 GFP_KERNEL | __GFP_ZERO); in dump_save_area_create()
/linux-4.1.27/drivers/gpu/drm/ttm/
Dttm_page_alloc.c736 gfp_flags |= __GFP_ZERO; in ttm_get_pages()
Dttm_page_alloc_dma.c892 gfp_flags |= __GFP_ZERO; in ttm_dma_populate()
Dttm_bo.c1377 glob->dummy_read_page = alloc_page(__GFP_ZERO | GFP_DMA32); in ttm_bo_global_init()
/linux-4.1.27/drivers/irqchip/
Dirq-gic-v3-its.c882 base = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in its_alloc_tables()
994 pend_page = alloc_pages(GFP_NOWAIT | __GFP_ZERO, in its_cpu_init_lpis()
/linux-4.1.27/arch/sparc/mm/
Dinit_64.c2265 mem_map_zero = alloc_pages(GFP_KERNEL|__GFP_ZERO, 0); in mem_init()
2646 __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one_kernel()
2659 __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one()
/linux-4.1.27/drivers/md/
Dbitmap.c497 bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in bitmap_new_disk_sb()
774 store->sb_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in bitmap_storage_alloc()
787 store->filemap[pnum] = alloc_page(GFP_KERNEL|__GFP_ZERO); in bitmap_storage_alloc()
/linux-4.1.27/net/core/
Dsock.c1327 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1330 if (priority & __GFP_ZERO) { in sk_prot_alloc()
1401 sk = sk_prot_alloc(prot, priority | __GFP_ZERO, family); in sk_alloc()
Dpktgen.c2686 pkt_dev->page = alloc_pages_node(node, GFP_KERNEL | __GFP_ZERO, 0); in pktgen_finalize_skb()
Dneighbour.c327 __get_free_pages(GFP_ATOMIC | __GFP_ZERO, in neigh_hash_alloc()
/linux-4.1.27/arch/powerpc/platforms/ps3/
Dsystem-bus.c526 flag |= __GFP_ZERO; in ps3_alloc_coherent()
/linux-4.1.27/drivers/sh/maple/
Dmaple.c742 (void *) __get_free_pages(GFP_KERNEL | __GFP_ZERO, in maple_get_dma_buffer()
/linux-4.1.27/drivers/media/v4l2-core/
Dvideobuf2-dma-sg.c79 pages = alloc_pages(GFP_KERNEL | __GFP_ZERO | in vb2_dma_sg_alloc_compacted()
/linux-4.1.27/drivers/misc/cxl/
Dnative.c179 __get_free_pages(GFP_KERNEL | __GFP_ZERO, afu->spa_order))) { in alloc_spa()
/linux-4.1.27/net/openvswitch/
Dflow_table.c95 GFP_KERNEL | __GFP_ZERO, in ovs_flow_alloc()
/linux-4.1.27/drivers/video/fbdev/
Dxen-fbfront.c410 info->page = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xenfb_probe()
Dfsl-diu-fb.c875 p = alloc_pages_exact(smem_len, GFP_DMA | __GFP_ZERO); in map_video_memory()
1694 &dma_addr, GFP_DMA | __GFP_ZERO); in fsl_diu_probe()
Dpxafb.c913 GFP_KERNEL | __GFP_ZERO); in pxafb_overlay_map_video_memory()
1713 fbi->video_mem = alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO); in pxafb_init_video_memory()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_memfree.c115 page = alloc_pages(gfp_mask | __GFP_ZERO, order); in mthca_alloc_icm_pages()
/linux-4.1.27/arch/sparc/kernel/
Dirq_64.c1094 __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in irq_ivector_init()
/linux-4.1.27/drivers/vfio/
Dvfio_iommu_type1.c706 pages = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in vfio_test_domain_fgsp()
/linux-4.1.27/sound/core/
Dinfo.c92 nbuf = krealloc(buffer->buffer, nsize, GFP_KERNEL | __GFP_ZERO); in resize_info_buffer()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c291 p = alloc_pages_node(node, gfp | __GFP_ZERO, 0); in topa_alloc()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c813 *str = kmalloc(nob, GFP_IOFS | __GFP_ZERO); in cfs_trace_allocate_string_buffer()
/linux-4.1.27/drivers/misc/mic/host/
Dmic_virtio.c654 __get_free_pages(GFP_KERNEL | __GFP_ZERO, in mic_virtio_add_device()
/linux-4.1.27/arch/powerpc/kernel/
Dfadump.c554 vaddr = (void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, order); in fadump_cpu_notes_buf_alloc()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_gtt.c432 pd->page = alloc_page(GFP_KERNEL | __GFP_ZERO); in alloc_pd_single()
2137 page = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in setup_scratch_page()
/linux-4.1.27/net/ipv4/
Dfib_semantics.c679 __get_free_pages(GFP_KERNEL | __GFP_ZERO, in fib_info_hash_alloc()
/linux-4.1.27/drivers/xen/events/
Devents_base.c1716 pirq_eoi_map = (void *)__get_free_page(GFP_KERNEL|__GFP_ZERO); in xen_init_IRQ()
/linux-4.1.27/drivers/s390/kvm/
Dvirtio_ccw.c507 info->queue = alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO); in virtio_ccw_setup_vq()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_device.c766 rdev->dummy_page.page = alloc_page(GFP_DMA32 | GFP_KERNEL | __GFP_ZERO); in radeon_dummy_page_init()
/linux-4.1.27/drivers/block/drbd/
Ddrbd_bitmap.c400 GFP_NOIO | __GFP_HIGHMEM | __GFP_ZERO, in bm_realloc_pages()
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
Drouter.c1263 __GFP_ZERO | GFP_IOFS, 0); in lnet_new_rtrbuf()
/linux-4.1.27/fs/ceph/
Dfile.c92 cf = kmem_cache_alloc(ceph_file_cachep, GFP_NOFS | __GFP_ZERO); in ceph_init_file()
Ddir.c41 di = kmem_cache_alloc(ceph_dentry_cachep, GFP_NOFS | __GFP_ZERO); in ceph_init_dentry()
/linux-4.1.27/drivers/net/ethernet/tile/
Dtilepro.c2316 priv->eq_pages = alloc_pages(GFP_KERNEL | __GFP_ZERO, EQ_ORDER); in tile_net_dev_init()
/linux-4.1.27/fs/ecryptfs/
Dcrypto.c1166 page = alloc_pages(gfp_mask | __GFP_ZERO, order); in ecryptfs_get_zeroed_pages()
/linux-4.1.27/drivers/char/xillybus/
Dxillybus_core.c364 GFP_KERNEL | __GFP_DMA32 | __GFP_ZERO, in xilly_get_dma_buffers()
/linux-4.1.27/drivers/misc/sgi-xp/
Dxpc_uv.c243 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE, in xpc_create_gru_mq_uv()
/linux-4.1.27/fs/gfs2/
Dquota.c1279 __GFP_ZERO, PAGE_KERNEL); in gfs2_quota_init()
Ddir.c1899 ht = __vmalloc(size, GFP_NOFS | __GFP_NOWARN | __GFP_ZERO, in leaf_dealloc()
/linux-4.1.27/net/netfilter/
Dnf_conntrack_core.c1523 hash = (void *)__get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in nf_ct_alloc_hashtable()
/linux-4.1.27/drivers/dma/ioat/
Ddma_v3.c260 gfp_t flags = __GFP_ZERO | GFP_ATOMIC; in ioat3_alloc_sed()
/linux-4.1.27/arch/x86/xen/
Dmmu.c1423 user_pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xen_pgd_alloc()
/linux-4.1.27/kernel/trace/
Dtrace_events.c35 #define GFP_TRACE (GFP_KERNEL | __GFP_ZERO)
Dftrace.c2917 pg->records = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in ftrace_allocate_records()
/linux-4.1.27/drivers/staging/ozwpan/
Dozhcd.c1319 mem_flags | __GFP_ZERO); in oz_build_endpoints_for_config()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Dtrans.c127 page = alloc_pages(__GFP_COMP | __GFP_NOWARN | __GFP_ZERO, in iwl_pcie_alloc_fw_monitor()
/linux-4.1.27/drivers/md/bcache/
Dsuper.c1480 ((void *) __get_free_pages(__GFP_ZERO|gfp, ilog2(bucket_pages(c))))
/linux-4.1.27/drivers/scsi/
Dsd.c706 page = alloc_page(GFP_ATOMIC | __GFP_ZERO); in sd_setup_discard_cmnd()
Dsg.c1854 gfp_mask |= __GFP_ZERO; in sg_build_indirect()
Dpmcraid.c3302 page = alloc_pages(GFP_KERNEL|GFP_DMA|__GFP_ZERO, order); in pmcraid_alloc_sglist()
/linux-4.1.27/drivers/target/
Dtarget_core_transport.c2287 gfp_t zero_flag = (zero_page) ? __GFP_ZERO : 0; in target_alloc_sgl()
/linux-4.1.27/net/netlink/
Daf_netlink.c337 gfp_t gfp_flags = GFP_KERNEL | __GFP_COMP | __GFP_ZERO | in alloc_one_pg_vec_page()
/linux-4.1.27/drivers/android/
Dbinder.c596 *page = alloc_page(GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in binder_update_page_range()
/linux-4.1.27/net/packet/
Daf_packet.c3767 __GFP_ZERO | __GFP_NOWARN | __GFP_NORETRY; in alloc_one_pg_vec_page()

12