Home
last modified time | relevance | path

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

12345678910>>...15

/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/drivers/gpu/nova-core/
H A Dgsp.rs83 GFP_KERNEL | __GFP_ZERO, in new()
132 GFP_KERNEL | __GFP_ZERO, in new()
141 GFP_KERNEL | __GFP_ZERO, in new()
H A Ddma.rs27 let dma = CoherentAllocation::alloc_coherent(dev, len, GFP_KERNEL | __GFP_ZERO)?; in new()
/linux/block/
H A Dbio-integrity-auto.c130 gfp |= __GFP_ZERO; in bio_integrity_prep()
132 gfp |= __GFP_ZERO; in bio_integrity_prep()
145 bio_integrity_alloc_buf(bio, gfp & __GFP_ZERO); in bio_integrity_prep()
/linux/tools/lib/
H A Dslab.c25 if (gfp & __GFP_ZERO) in kmalloc()
51 if (gfp & __GFP_ZERO) in kmalloc_array()
/linux/include/linux/
H A Dslab.h1138 #define kcalloc(n, size, flags) kmalloc_array(n, size, (flags) | __GFP_ZERO)
1174 kmalloc_array_node(_n, _size, (_flags) | __GFP_ZERO, _node)
1179 #define kmem_cache_zalloc(_k, _flags) kmem_cache_alloc(_k, (_flags)|__GFP_ZERO)
1188 return kmalloc_noprof(size, flags | __GFP_ZERO); in kzalloc_noprof()
1191 #define kzalloc_node(_size, _flags, _node) kmalloc_node(_size, (_flags)|__GFP_ZERO, _node)
1201 #define kvzalloc(_size, _flags) kvmalloc(_size, (_flags)|__GFP_ZERO)
1203 #define kvzalloc_node(_size, _flags, _node) kvmalloc_node(_size, (_flags)|__GFP_ZERO, _node)
1220 #define kvcalloc_node_noprof(_n,_s,_f,_node) kvmalloc_array_node_noprof(_n,_s,(_f)|__GFP_ZERO,_node)
H A Dscs.h20 #define GFP_SCS (GFP_KERNEL | __GFP_ZERO)
/linux/arch/m68k/include/asm/
H A Dmcf_pgalloc.h17 struct ptdesc *ptdesc = pagetable_alloc((GFP_DMA | __GFP_ZERO) & in pte_alloc_one_kernel()
50 struct ptdesc *ptdesc = pagetable_alloc(GFP_DMA | __GFP_ZERO, 0); in pte_alloc_one()
H A Dpage_no.h16 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr)
/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/lib/tests/
H A Dslub_kunit.c267 p = krealloc(p, 40, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
272 p = krealloc(p, 56, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
283 p = krealloc(p, 112, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
/linux/rust/kernel/
H A Dalloc.rs78 pub const __GFP_ZERO: Flags = Flags(bindings::__GFP_ZERO); constant
/linux/mm/kmsan/
H A Dhooks.c62 if (flags & __GFP_ZERO) in kmsan_slab_alloc()
100 if (flags & __GFP_ZERO) in kmsan_kmalloc_large()
153 gfp_t gfp_mask = GFP_KERNEL | __GFP_ZERO; in kmsan_ioremap_page_range()
/linux/arch/x86/mm/
H A Dpti.c181 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_p4d()
208 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_pmd()
253 gfp_t gfp = (GFP_KERNEL | __GFP_NOTRACK | __GFP_ZERO); in pti_user_pagetable_walk_pte()
/linux/tools/virtio/linux/
H A Dslab.h6 #define __GFP_ZERO 0 macro
/linux/kernel/
H A Dvmcore_info.c146 vmcoreinfo_data = (unsigned char *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in crash_save_vmcoreinfo_init()
153 GFP_KERNEL | __GFP_ZERO); in crash_save_vmcoreinfo_init()
/linux/lib/
H A Dtest_vmalloc.c102 ptr = __vmalloc_node(size, align, GFP_KERNEL | __GFP_ZERO, 0, in random_size_align_alloc_test()
125 ptr = __vmalloc_node(PAGE_SIZE, align, GFP_KERNEL|__GFP_ZERO, 0, in align_shift_alloc_test()
143 GFP_KERNEL | __GFP_ZERO, 0, in fix_align_alloc_test()
/linux/net/xfrm/
H A Dxfrm_hash.c26 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
/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/include/linux/device/
H A Ddevres.h50 return devm_kmalloc(dev, size, gfp | __GFP_ZERO); in devm_kzalloc()
63 return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in devm_kcalloc()
/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/arch/powerpc/include/asm/
H A Dpgalloc.h21 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO)
/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/arch/x86/include/asm/
H A Dpage.h32 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr)

12345678910>>...15