Home
last modified time | relevance | path

Searched refs:bits_not_wanted (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/arch/ia64/hp/common/
Dsba_iommu.c593 int bits_not_wanted = size >> iovp_shift; in sba_free_range() local
594 bits_not_wanted = 1UL << get_iovp_order(bits_not_wanted << PAGE_SHIFT); in sba_free_range()
597 unsigned long m = RESMAP_MASK(bits_not_wanted) << (pide & (BITS_PER_LONG - 1)); in sba_free_range()
601 bits_not_wanted, m, pide, res_ptr, *res_ptr); in sba_free_range()
604 ASSERT(bits_not_wanted); in sba_free_range()
605 ASSERT((bits_not_wanted * iovp_size) <= DMA_CHUNK_SIZE); in sba_free_range()
606 ASSERT(bits_not_wanted <= BITS_PER_LONG); in sba_free_range()
/linux-2.4.37.9/arch/parisc/kernel/
Dsba_iommu.c630 int bits_not_wanted = size >> IOVP_SHIFT; in sba_free_range() local
633 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); in sba_free_range()
637 bits_not_wanted, m, pide, res_ptr, *res_ptr); in sba_free_range()
640 ioc->used_pages -= bits_not_wanted; in sba_free_range()
644 ASSERT(bits_not_wanted); in sba_free_range()
645 ASSERT((bits_not_wanted * IOVP_SIZE) <= DMA_CHUNK_SIZE); in sba_free_range()
646 ASSERT(bits_not_wanted <= BITS_PER_LONG); in sba_free_range()