Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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()
Ddmapool.c340 page = pool_alloc_page(pool, mem_flags & (~__GFP_ZERO)); in dma_pool_alloc()
378 if (!(mem_flags & __GFP_ZERO)) in dma_pool_alloc()
383 if (mem_flags & __GFP_ZERO) in dma_pool_alloc()
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.c198 gfp_t flags = GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN; in alloc_page_ext()
Dvmalloc.c1585 const gfp_t nested_gfp = (gfp_mask & GFP_RECLAIM_MASK) | __GFP_ZERO; in __vmalloc_area_node()
1762 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc()
1779 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
1823 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in vzalloc_node()
1883 ret = __vmalloc_node(size, 1, GFP_VMALLOC32 | __GFP_ZERO, PAGE_KERNEL, in vmalloc_32_user()
Dmempool.c322 VM_WARN_ON_ONCE(gfp_mask & __GFP_ZERO); in mempool_alloc()
Dnommu.c278 ret = __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vmalloc_user()
357 return __vmalloc(size, GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in vzalloc()
/linux-4.4.14/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.4.14/include/linux/
Dslab.h559 return kmalloc_array(n, size, flags | __GFP_ZERO); in kcalloc()
592 return kmem_cache_alloc(k, flags | __GFP_ZERO); in kmem_cache_zalloc()
602 return kmalloc(size, flags | __GFP_ZERO); in kzalloc()
613 return kmalloc_node(size, flags | __GFP_ZERO, node); in kzalloc_node()
Ddmapool.h30 return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle); in dma_pool_zalloc()
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.h191 flag | __GFP_ZERO); in dma_zalloc_coherent()
Dgfp.h180 #define __GFP_ZERO ((__force gfp_t)___GFP_ZERO) macro
Ddevice.h655 return devm_kmalloc(dev, size, gfp | __GFP_ZERO); in devm_kzalloc()
667 return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in devm_kcalloc()
/linux-4.4.14/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.4.14/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.c390 __GFP_REPEAT | __GFP_ZERO); in __alloc_for_cache()
/linux-4.4.14/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.c657 if (!alloc_cpumask_var(&frozen_cpus, GFP_KERNEL|__GFP_ZERO)) in alloc_frozen_cpus()
/linux-4.4.14/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.4.14/include/trace/events/
Dgfpflags.h31 {(unsigned long)__GFP_ZERO, "GFP_ZERO"}, \
/linux-4.4.14/drivers/hv/
Dconnection.c156 (void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, 0); in vmbus_connect()
171 vmbus_connection.monitor_pages[0] = (void *)__get_free_pages((GFP_KERNEL|__GFP_ZERO), 0); in vmbus_connect()
172 vmbus_connection.monitor_pages[1] = (void *)__get_free_pages((GFP_KERNEL|__GFP_ZERO), 0); in vmbus_connect()
Dchannel.c92 GFP_KERNEL|__GFP_ZERO, in vmbus_open()
97 out = (void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, in vmbus_open()
/linux-4.4.14/net/xfrm/
Dxfrm_hash.c25 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_dev.c125 info = kmem_cache_alloc(osc_thread_kmem, GFP_NOFS | __GFP_ZERO); in osc_key_init()
150 info = kmem_cache_alloc(osc_session_kmem, GFP_NOFS | __GFP_ZERO); in osc_session_init()
Dosc_object.c258 osc = kmem_cache_alloc(osc_object_kmem, GFP_NOFS | __GFP_ZERO); in osc_object_alloc()
Dosc_quota.c38 oqi = kmem_cache_alloc(osc_quota_kmem, GFP_NOFS | __GFP_ZERO); in osc_oqi_alloc()
Dosc_io.c806 or = kmem_cache_alloc(osc_req_kmem, GFP_NOFS | __GFP_ZERO); in osc_req_init()
Dosc_lock.c1558 clk = kmem_cache_alloc(osc_lock_kmem, GFP_NOFS | __GFP_ZERO); in osc_lock_init()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-mem.c40 ret = __vmalloc(size, flags | __GFP_ZERO, PAGE_KERNEL); in libcfs_kvzalloc()
/linux-4.4.14/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.4.14/include/drm/
Ddrm_mem_util.h41 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in drm_calloc_large()
/linux-4.4.14/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.4.14/sound/hda/
Darray.c28 nlist = krealloc(array->list, size, GFP_KERNEL | __GFP_ZERO); in snd_array_new()
/linux-4.4.14/arch/x86/um/
Dldt.c161 __get_free_page(GFP_KERNEL|__GFP_ZERO); in write_ldt()
251 __get_free_pages(GFP_KERNEL|__GFP_ZERO, order); in ldt_get_host_info()
341 page = __get_free_page(GFP_KERNEL|__GFP_ZERO); in init_new_ldt()
/linux-4.4.14/arch/score/mm/
Dinit.c48 empty_zero_page = __get_free_pages(GFP_KERNEL | __GFP_ZERO, 0); in setup_zero_page()
/linux-4.4.14/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.4.14/security/apparmor/
Dlib.c100 if (flags & __GFP_ZERO) in __aa_kvmalloc()
/linux-4.4.14/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.4.14/security/selinux/ss/
Dstatus.c54 selinux_status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()
Dpolicydb.c344 GFP_KERNEL | __GFP_ZERO)) in common_index()
361 GFP_KERNEL | __GFP_ZERO)) in class_index()
382 GFP_KERNEL | __GFP_ZERO)) in role_index()
404 GFP_KERNEL | __GFP_ZERO)) in type_index()
409 GFP_KERNEL | __GFP_ZERO)) in type_index()
431 GFP_KERNEL | __GFP_ZERO)) in user_index()
452 GFP_KERNEL | __GFP_ZERO)) in sens_index()
473 GFP_KERNEL | __GFP_ZERO)) in cat_index()
567 GFP_KERNEL | __GFP_ZERO); in policydb_index()
572 p->p_types.nprim, GFP_KERNEL | __GFP_ZERO); in policydb_index()
[all …]
Davtab.c98 GFP_KERNEL|__GFP_ZERO)) { in avtab_insert_node()
333 GFP_KERNEL | __GFP_ZERO); in avtab_alloc()
Dconditional.c207 GFP_KERNEL | __GFP_ZERO)) in cond_index_bool()
/linux-4.4.14/security/apparmor/include/
Dapparmor.h77 return __aa_kvmalloc(size, __GFP_ZERO); in kvzalloc()
/linux-4.4.14/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.4.14/arch/xtensa/include/asm/
Dpgalloc.h33 return (pgd_t*) __get_free_pages(GFP_KERNEL | __GFP_ZERO, PGD_ORDER); in pgd_alloc()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dremote_perm.c64 lrp = kmem_cache_alloc(ll_remote_perm_cachep, GFP_KERNEL | __GFP_ZERO); in alloc_ll_remote_perm()
85 hash = kmem_cache_alloc(ll_rmtperm_hash_cachep, GFP_NOFS | __GFP_ZERO); in alloc_rmtperm_hash()
Dsuper25.c56 lli = kmem_cache_alloc(ll_inode_cachep, GFP_NOFS | __GFP_ZERO); in ll_alloc_inode()
Dvvp_dev.c82 info = kmem_cache_alloc(vvp_thread_kmem, GFP_NOFS | __GFP_ZERO); in vvp_key_init()
101 session = kmem_cache_alloc(vvp_session_kmem, GFP_NOFS | __GFP_ZERO); in vvp_session_key_init()
Dllite_close.c224 oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in ll_som_update()
Dxattr_cache.c118 xattr = kmem_cache_alloc(xattr_kmem, GFP_NOFS | __GFP_ZERO); in ll_xattr_cache_add()
Dnamei.c906 oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in ll_objects_destroy()
/linux-4.4.14/fs/xfs/
Dkmem.h58 lflags |= __GFP_ZERO; in kmem_flags_convert()
Dkmem.c87 ptr = __vmalloc(size, lflags | __GFP_HIGHMEM | __GFP_ZERO, PAGE_KERNEL); in kmem_zalloc_large()
/linux-4.4.14/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.4.14/arch/unicore32/include/asm/
Dpgalloc.h31 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_dev.c145 info = kmem_cache_alloc(lov_thread_kmem, GFP_NOFS | __GFP_ZERO); in lov_key_init()
173 info = kmem_cache_alloc(lov_session_kmem, GFP_NOFS | __GFP_ZERO); in lov_session_key_init()
264 lr = kmem_cache_alloc(lov_req_kmem, GFP_NOFS | __GFP_ZERO); in lov_req_init()
Dlov_request.c205 tmp_oa = kmem_cache_alloc(obdo_cachep, GFP_NOFS | __GFP_ZERO); in common_attr_done()
313 GFP_NOFS | __GFP_ZERO); in lov_prep_getattr_set()
396 GFP_NOFS | __GFP_ZERO); in lov_prep_destroy_set()
512 GFP_NOFS | __GFP_ZERO); in lov_prep_setattr_set()
Dlovsub_object.c146 los = kmem_cache_alloc(lovsub_object_kmem, GFP_NOFS | __GFP_ZERO); in lovsub_object_alloc()
Dlovsub_dev.c149 lsr = kmem_cache_alloc(lovsub_req_kmem, GFP_NOFS | __GFP_ZERO); in lovsub_req_init()
Dlovsub_lock.c456 lsk = kmem_cache_alloc(lovsub_lock_kmem, GFP_NOFS | __GFP_ZERO); in lovsub_lock_init()
Dlov_ea.c103 loi = kmem_cache_alloc(lov_oinfo_slab, GFP_NOFS | __GFP_ZERO); in lsm_alloc_plain()
Dlov_lock.c147 link = kmem_cache_alloc(lov_lock_link_kmem, GFP_NOFS | __GFP_ZERO); in lov_sublock_alloc()
1142 lck = kmem_cache_alloc(lov_lock_kmem, GFP_NOFS | __GFP_ZERO); in lov_lock_init_raid0()
1178 lck = kmem_cache_alloc(lov_lock_kmem, GFP_NOFS | __GFP_ZERO); in lov_lock_init_empty()
Dlov_object.c894 lov = kmem_cache_alloc(lov_object_kmem, GFP_NOFS | __GFP_ZERO); in lov_object_alloc()
/linux-4.4.14/arch/arm64/include/asm/
Dpgalloc.h29 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dgf100.c87 fb->r100c10_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in gf100_fb_new_()
Dnv50.c266 fb->r100c08_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in nv50_fb_new_()
/linux-4.4.14/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()
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/lclient/
Dlcommon_cl.c119 info = kmem_cache_alloc(ccc_thread_kmem, GFP_NOFS | __GFP_ZERO); in ccc_key_init()
138 session = kmem_cache_alloc(ccc_session_kmem, GFP_NOFS | __GFP_ZERO); in ccc_session_key_init()
254 vrq = kmem_cache_alloc(ccc_req_kmem, GFP_NOFS | __GFP_ZERO); in ccc_req_init()
330 vob = kmem_cache_alloc(ccc_object_kmem, GFP_NOFS | __GFP_ZERO); in ccc_object_alloc()
399 clk = kmem_cache_alloc(ccc_lock_kmem, GFP_NOFS | __GFP_ZERO); in ccc_lock_init()
/linux-4.4.14/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.c465 vcpu->arch.shared = (void*)__get_free_page(GFP_KERNEL|__GFP_ZERO); in kvmppc_core_vcpu_create_e500()
/linux-4.4.14/arch/s390/include/asm/
Dpage.h63 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
/linux-4.4.14/arch/arm/include/asm/
Dpgalloc.h60 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
/linux-4.4.14/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.4.14/drivers/iommu/
Dintel-svm.c46 pages = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in intel_svm_alloc_pasid_tables()
56 pages = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in intel_svm_alloc_pasid_tables()
96 pages = alloc_pages(GFP_KERNEL | __GFP_ZERO, PRQ_ORDER); in intel_svm_enable_prq()
Damd_iommu_init.c507 iommu->cmd_buf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_command_buffer()
554 iommu->evt_buf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_event_buffer()
586 iommu->ppr_log = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_ppr_log()
1874 amd_iommu_dev_table = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
1890 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
1896 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
1940 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
Dtegra-smmu.c273 as->pd = alloc_page(GFP_KERNEL | __GFP_DMA | __GFP_ZERO); in tegra_smmu_domain_alloc()
555 page = alloc_page(GFP_KERNEL | __GFP_DMA | __GFP_ZERO); in as_get_pte()
Dfsl_pamu.c1093 p = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in fsl_pamu_probe()
Dio-pgtable-arm.c215 void *pages = alloc_pages_exact(size, gfp | __GFP_ZERO); in __arm_lpae_alloc_pages()
Dexynos-iommu.c676 domain->lv2entcnt = (short *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, 1); in exynos_iommu_domain_alloc()
Dintel_irq_remapping.c521 pages = alloc_pages_node(iommu->node, GFP_KERNEL | __GFP_ZERO, in intel_setup_irq_remapping()
/linux-4.4.14/arch/s390/mm/
Dinit.c62 empty_zero_page = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in setup_zero_pages()
/linux-4.4.14/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.4.14/virt/kvm/
Dcoalesced_mmio.c111 page = alloc_page(GFP_KERNEL | __GFP_ZERO); in kvm_coalesced_mmio_init()
/linux-4.4.14/arch/x86/kernel/
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()
Despfix_64.c60 #define PGALLOC_GFP (GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO)
Dpci-dma.c89 flag &= ~__GFP_ZERO; in dma_generic_alloc_coherent()
/linux-4.4.14/arch/microblaze/mm/
Dpgtable.c243 __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one_kernel()
/linux-4.4.14/arch/nios2/mm/
Ddma-mapping.c33 gfp |= __GFP_ZERO; in dma_alloc_coherent()
/linux-4.4.14/arch/ia64/kernel/
Duncached.c101 GFP_KERNEL | __GFP_ZERO | __GFP_THISNODE, in uncached_add_chunk()
/linux-4.4.14/drivers/lguest/
Dcore.c78 lg_switcher_pages[i] = alloc_page(GFP_KERNEL|__GFP_ZERO); in map_switcher()
/linux-4.4.14/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.4.14/arch/alpha/mm/
Dinit.c45 ret = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in pgd_alloc()
/linux-4.4.14/arch/ia64/include/asm/
Dpage.h87 GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr); \
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_extent.c115 node = kmem_cache_alloc(ldlm_interval_slab, GFP_NOFS | __GFP_ZERO); in ldlm_interval_alloc()
Dldlm_resource.c1034 res = kmem_cache_alloc(ldlm_resource_slab, GFP_NOFS | __GFP_ZERO); in ldlm_resource_new()
/linux-4.4.14/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()
1665 hyp_pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, hyp_pgd_order); in kvm_mmu_init()
1666 boot_hyp_pgd = (pgd_t *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, hyp_pgd_order); in kvm_mmu_init()
1687 merged_hyp_pgd = (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in kvm_mmu_init()
/linux-4.4.14/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.c416 info->queue = alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO); in vm_setup_vq()
/linux-4.4.14/kernel/events/
Dring_buffer.c433 #define PERF_AUX_GFP (GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN | __GFP_NORETRY)
623 page = alloc_pages_node(node, GFP_KERNEL | __GFP_ZERO, 0); in perf_mmap_alloc_page()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_rma.h405 ret = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in scif_zalloc()
Dscif_rma.c388 GFP_KERNEL | __GFP_ZERO); in scif_create_remote_lookup()
398 GFP_KERNEL | __GFP_ZERO); in scif_create_remote_lookup()
/linux-4.4.14/drivers/base/
Ddevres.c114 dr = alloc_dr(release, size, gfp | __GFP_ZERO, nid); in __devres_alloc_node()
140 dr = alloc_dr(release, size, gfp | __GFP_ZERO, nid); in devres_alloc_node()
/linux-4.4.14/drivers/char/tpm/
Dxen-tpmfront.c198 priv->shr = (void *)__get_free_page(GFP_KERNEL|__GFP_ZERO); in setup_ring()
/linux-4.4.14/drivers/firewire/
Dcore-iso.c54 buffer->pages[i] = alloc_page(GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in fw_iso_buffer_alloc()
/linux-4.4.14/drivers/char/
Dtile-srom.c376 GFP_KERNEL | __GFP_ZERO); in srom_init()
/linux-4.4.14/kernel/bpf/
Dcore.c75 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_alloc()
104 gfp_t gfp_flags = GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO | in bpf_prog_realloc()
/linux-4.4.14/drivers/input/misc/
Dxen-kbdfront.c126 info->page = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xenkbd_probe()
/linux-4.4.14/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.4.14/arch/x86/mm/
Dpgtable.c9 #define PGALLOC_GFP GFP_KERNEL | __GFP_NOTRACK | __GFP_REPEAT | __GFP_ZERO
Dinit.c93 __GFP_ZERO, order); in alloc_low_pages()
/linux-4.4.14/mm/kasan/
Dkasan.c442 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO, in kasan_module_alloc()
/linux-4.4.14/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.4.14/arch/mips/mm/
Dinit.c73 empty_zero_page = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in setup_zero_pages()
/linux-4.4.14/arch/tile/mm/
Dpgtable.c234 gfp_t flags = GFP_KERNEL|__GFP_REPEAT|__GFP_ZERO; in pgtable_alloc_one()
/linux-4.4.14/drivers/xen/
Dgntalloc.c139 gref->page = alloc_page(GFP_KERNEL|__GFP_ZERO); in add_grefs()
/linux-4.4.14/arch/ia64/sn/pci/
Dtioca_provider.c124 GFP_KERNEL | __GFP_ZERO, in tioca_gart_init()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c399 el = kmem_cache_alloc(echo_lock_kmem, GFP_NOFS | __GFP_ZERO); in echo_lock_init()
570 eco = kmem_cache_alloc(echo_object_kmem, GFP_NOFS | __GFP_ZERO); in echo_object_alloc()
633 info = kmem_cache_alloc(echo_thread_kmem, GFP_NOFS | __GFP_ZERO); in echo_thread_key_init()
664 session = kmem_cache_alloc(echo_session_kmem, GFP_NOFS | __GFP_ZERO); in echo_session_key_init()
/linux-4.4.14/fs/fuse/
Dcuse.c431 page = alloc_page(GFP_KERNEL | __GFP_ZERO); in cuse_send_init()
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-alsa-pcm.c545 s->q.gfp_flags |= __GFP_ZERO; in snd_cobalt_pcm_create()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dpsb_drv.c318 dev_priv->scratch_page = alloc_page(GFP_DMA32 | __GFP_ZERO); in psb_driver_load()
/linux-4.4.14/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.4.14/include/sound/
Dpcm.h1193 GFP_KERNEL | __GFP_HIGHMEM | __GFP_ZERO); in snd_pcm_lib_alloc_vmalloc_buffer()
1211 GFP_KERNEL | GFP_DMA32 | __GFP_ZERO); in snd_pcm_lib_alloc_vmalloc_32_buffer()
/linux-4.4.14/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.4.14/drivers/block/
Dbrd.c105 gfp_flags = GFP_NOIO | __GFP_ZERO; in brd_insert_page()
/linux-4.4.14/drivers/tty/hvc/
Dhvc_xen.c448 info->intf = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xencons_probe()
/linux-4.4.14/drivers/irqchip/
Dirq-gic-v3-its.c881 base = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in its_alloc_tables()
993 pend_page = alloc_pages(GFP_NOWAIT | __GFP_ZERO, in its_cpu_init_lpis()
/linux-4.4.14/drivers/md/
Draid5-cache.c296 io->meta_page = alloc_page(GFP_NOIO | __GFP_NOFAIL | __GFP_ZERO); in r5l_new_meta()
998 page = alloc_page(GFP_KERNEL | __GFP_ZERO); in r5l_log_write_empty_meta_block()
Dbitmap.c497 bitmap->storage.sb_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in bitmap_new_disk_sb()
773 store->sb_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in bitmap_storage_alloc()
786 store->filemap[pnum] = alloc_page(GFP_KERNEL|__GFP_ZERO); in bitmap_storage_alloc()
/linux-4.4.14/drivers/video/fbdev/
Dssd1307fb.c595 vmem = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in ssd1307fb_probe()
Dxen-fbfront.c410 info->page = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in xenfb_probe()
Dfsl-diu-fb.c878 p = alloc_pages_exact(smem_len, GFP_DMA | __GFP_ZERO); in map_video_memory()
1704 &dma_addr, GFP_DMA | __GFP_ZERO); in fsl_diu_probe()
Dpxafb.c913 GFP_KERNEL | __GFP_ZERO); in pxafb_overlay_map_video_memory()
1712 fbi->video_mem = alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO); in pxafb_init_video_memory()
/linux-4.4.14/drivers/media/v4l2-core/
Dvideobuf2-dma-sg.c79 pages = alloc_pages(GFP_KERNEL | __GFP_ZERO | in vb2_dma_sg_alloc_compacted()
/linux-4.4.14/drivers/misc/mic/card/
Dmic_virtio.c282 used = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in mic_find_vq()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_page_alloc.c736 gfp_flags |= __GFP_ZERO; in ttm_get_pages()
Dttm_page_alloc_dma.c895 gfp_flags |= __GFP_ZERO; in ttm_dma_populate()
Dttm_bo.c1381 glob->dummy_read_page = alloc_page(__GFP_ZERO | GFP_DMA32); in ttm_bo_global_init()
/linux-4.4.14/drivers/thunderbolt/
Dnhi.c278 &ring->descriptors_dma, GFP_KERNEL | __GFP_ZERO); in ring_alloc()
/linux-4.4.14/fs/
Daio.c479 i, GFP_HIGHUSER | __GFP_ZERO); in aio_setup_ring()
1007 req = kmem_cache_alloc(kiocb_cachep, GFP_KERNEL|__GFP_ZERO); in aio_get_req()
Ddax.c263 GFP_KERNEL | __GFP_ZERO); in dax_load_hole()
Dexec.c315 page = alloc_page(GFP_HIGHUSER|__GFP_ZERO); in get_arg_page()
/linux-4.4.14/arch/sparc/mm/
Dinit_64.c2324 mem_map_zero = alloc_pages(GFP_KERNEL|__GFP_ZERO, 0); in mem_init()
2705 __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one_kernel()
2718 __GFP_REPEAT | __GFP_ZERO); in pte_alloc_one()
/linux-4.4.14/drivers/sh/maple/
Dmaple.c742 (void *) __get_free_pages(GFP_KERNEL | __GFP_ZERO, in maple_get_dma_buffer()
/linux-4.4.14/arch/powerpc/platforms/ps3/
Dsystem-bus.c526 flag |= __GFP_ZERO; in ps3_alloc_coherent()
/linux-4.4.14/sound/core/
Dinfo.c343 GFP_KERNEL | __GFP_ZERO); in snd_info_text_entry_write()
/linux-4.4.14/net/openvswitch/
Dflow_table.c96 GFP_KERNEL | __GFP_ZERO, in ovs_flow_alloc()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_events.c140 backing_store = (void *) __get_free_pages(GFP_KERNEL | __GFP_ZERO, in allocate_signal_page()
/linux-4.4.14/net/core/
Dsock.c1344 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO); in sk_prot_alloc()
1347 if (priority & __GFP_ZERO) { in sk_prot_alloc()
1419 sk = sk_prot_alloc(prot, priority | __GFP_ZERO, family); in sk_alloc()
/linux-4.4.14/drivers/misc/cxl/
Dnative.c199 __get_free_pages(GFP_KERNEL | __GFP_ZERO, afu->spa_order))) { in cxl_alloc_spa()
/linux-4.4.14/arch/sparc/kernel/
Dirq_64.c1099 __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in irq_ivector_init()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_object.c664 cle = kmem_cache_alloc(cl_env_kmem, GFP_NOFS | __GFP_ZERO); in cl_env_new()
Dgenops.c71 obd = kmem_cache_alloc(obd_device_cachep, GFP_NOFS | __GFP_ZERO); in obd_device_alloc()
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_memfree.c115 page = alloc_pages(gfp_mask | __GFP_ZERO, order); in mthca_alloc_icm_pages()
/linux-4.4.14/drivers/dma/ioat/
Dprep.c95 gfp_t flags = __GFP_ZERO | GFP_ATOMIC; in ioat3_alloc_sed()
/linux-4.4.14/drivers/vfio/
Dvfio_iommu_type1.c719 pages = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in vfio_test_domain_fgsp()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c350 p = alloc_pages_node(node, gfp | __GFP_ZERO, 0); in topa_alloc()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dtracefile.c813 *str = kmalloc(nob, GFP_KERNEL | __GFP_ZERO); in cfs_trace_allocate_string_buffer()
/linux-4.4.14/arch/arm64/mm/
Ddma-mapping.c559 gfp |= __GFP_ZERO; in __iommu_alloc_attrs()
/linux-4.4.14/drivers/misc/mic/host/
Dmic_virtio.c653 __get_free_pages(GFP_KERNEL | __GFP_ZERO, in mic_virtio_add_device()
/linux-4.4.14/arch/powerpc/kernel/
Dfadump.c554 vaddr = (void *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, order); in fadump_cpu_notes_buf_alloc()
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c766 cfg->afu = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_mem()
779 buf = (void *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in alloc_mem()
/linux-4.4.14/drivers/hwtracing/intel_th/
Dmsu.c619 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, order); in msc_buffer_contig_alloc()
/linux-4.4.14/drivers/xen/events/
Devents_base.c1713 pirq_eoi_map = (void *)__get_free_page(GFP_KERNEL|__GFP_ZERO); in xen_init_IRQ()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Drouter.c1248 GFP_KERNEL | __GFP_ZERO, 0); in lnet_new_rtrbuf()
/linux-4.4.14/fs/ceph/
Dfile.c160 cf = kmem_cache_alloc(ceph_file_cachep, GFP_KERNEL | __GFP_ZERO); in ceph_init_file()
Ddir.c41 di = kmem_cache_alloc(ceph_dentry_cachep, GFP_KERNEL | __GFP_ZERO); in ceph_init_dentry()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilepro.c2313 priv->eq_pages = alloc_pages(GFP_KERNEL | __GFP_ZERO, EQ_ORDER); in tile_net_dev_init()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_bitmap.c400 GFP_NOIO | __GFP_HIGHMEM | __GFP_ZERO, in bm_realloc_pages()
/linux-4.4.14/drivers/s390/virtio/
Dvirtio_ccw.c524 info->queue = alloc_pages_exact(size, GFP_KERNEL | __GFP_ZERO); in virtio_ccw_setup_vq()
/linux-4.4.14/net/ipv4/
Dfib_semantics.c844 __get_free_pages(GFP_KERNEL | __GFP_ZERO, in fib_info_hash_alloc()
/linux-4.4.14/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.4.14/fs/ecryptfs/
Dcrypto.c1165 page = alloc_pages(gfp_mask | __GFP_ZERO, order); in ecryptfs_get_zeroed_pages()

12