| /linux/tools/virtio/ringtest/ |
| H A D | ptr_ring.c | 25 #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/block/ |
| H A D | bio-integrity-auto.c | 142 gfp |= __GFP_ZERO; in bio_integrity_prep() 144 gfp |= __GFP_ZERO; in bio_integrity_prep() 157 bio_integrity_alloc_buf(bio, gfp & __GFP_ZERO); in bio_integrity_prep()
|
| /linux/include/linux/ |
| H A D | slab.h | 1044 #define kcalloc(n, size, flags) kmalloc_array(n, size, (flags) | __GFP_ZERO) 1080 kmalloc_array_node(_n, _size, (_flags) | __GFP_ZERO, _node) 1085 #define kmem_cache_zalloc(_k, _flags) kmem_cache_alloc(_k, (_flags)|__GFP_ZERO) 1094 return kmalloc_noprof(size, flags | __GFP_ZERO); in kzalloc_noprof() 1097 #define kzalloc_node(_size, _flags, _node) kmalloc_node(_size, (_flags)|__GFP_ZERO, _node) 1107 #define kvzalloc(_size, _flags) kvmalloc(_size, (_flags)|__GFP_ZERO) 1109 #define kvzalloc_node(_size, _flags, _node) kvmalloc_node(_size, (_flags)|__GFP_ZERO, _node) 1126 #define kvcalloc_node_noprof(_n,_s,_f,_node) kvmalloc_array_node_noprof(_n,_s,(_f)|__GFP_ZERO,_node)
|
| H A D | scs.h | 20 #define GFP_SCS (GFP_KERNEL | __GFP_ZERO)
|
| /linux/arch/m68k/include/asm/ |
| H A D | mcf_pgalloc.h | 17 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 D | page_no.h | 17 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr)
|
| /linux/rust/kernel/ |
| H A D | alloc.rs | 78 pub const __GFP_ZERO: Flags = Flags(bindings::__GFP_ZERO); constant
|
| /linux/lib/tests/ |
| H A D | slub_kunit.c | 267 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/tools/virtio/linux/ |
| H A D | slab.h | 6 #define __GFP_ZERO 0 macro
|
| /linux/mm/kmsan/ |
| H A D | hooks.c | 62 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 D | pti.c | 181 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/net/xfrm/ |
| H A D | xfrm_hash.c | 26 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
|
| /linux/lib/ |
| H A D | test_vmalloc.c | 99 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/powerpc/include/asm/ |
| H A D | pgalloc.h | 21 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO)
|
| /linux/drivers/firmware/efi/ |
| H A D | capsule-loader.c | 63 GFP_KERNEL | __GFP_ZERO); in __efi_capsule_setup_info() 71 GFP_KERNEL | __GFP_ZERO); in __efi_capsule_setup_info()
|
| /linux/arch/sh/mm/ |
| H A D | pgtable.c | 52 return kmem_cache_alloc(pmd_cachep, GFP_KERNEL | __GFP_ZERO); in pmd_alloc_one()
|
| /linux/drivers/tee/amdtee/ |
| H A D | shm_pool.c | 22 va = __get_free_pages(GFP_KERNEL | __GFP_ZERO, order); in pool_op_alloc()
|
| /linux/include/linux/device/ |
| H A D | devres.h | 54 return devm_kmalloc(dev, size, gfp | __GFP_ZERO); in devm_kzalloc() 67 return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in devm_kcalloc()
|
| /linux/security/selinux/ |
| H A D | status.c | 49 selinux_state.status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()
|
| /linux/drivers/md/dm-vdo/ |
| H A D | memory-alloc.c | 213 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 D | linux.c | 94 else if (gfp & __GFP_ZERO) in kmem_cache_alloc_lru() 203 else if (gfp & __GFP_ZERO) in kmem_cache_alloc_bulk()
|
| /linux/rust/bindings/ |
| H A D | bindings_helper.h | 110 const gfp_t RUST_CONST_HELPER___GFP_ZERO = __GFP_ZERO;
|
| /linux/arch/alpha/include/asm/ |
| H A D | page.h | 17 vma_alloc_folio(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, 0, vma, vaddr)
|
| /linux/drivers/ptp/ |
| H A D | ptp_kvm_x86.c | 32 p = alloc_page(GFP_KERNEL | __GFP_ZERO); in kvm_arch_ptp_init()
|
| /linux/sound/soc/meson/ |
| H A D | meson-card-utils.c | 51 GFP_KERNEL | __GFP_ZERO); in meson_card_reallocate_links() 57 GFP_KERNEL | __GFP_ZERO); in meson_card_reallocate_links()
|