Home
last modified time | relevance | path

Searched refs:__GFP_DMA (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/include/linux/
H A Dgfp_types.h72 #define __GFP_DMA ((__force gfp_t)___GFP_DMA) macro
76 #define GFP_ZONEMASK (__GFP_DMA|__GFP_HIGHMEM|__GFP_DMA32|__GFP_MOVABLE)
334 #define GFP_DMA __GFP_DMA
H A Dslab.h396 (IS_ENABLED(CONFIG_ZONE_DMA) ? __GFP_DMA : 0) | \
423 if (IS_ENABLED(CONFIG_ZONE_DMA) && (flags & __GFP_DMA)) in kmalloc_type()
/openbmc/linux/arch/arm/xen/
H A Dmm.c35 return __GFP_DMA; in xen_swiotlb_gfp()
/openbmc/linux/kernel/dma/
H A Dswiotlb.c452 if (IS_ENABLED(CONFIG_ZONE_DMA) && (gfp_mask & __GFP_DMA)) in swiotlb_init_late()
633 gfp |= __GFP_DMA; in swiotlb_alloc_tlb()
640 !(gfp & (__GFP_DMA32 | __GFP_DMA))) in swiotlb_alloc_tlb()
643 !(gfp & __GFP_DMA)) in swiotlb_alloc_tlb()
644 gfp = (gfp & ~__GFP_DMA32) | __GFP_DMA; in swiotlb_alloc_tlb()
H A Dpool.c48 if (gfp & __GFP_DMA) in dma_atomic_pool_size_add()
H A Dmapping.c517 flag &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM); in dma_alloc_attrs()
565 if (WARN_ON_ONCE(gfp & (__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM))) in __dma_alloc_pages()
/openbmc/linux/drivers/iommu/
H A Dtegra-smmu.c288 as->pd = alloc_page(GFP_KERNEL | __GFP_DMA | __GFP_ZERO); in tegra_smmu_domain_alloc()
678 page = alloc_page(gfp | __GFP_DMA | __GFP_ZERO); in as_get_pde_page()
H A Diommu.c2514 if (WARN_ON_ONCE(gfp & (__GFP_COMP | __GFP_DMA | __GFP_DMA32 | in iommu_map()
2628 if (WARN_ON_ONCE(gfp & (__GFP_COMP | __GFP_DMA | __GFP_DMA32 | in iommu_map_sg()
H A Ddma-iommu.c878 gfp &= ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM | __GFP_COMP); in __iommu_dma_alloc_noncontiguous()
/openbmc/linux/lib/
H A Dtest_printf.c687 gfp = GFP_ATOMIC|__GFP_DMA; in flags()
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Dsystem-bus.c514 flag &= ~(__GFP_DMA | __GFP_HIGHMEM); in ps3_alloc_coherent()
/openbmc/linux/drivers/video/fbdev/vermilion/
H A Dvermilion.c89 flags = __GFP_DMA | __GFP_HIGH | __GFP_KSWAPD_RECLAIM; in vmlfb_alloc_vram_area()
/openbmc/linux/arch/arm/mm/
H A Ddma-mapping.c562 gfp & ~(__GFP_DMA | __GFP_DMA32 | __GFP_HIGHMEM)); in __dma_alloc()
/openbmc/linux/drivers/tty/serial/
H A Damba-pl011.c1114 uap->dmatx.buf = kmalloc(PL011_DMA_BUFFER_SIZE, GFP_KERNEL | __GFP_DMA); in pl011_dma_startup()
/openbmc/linux/mm/
H A Dpage_alloc.c3240 ((gfp_mask & __GFP_DMA) && !has_managed_dma())) in warn_alloc()
H A Dmemcontrol.c2867 #define OBJCGS_CLEAR_MASK (__GFP_DMA | __GFP_RECLAIMABLE | \