Lines Matching defs:len_total
257 unsigned long len_total = (len + PAGE_SIZE-1) & PAGE_MASK;
269 order = get_order(len_total);
276 if (allocate_resource(&_sparc_dvma, res, len_total,
278 printk("sbus_alloc_consistent: cannot occupy 0x%lx", len_total);
281 mmu_inval_dma_area(va, len_total);
282 // sparc_mapiorange(0, virt_to_phys(va), res->start, len_total);
283 if (mmu_map_dma_area(dev, dma_addrp, va, res->start, len_total) != 0)
420 unsigned long len_total = (len + PAGE_SIZE-1) & PAGE_MASK;
432 order = get_order(len_total);
435 printk("pci_alloc_consistent: no %ld pages\n", len_total>>PAGE_SHIFT);
445 if (allocate_resource(&_sparc_dvma, res, len_total,
447 printk("pci_alloc_consistent: cannot occupy 0x%lx", len_total);
452 mmu_inval_dma_area(va, len_total);
453 sparc_mapiorange(0, virt_to_phys(va), res->start, len_total);