Home
last modified time | relevance | path

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

12345678910>>...14

/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/u-boot/include/linux/
H A Dcompat.h52 #define __GFP_ZERO ((__force gfp_t)0x8000u) /* Return zeroed page on success */ macro
58 return kmalloc(size, flags | __GFP_ZERO); in kzalloc()
65 return kmalloc(n * size, flags | __GFP_ZERO); in kmalloc_array()
70 return kmalloc_array(n, size, flags | __GFP_ZERO); in kcalloc()
/OK3568_Linux_fs/kernel/include/linux/
H A Dslab.h615 return kmalloc_array(n, size, flags | __GFP_ZERO); in kcalloc()
644 return kmalloc_array_node(n, size, flags | __GFP_ZERO, node); in kcalloc_node()
666 return kmem_cache_alloc(k, flags | __GFP_ZERO); in kmem_cache_zalloc()
676 return kmalloc(size, flags | __GFP_ZERO); in kzalloc()
687 return kmalloc_node(size, flags | __GFP_ZERO, node); in kzalloc_node()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_managed.h63 return drmm_kmalloc(dev, size, gfp | __GFP_ZERO); in drmm_kzalloc()
102 return drmm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in drmm_kcalloc()
/OK3568_Linux_fs/u-boot/include/dm/
H A Ddevice.h660 _devres_alloc(release, size, gfp | __GFP_ZERO)
783 return devm_kmalloc(dev, size, gfp | __GFP_ZERO); in devm_kzalloc()
795 return devm_kmalloc_array(dev, n, size, flags | __GFP_ZERO); in devm_kcalloc()
876 return kmalloc(n * size, flags | __GFP_ZERO); in devm_kcalloc()
/OK3568_Linux_fs/kernel/tools/testing/radix-tree/
H A Dlinux.c52 else if (gfp & __GFP_ZERO) in kmem_cache_alloc()
92 if (gfp & __GFP_ZERO) in kmalloc()
/OK3568_Linux_fs/kernel/lib/
H A Dcpumask.c130 return alloc_cpumask_var_node(mask, flags | __GFP_ZERO, node); in zalloc_cpumask_var_node()
152 return alloc_cpumask_var(mask, flags | __GFP_ZERO); in zalloc_cpumask_var()
H A Dtest_vmalloc.c100 ptr = __vmalloc_node(size, align, GFP_KERNEL | __GFP_ZERO, 0, in random_size_align_alloc_test()
123 ptr = __vmalloc_node(PAGE_SIZE, align, GFP_KERNEL|__GFP_ZERO, 0, in align_shift_alloc_test()
141 GFP_KERNEL | __GFP_ZERO, 0, in fix_align_alloc_test()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/ttm/
H A Dttm_tt.c90 GFP_KERNEL | __GFP_ZERO); in ttm_tt_alloc_page_directory()
101 GFP_KERNEL | __GFP_ZERO); in ttm_dma_tt_alloc_page_directory()
112 GFP_KERNEL | __GFP_ZERO); in ttm_sg_tt_alloc_page_directory()
/OK3568_Linux_fs/kernel/arch/x86/um/
H A Dldt.c164 __get_free_page(GFP_KERNEL|__GFP_ZERO); in write_ldt()
254 __get_free_pages(GFP_KERNEL|__GFP_ZERO, order); in ldt_get_host_info()
344 page = __get_free_page(GFP_KERNEL|__GFP_ZERO); in init_new_ldt()
/OK3568_Linux_fs/kernel/tools/virtio/linux/
H A Dslab.h6 #define __GFP_ZERO 0 macro
/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dlocal_storage.c170 __GFP_ZERO | GFP_ATOMIC | __GFP_NOWARN, in cgroup_storage_update_elem()
317 __GFP_ZERO | GFP_USER, numa_node); in cgroup_storage_map_alloc()
516 __GFP_ZERO | GFP_USER, map->numa_node); in bpf_cgroup_storage_alloc()
520 flags = __GFP_ZERO | GFP_USER; in bpf_cgroup_storage_alloc()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/ump/linux/
H A Dump_kernel_memory_backend_os.c136 new_page = alloc_page(GFP_HIGHUSER | __GFP_ZERO | __GFP_REPEAT | __GFP_NOWARN); in os_allocate()
138 new_page = alloc_page(GFP_HIGHUSER | __GFP_ZERO | __GFP_REPEAT | __GFP_NOWARN | __GFP_COLD); in os_allocate()
/OK3568_Linux_fs/kernel/tools/testing/radix-tree/linux/
H A Dslab.h17 return kmalloc(size, gfp | __GFP_ZERO); in kzalloc()
H A Dgfp.h14 #define __GFP_ZERO 0x8000u macro
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_hash.c26 __get_free_pages(GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO, in xfrm_hash_alloc()
/OK3568_Linux_fs/kernel/arch/microblaze/include/asm/
H A Dpgalloc.h28 return (pgd_t *)__get_free_pages(GFP_KERNEL|__GFP_ZERO, 0); in get_pgd()
/OK3568_Linux_fs/u-boot/lib/
H A Dlinux_compat.c22 if (flags & __GFP_ZERO) in kmalloc()
/OK3568_Linux_fs/kernel/net/xdp/
H A Dxsk_queue.c36 gfp_flags = GFP_KERNEL | __GFP_ZERO | __GFP_NOWARN | in xskq_create()
/OK3568_Linux_fs/kernel/arch/powerpc/include/asm/
H A Dpgalloc.h21 #define PGALLOC_GFP (GFP_KERNEL | __GFP_ZERO)
/OK3568_Linux_fs/kernel/drivers/iommu/amd/
H A Dinit.c653 iommu->cmd_buf = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in alloc_command_buffer()
736 iommu->evt_buf = iommu_alloc_4k_pages(iommu, GFP_KERNEL | __GFP_ZERO, in alloc_event_buffer()
776 iommu->ppr_log = iommu_alloc_4k_pages(iommu, GFP_KERNEL | __GFP_ZERO, in alloc_ppr_log()
862 iommu->ga_log = (u8 *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in iommu_init_ga_log()
867 iommu->ga_log_tail = (u8 *)__get_free_pages(GFP_KERNEL | __GFP_ZERO, in iommu_init_ga_log()
883 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL | __GFP_ZERO, 1); in alloc_cwwb_sem()
987 gfp_flag = GFP_KERNEL | __GFP_ZERO | GFP_DMA32; in copy_device_table()
2650 GFP_KERNEL | __GFP_ZERO | GFP_DMA32, in early_amd_iommu_init()
2666 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
2672 GFP_KERNEL | __GFP_ZERO, in early_amd_iommu_init()
[all …]
/OK3568_Linux_fs/kernel/arch/sh/mm/
H A Dpgtable.c50 return kmem_cache_alloc(pmd_cachep, GFP_KERNEL | __GFP_ZERO); in pmd_alloc_one()
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dpgalloc.h29 return (pgd_t *)__get_free_page(GFP_KERNEL | __GFP_ZERO); in pgd_alloc()

12345678910>>...14