Lines Matching refs:BITS_PER_LONG
238 #define DMA_CHUNK_SIZE (BITS_PER_LONG*iovp_size)
287 u64 *ptr = &ioc->pdir_base[pide & ~(BITS_PER_LONG - 1)]; in sba_dump_pdir_entry()
292 msg, rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry()
295 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry()
297 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry()
458 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap()
482 if (bitshiftcnt >= BITS_PER_LONG) { in sba_search_bitmap()
541 ASSERT(pages_needed <= BITS_PER_LONG); in sba_alloc_range()
597 unsigned long m = RESMAP_MASK(bits_not_wanted) << (pide & (BITS_PER_LONG - 1)); in sba_free_range()
606 ASSERT(bits_not_wanted <= BITS_PER_LONG); in sba_free_range()
1095 (((((unsigned long) __X) | ((unsigned long) __Y)) << (BITS_PER_LONG - iovp_shift)) == 0UL)