Home
last modified time | relevance | path

Searched refs:__GFP_ZERO (Results 1 – 25 of 263) sorted by relevance

1234567891011

/linux/tools/virtio/ringtest/
H A Dptr_ring.c25 #define __GFP_ZERO 0x1 macro
33 if (gfp & __GFP_ZERO) in kmalloc()
40 return kmalloc(size, flags | __GFP_ZERO); in kzalloc()
52 return kmalloc_array(n, size, flags | __GFP_ZERO); in kcalloc()
/linux/include/drm/
H A Ddrm_managed.h66 return drmm_kmalloc(dev, size, gfp | __GFP_ZERO); in drmm_kzalloc()
105 return drmm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in drmm_kcalloc()
/linux/arch/m68k/include/asm/
H A Dmcf_pgalloc.h17 struct ptdesc *ptdesc = pagetable_alloc((GFP_DMA | __GFP_ZERO) & in pte_alloc_one_kernel()
46 struct ptdesc *ptdesc = pagetable_alloc(GFP_DMA | __GFP_ZERO, 0); in pte_alloc_one()
/linux/drivers/iommu/
H A Diommu-pages.h60 page = alloc_pages(gfp | __GFP_ZERO, order); in __iommu_alloc_pages()
94 struct page *page = alloc_pages_node(nid, gfp | __GFP_ZERO, order); in iommu_alloc_pages_node()
/linux/lib/
H A Dslub_kunit.c209 p = krealloc(p, 40, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
214 p = krealloc(p, 56, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
225 p = krealloc(p, 112, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
H A Dtest_vmalloc.c99 ptr = __vmalloc_node(size, align, GFP_KERNEL | __GFP_ZERO, 0, in random_size_align_alloc_test()
122 ptr = __vmalloc_node(PAGE_SIZE, align, GFP_KERNEL|__GFP_ZERO, 0, in align_shift_alloc_test()
140 GFP_KERNEL | __GFP_ZERO, 0, in fix_align_alloc_test()
/linux/arch/x86/mm/
H A Dpti.c174 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_p4d()
201 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_pmd()
246 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_pte()
/linux/mm/kmsan/
H A Dhooks.c62 if (flags & __GFP_ZERO) in kmsan_slab_alloc()
99 if (flags & __GFP_ZERO) in kmsan_kmalloc_large()
153 gfp_t gfp_mask = GFP_KERNEL | __GFP_ZERO; in kmsan_ioremap_page_range()
/linux/tools/virtio/linux/
H A Dslab.h6 #define __GFP_ZERO 0 macro
/linux/tools/lib/
H A Dslab.c25 if (gfp & __GFP_ZERO) in kmalloc()
/linux/net/xfrm/
H A Dxfrm_hash.c26 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
/linux/arch/microblaze/include/asm/
H A Dpgalloc.h
/linux/drivers/gpu/drm/ttm/
H A Dttm_device.c99 glob->dummy_read_page = alloc_page(__GFP_ZERO | GFP_DMA32 | in ttm_global_init()
104 glob->dummy_read_page = alloc_page(__GFP_ZERO); in ttm_global_init()
/linux/drivers/firmware/efi/
H A Dcapsule-loader.c63 GFP_KERNEL | __GFP_ZERO); in __efi_capsule_setup_info()
71 GFP_KERNEL | __GFP_ZERO); in __efi_capsule_setup_info()
/linux/arch/xtensa/include/asm/
H A Dpgalloc.h
/linux/tools/include/linux/
H A Dslab.h27 return kmalloc(size, gfp | __GFP_ZERO); in kzalloc()
/linux/arch/powerpc/include/asm/
H A Dpgalloc.h21 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO)
/linux/arch/um/kernel/skas/
H A Dmmu.c28 stack = __get_free_pages(GFP_KERNEL | __GFP_ZERO, ilog2(STUB_DATA_PAGES)); in init_new_context()
/linux/arch/sh/mm/
H A Dpgtable.c52 return kmem_cache_alloc(pmd_cachep, GFP_KERNEL | __GFP_ZERO); in pmd_alloc_one()
/linux/drivers/tee/amdtee/
H A Dshm_pool.c22 va = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc()
/linux/drivers/md/dm-vdo/
H A Dmemory-alloc.c213 const gfp_t gfp_flags = GFP_KERNEL | __GFP_ZERO | __GFP_RETRY_MAYFAIL; in vdo_allocate_memory()
307 void *p = kmalloc(size, GFP_NOWAIT | __GFP_ZERO); in vdo_allocate_memory_nowait()
/linux/tools/testing/shared/
H A Dlinux.c108 else if (gfp & __GFP_ZERO) in kmem_cache_alloc_lru()
211 else if (gfp & __GFP_ZERO) in kmem_cache_alloc_bulk()
/linux/include/linux/
H A Dscs.h20 #define GFP_SCS (GFP_KERNEL | __GFP_ZERO)
H A Ddmapool.h55 return dma_pool_alloc(pool, mem_flags | __GFP_ZERO, handle); in dma_pool_zalloc()
/linux/security/selinux/
H A Dstatus.c49 selinux_state.status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()

1234567891011