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

/linux-4.1.27/arch/ia64/hp/common/
H A Dsba_iommu.c735 int bits_not_wanted = size >> iovp_shift; sba_free_range() local
739 bits_not_wanted = 1UL << get_iovp_order(bits_not_wanted << iovp_shift); sba_free_range()
740 for (; bits_not_wanted > 0 ; res_ptr++) { sba_free_range()
742 if (unlikely(bits_not_wanted > BITS_PER_LONG)) { sba_free_range()
746 bits_not_wanted -= BITS_PER_LONG; sba_free_range()
752 m = RESMAP_MASK(bits_not_wanted) << (pide & (BITS_PER_LONG - 1)); sba_free_range()
753 bits_not_wanted = 0; sba_free_range()
756 bits_not_wanted, m, pide, res_ptr, *res_ptr); sba_free_range()
759 ASSERT(bits_not_wanted); sba_free_range()
/linux-4.1.27/drivers/parisc/
H A Dsba_iommu.c496 int bits_not_wanted = size >> IOVP_SHIFT; sba_free_range() local
499 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); sba_free_range()
503 bits_not_wanted, m, pide, res_ptr, *res_ptr); sba_free_range()
506 ioc->used_pages -= bits_not_wanted; sba_free_range()

Completed in 86 milliseconds