Lines Matching refs:BITS_PER_LONG
354 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry()
360 rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry()
363 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry()
365 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry()
464 #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n)))
486 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap()
510 if (bitshiftcnt >= BITS_PER_LONG) { in sba_search_bitmap()
570 ASSERT(pages_needed <= BITS_PER_LONG); in sba_alloc_range()
633 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); in sba_free_range()
646 ASSERT(bits_not_wanted <= BITS_PER_LONG); in sba_free_range()
1121 (((((unsigned long) __X) | ((unsigned long) __Y)) << (BITS_PER_LONG - PAGE_SHIFT)) == 0UL)