Home
last modified time | relevance | path

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

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