Lines Matching refs:len_total
268 unsigned long len_total = PAGE_ALIGN(len); in sbus_alloc_coherent() local
282 order = get_order(len_total); in sbus_alloc_coherent()
290 if (allocate_resource(&_sparc_dvma, res, len_total, in sbus_alloc_coherent()
292 printk("sbus_alloc_consistent: cannot occupy 0x%lx", len_total); in sbus_alloc_coherent()
302 if (sbus_map_dma_area(dev, dma_addrp, va, res->start, len_total) != 0) in sbus_alloc_coherent()
441 unsigned long len_total = PAGE_ALIGN(size); in arch_dma_alloc() local
453 order = get_order(len_total); in arch_dma_alloc()
456 printk("%s: no %ld pages\n", __func__, len_total>>PAGE_SHIFT); in arch_dma_alloc()
465 if (allocate_resource(&_sparc_dvma, res, len_total, in arch_dma_alloc()
467 printk("%s: cannot occupy 0x%lx", __func__, len_total); in arch_dma_alloc()
470 srmmu_mapiorange(0, virt_to_phys(va), res->start, len_total); in arch_dma_alloc()