Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/ia64/hp/common/
Dsba_iommu.c442 sba_search_bitmap(struct ioc *ioc, unsigned long bits_wanted) in sba_search_bitmap() argument
457 bits_wanted = 1UL << get_iovp_order(bits_wanted << PAGE_SHIFT); in sba_search_bitmap()
458 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap()
462 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
478 unsigned long o = 1 << get_iovp_order(bits_wanted << iovp_shift); in sba_search_bitmap()
486 mask = RESMAP_MASK(bits_wanted) << bitshiftcnt; in sba_search_bitmap()
503 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
509 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()
/linux-2.4.37.9/arch/parisc/kernel/
Dsba_iommu.c478 sba_search_bitmap(struct ioc *ioc, unsigned long bits_wanted) in sba_search_bitmap() argument
486 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap()
490 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
506 unsigned long o = 1 << get_order(bits_wanted << PAGE_SHIFT); in sba_search_bitmap()
514 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()
531 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
537 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()