Home
last modified time | relevance | path

Searched refs:dst_idx (Results 1 – 1 of 1) sorted by relevance

/lib/
Dbitmap.c1124 unsigned int dst_idx, src_idx; in bitmap_from_u32array() local
1126 for (src_idx = dst_idx = 0; dst_idx < BITS_TO_LONGS(nbits); ++dst_idx) { in bitmap_from_u32array()
1137 if (dst_idx < nbits/BITS_PER_LONG) in bitmap_from_u32array()
1138 bitmap[dst_idx] = part; in bitmap_from_u32array()
1142 bitmap[dst_idx] = (bitmap[dst_idx] & ~mask) in bitmap_from_u32array()
1167 unsigned int dst_idx = 0, src_idx = 0; in bitmap_to_u32array() local
1169 while (dst_idx < nwords) { in bitmap_to_u32array()
1179 buf[dst_idx++] = part & 0xffffffffUL; in bitmap_to_u32array()
1182 if (dst_idx < nwords) { in bitmap_to_u32array()
1184 buf[dst_idx++] = part & 0xffffffffUL; in bitmap_to_u32array()