Home
last modified time | relevance | path

Searched refs:__GFP_ZERO (Results 1 – 25 of 261) 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/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()
/linux/rust/kernel/
H A Dalloc.rs82 pub const __GFP_ZERO: Flags = Flags(bindings::__GFP_ZERO);
78 pub const __GFP_ZERO: Flags = Flags(bindings::__GFP_ZERO); global() constant
/linux/include/linux/
H A Dslab.h1266 #define kcalloc(n, size, flags) kmalloc_array(n, size, (flags) | __GFP_ZERO)
1303 kmalloc_array_node(_n, _size, (_flags) | __GFP_ZERO, _node)
1308 #define kmem_cache_zalloc(_k, _flags) kmem_cache_alloc(_k, (_flags)|__GFP_ZERO)
1312 return _kmalloc_noprof(size, flags | __GFP_ZERO, token); in _kzalloc_noprof()
1324 #define kzalloc_node(_size, _flags, _node) kmalloc_node(_size, (_flags)|__GFP_ZERO, _node)
1359 #define kvzalloc(_size, _flags) kvmalloc(_size, (_flags)|__GFP_ZERO)
1361 #define kvzalloc_node(_size, _flags, _node) kvmalloc_node(_size, (_flags)|__GFP_ZERO, _node)
1378 #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/tools/virtio/linux/
H A Dslab.h6 #define __GFP_ZERO 0 macro
/linux/net/xfrm/
H A Dxfrm_hash.c26 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
/linux/lib/tests/
H A Dslub_kunit.c272 p = krealloc(p, 40, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
277 p = krealloc(p, 56, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
288 p = krealloc(p, 112, GFP_KERNEL | __GFP_ZERO); in test_krealloc_redzone_zeroing()
/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/net/xdp/
H A Dxsk_queue.c29 GFP_KERNEL_ACCOUNT | __GFP_ZERO, PAGE_KERNEL, in xskq_vmalloc_user()
/linux/tools/testing/shared/
H A Dlinux.c94 else if (gfp & __GFP_ZERO) in kmem_cache_alloc_lru()
203 else if (gfp & __GFP_ZERO) in kmem_cache_alloc_bulk()
/linux/security/selinux/
H A Dstatus.c49 selinux_state.status_page = alloc_page(GFP_KERNEL|__GFP_ZERO); in selinux_kernel_status_page()
/linux/rust/bindings/
H A Dbindings_helper.h122 const gfp_t RUST_CONST_HELPER___GFP_ZERO = __GFP_ZERO;
/linux/sound/soc/meson/
H A Dmeson-card-utils.c51 GFP_KERNEL | __GFP_ZERO); in meson_card_reallocate_links()
60 GFP_KERNEL | __GFP_ZERO); in meson_card_reallocate_links()
/linux/drivers/ptp/
H A Dptp_kvm_x86.c32 p = alloc_page(GFP_KERNEL | __GFP_ZERO); in kvm_arch_ptp_init()
/linux/lib/
H A Dbitmap.c745 return bitmap_alloc(nbits, flags | __GFP_ZERO); in bitmap_zalloc()
758 return bitmap_alloc_node(nbits, flags | __GFP_ZERO, node); in bitmap_zalloc_node()
796 return devm_bitmap_alloc(dev, nbits, flags | __GFP_ZERO); in devm_bitmap_zalloc()
/linux/drivers/gpu/drm/lima/
H A Dlima_vm.c59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); in lima_vm_map_page()
213 GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); in lima_vm_create()
/linux/block/
H A Dblk-ioc.c226 ioc = kmem_cache_alloc_node(iocontext_cachep, gfp_flags | __GFP_ZERO, in alloc_io_context()
362 icq = kmem_cache_alloc_node(et->icq_cache, GFP_ATOMIC | __GFP_ZERO, in ioc_create_icq()
/linux/drivers/gpu/drm/msm/adreno/
H A Da2xx_gpummu.c103 GFP_KERNEL | __GFP_ZERO, DMA_ATTR_FORCE_CONTIGUOUS); in a2xx_gpummu_new()
/linux/tools/include/linux/
H A Dslab.h140 return kmalloc(size, gfp | __GFP_ZERO); in kzalloc()
/linux/kernel/
H A Dprofile.c106 GFP_KERNEL|__GFP_ZERO|__GFP_NOWARN); in profile_init()
/linux/drivers/xen/
H A Dprivcmd-buf.c149 vma_priv->pages[i] = alloc_page(GFP_KERNEL | __GFP_ZERO); in privcmd_buf_mmap()
/linux/arch/x86/kernel/
H A Despfix_64.c52 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO)

1234567891011