Lines Matching refs:iovp_size
198 static unsigned long iovp_size; variable
271 #define DMA_CHUNK_SIZE (BITS_PER_LONG*iovp_size)
864 if (byte_cnt <= iovp_size) in sba_mark_invalid()
902 byte_cnt -= iovp_size; in sba_mark_invalid()
990 addr += iovp_size; in sba_map_page()
991 size -= iovp_size; in sba_map_page()
1022 if (size <= iovp_size) { in sba_mark_clean()
1030 mark_clean(addr, min(size, iovp_size)); in sba_mark_clean()
1032 size -= iovp_size; in sba_mark_clean()
1083 size = ROUNDUP(size, iovp_size); in sba_unmap_page()
1277 cnt = ROUNDUP(cnt, iovp_size); in sba_fill_pdir()
1280 vaddr += iovp_size; in sba_fill_pdir()
1281 cnt -= iovp_size; in sba_fill_pdir()
1391 dump_run_sg = (vcontig_len > iovp_size); in sba_coalesce_chunks()
1623 switch (iovp_size) { in ioc_iova_init()
1630 iovp_size >> 10); in ioc_iova_init()
1635 ioc->pdir_size = (ioc->iov_size / iovp_size) * PDIR_ENTRY_SIZE; in ioc_iova_init()
1644 iovp_size >> 10, ioc->pdir_base, ioc->pdir_size); in ioc_iova_init()
1676 addr = (void *)__get_free_pages(GFP_KERNEL, get_order(iovp_size)); in ioc_iova_init()
1681 for ( ; (u64) poison_addr < addr + iovp_size; poison_addr += poison_size) in ioc_iova_init()
1838 iovp_size = (1 << iovp_shift); in ioc_init()
1839 iovp_mask = ~(iovp_size - 1); in ioc_init()
1842 PAGE_SIZE >> 10, iovp_size >> 10); in ioc_init()
1920 seq_printf(s, "IOVA size : %ld MB\n", ((ioc->pdir_size >> 3) * iovp_size)/(1024*1024)); in ioc_show()
1921 seq_printf(s, "IOVA page size : %ld kb\n", iovp_size/1024); in ioc_show()