Searched refs:phys_limit (Results 1 – 3 of 3) sorted by relevance
371 io_tlb_default_mem.phys_limit = virt_to_phys(high_memory - 1); in swiotlb_init_remap()373 io_tlb_default_mem.phys_limit = ARCH_LOW_ADDRESS_LIMIT; in swiotlb_init_remap()449 io_tlb_default_mem.phys_limit = DMA_BIT_MASK(zone_dma_bits); in swiotlb_init_late()451 io_tlb_default_mem.phys_limit = DMA_BIT_MASK(32); in swiotlb_init_late()453 io_tlb_default_mem.phys_limit = virt_to_phys(high_memory - 1); in swiotlb_init_late()570 static struct page *alloc_dma_pages(gfp_t gfp, size_t bytes, u64 phys_limit) in alloc_dma_pages() argument582 if (paddr + bytes - 1 > phys_limit) { in alloc_dma_pages()609 u64 phys_limit, gfp_t gfp) in swiotlb_alloc_tlb() argument628 if (phys_limit <= DMA_BIT_MASK(zone_dma_bits)) in swiotlb_alloc_tlb()630 else if (phys_limit <= DMA_BIT_MASK(32)) in swiotlb_alloc_tlb()[all …]
47 static gfp_t dma_direct_optimal_gfp_mask(struct device *dev, u64 *phys_limit) in dma_direct_optimal_gfp_mask() argument61 *phys_limit = dma_to_phys(dev, dma_limit); in dma_direct_optimal_gfp_mask()62 if (*phys_limit <= DMA_BIT_MASK(zone_dma_bits)) in dma_direct_optimal_gfp_mask()64 if (*phys_limit <= DMA_BIT_MASK(32)) in dma_direct_optimal_gfp_mask()123 u64 phys_limit; in __dma_direct_alloc_pages() local130 gfp |= dma_direct_optimal_gfp_mask(dev, &phys_limit); in __dma_direct_alloc_pages()147 phys_limit < DMA_BIT_MASK(64) && in __dma_direct_alloc_pages()175 u64 phys_limit; in dma_direct_alloc_from_pool() local181 gfp |= dma_direct_optimal_gfp_mask(dev, &phys_limit); in dma_direct_alloc_from_pool()
132 u64 phys_limit; member