Searched refs:bitmap_fold (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/lib/
H A Dbitmap.c790 * to use the bitmap_fold() operator, below, to first fold the
792 * range 0 <= x < W. The bitmap_fold() operator does this by
822 * Example [2] for bitmap_fold() + bitmap_onto():
829 * bitmap_fold() then bitmap_onto, as suggested above to
834 * bitmap_fold(tmp, orig, bitmap_weight(relmap, bits), bits);
840 * using bitmap_fold() to fold the @orig bitmap modulo ten
856 * (*) For these marked lines, if we hadn't first done bitmap_fold()
898 * bitmap_fold - fold larger bitmap into smaller, modulo specified size
908 void bitmap_fold(unsigned long *dst, const unsigned long *orig, bitmap_fold() function
920 EXPORT_SYMBOL(bitmap_fold); variable
/linux-4.4.14/include/linux/
H A Dbitmap.h54 * bitmap_fold(dst, orig, sz, nbits) dst bits = orig bits mod sz
161 extern void bitmap_fold(unsigned long *dst, const unsigned long *orig,
H A Dnodemask.h16 * lib/bitmap.c. For details of nodes_fold(), see bitmap_fold in
355 bitmap_fold(dstp->bits, origp->bits, sz, nbits); __nodes_fold()

Completed in 77 milliseconds