Lines Matching refs:pgshift
30 * range of (1 << pgshift). Thus formula for the bitmap data to be set is:
39 unsigned long pgshift;
133 unsigned long pgsize = 1 << bitmap->mapped.pgshift;
144 unsigned long pgshift = bitmap->mapped.pgshift;
146 return (index * BITS_PER_TYPE(*bitmap->bitmap)) << pgshift;
253 mapped->pgshift = __ffs(page_size);
448 mapped->pgshift) + mapped->pgoff * BITS_PER_BYTE;
450 mapped->pgshift) + mapped->pgoff * BITS_PER_BYTE;
471 ((last_bit - cur_bit + 1) << bitmap->mapped.pgshift);