• Home
  • Raw
  • Download

Lines Matching refs:dst

82 void __bitmap_complement(unsigned long *dst, const unsigned long *src, unsigned int bits)  in __bitmap_complement()  argument
86 dst[k] = ~src[k]; in __bitmap_complement()
101 void __bitmap_shift_right(unsigned long *dst, const unsigned long *src, in __bitmap_shift_right() argument
126 dst[k] = lower | upper; in __bitmap_shift_right()
129 memset(&dst[lim - off], 0, off*sizeof(unsigned long)); in __bitmap_shift_right()
146 void __bitmap_shift_left(unsigned long *dst, const unsigned long *src, in __bitmap_shift_left() argument
164 dst[k + off] = lower | upper; in __bitmap_shift_left()
167 memset(dst, 0, off*sizeof(unsigned long)); in __bitmap_shift_left()
171 int __bitmap_and(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_and() argument
179 result |= (dst[k] = bitmap1[k] & bitmap2[k]); in __bitmap_and()
181 result |= (dst[k] = bitmap1[k] & bitmap2[k] & in __bitmap_and()
187 void __bitmap_or(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_or() argument
194 dst[k] = bitmap1[k] | bitmap2[k]; in __bitmap_or()
198 void __bitmap_xor(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_xor() argument
205 dst[k] = bitmap1[k] ^ bitmap2[k]; in __bitmap_xor()
209 int __bitmap_andnot(unsigned long *dst, const unsigned long *bitmap1, in __bitmap_andnot() argument
217 result |= (dst[k] = bitmap1[k] & ~bitmap2[k]); in __bitmap_andnot()
219 result |= (dst[k] = bitmap1[k] & ~bitmap2[k] & in __bitmap_andnot()
791 void bitmap_remap(unsigned long *dst, const unsigned long *src, in bitmap_remap() argument
797 if (dst == src) /* following doesn't handle inplace remaps */ in bitmap_remap()
799 bitmap_zero(dst, nbits); in bitmap_remap()
806 set_bit(oldbit, dst); /* identity map */ in bitmap_remap()
808 set_bit(bitmap_ord_to_pos(new, n % w, nbits), dst); in bitmap_remap()
955 void bitmap_onto(unsigned long *dst, const unsigned long *orig, in bitmap_onto() argument
960 if (dst == orig) /* following doesn't handle inplace mappings */ in bitmap_onto()
962 bitmap_zero(dst, bits); in bitmap_onto()
978 set_bit(n, dst); in bitmap_onto()
994 void bitmap_fold(unsigned long *dst, const unsigned long *orig, in bitmap_fold() argument
999 if (dst == orig) /* following doesn't handle inplace mappings */ in bitmap_fold()
1001 bitmap_zero(dst, nbits); in bitmap_fold()
1004 set_bit(oldbit % sz, dst); in bitmap_fold()
1157 void bitmap_copy_le(unsigned long *dst, const unsigned long *src, unsigned int nbits) in bitmap_copy_le() argument
1163 dst[i] = cpu_to_le64(src[i]); in bitmap_copy_le()
1165 dst[i] = cpu_to_le32(src[i]); in bitmap_copy_le()