Lines Matching refs:BITS_PER_LONG
2568 #if BITS_PER_LONG == 32
2571 #elif BITS_PER_LONG == 64
2615 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitcpy()
2620 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy()
2632 n -= BITS_PER_LONG - dst_idx; in bitcpy()
2636 n /= BITS_PER_LONG; in bitcpy()
2658 right = shift & (BITS_PER_LONG - 1); in bitcpy()
2659 left = -shift & (BITS_PER_LONG - 1); in bitcpy()
2661 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy()
2668 } else if (src_idx + n <= BITS_PER_LONG) { in bitcpy()
2686 n -= BITS_PER_LONG - dst_idx; in bitcpy()
2694 n -= BITS_PER_LONG - dst_idx; in bitcpy()
2698 m = n % BITS_PER_LONG; in bitcpy()
2699 n /= BITS_PER_LONG; in bitcpy()
2753 dst += (n - 1) / BITS_PER_LONG; in bitcpy_rev()
2754 src += (n - 1) / BITS_PER_LONG; in bitcpy_rev()
2755 if ((n - 1) % BITS_PER_LONG) { in bitcpy_rev()
2756 dst_idx += (n - 1) % BITS_PER_LONG; in bitcpy_rev()
2758 dst_idx &= BITS_PER_LONG - 1; in bitcpy_rev()
2759 src_idx += (n - 1) % BITS_PER_LONG; in bitcpy_rev()
2761 src_idx &= BITS_PER_LONG - 1; in bitcpy_rev()
2765 first = ~0UL << (BITS_PER_LONG - 1 - dst_idx); in bitcpy_rev()
2766 last = ~(~0UL << (BITS_PER_LONG - 1 - ((dst_idx - n) % BITS_PER_LONG))); in bitcpy_rev()
2787 n /= BITS_PER_LONG; in bitcpy_rev()
2809 right = shift & (BITS_PER_LONG - 1); in bitcpy_rev()
2810 left = -shift & (BITS_PER_LONG - 1); in bitcpy_rev()
2849 m = n % BITS_PER_LONG; in bitcpy_rev()
2850 n /= BITS_PER_LONG; in bitcpy_rev()
2907 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitcpy_not()
2912 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy_not()
2924 n -= BITS_PER_LONG - dst_idx; in bitcpy_not()
2928 n /= BITS_PER_LONG; in bitcpy_not()
2950 right = shift & (BITS_PER_LONG - 1); in bitcpy_not()
2951 left = -shift & (BITS_PER_LONG - 1); in bitcpy_not()
2953 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy_not()
2960 } else if (src_idx + n <= BITS_PER_LONG) { in bitcpy_not()
2978 n -= BITS_PER_LONG - dst_idx; in bitcpy_not()
2986 n -= BITS_PER_LONG - dst_idx; in bitcpy_not()
2990 m = n % BITS_PER_LONG; in bitcpy_not()
2991 n /= BITS_PER_LONG; in bitcpy_not()
3042 #if BITS_PER_LONG == 64 in bitfill32()
3047 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitfill32()
3049 if (dst_idx + n <= BITS_PER_LONG) { in bitfill32()
3060 n -= BITS_PER_LONG - dst_idx; in bitfill32()
3064 n /= BITS_PER_LONG; in bitfill32()
3098 #if BITS_PER_LONG == 64 in bitxor32()
3103 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitxor32()
3105 if (dst_idx + n <= BITS_PER_LONG) { in bitxor32()
3116 n -= BITS_PER_LONG - dst_idx; in bitxor32()
3120 n /= BITS_PER_LONG; in bitxor32()
3143 dst_idx &= (BITS_PER_LONG - 1); in fill_one_line()
3158 dst_idx &= (BITS_PER_LONG - 1); in xor_one_line()
3217 dst_idx &= (BITS_PER_LONG - 1); in copy_one_line()
3219 src_idx &= (BITS_PER_LONG - 1); in copy_one_line()
3234 dst_idx &= (BITS_PER_LONG - 1); in copy_one_line_rev()
3236 src_idx &= (BITS_PER_LONG - 1); in copy_one_line_rev()
3319 dst_idx &= (BITS_PER_LONG - 1); in expand_one_line()