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

/linux-master/include/linux/
H A Dnodemask.h17 * lib/bitmap.c. For details of nodes_fold(), see bitmap_fold in
382 bitmap_fold(dstp->bits, origp->bits, sz, nbits);
H A Dbitmap.h72 * bitmap_fold(dst, orig, sz, nbits) dst bits = orig bits mod sz
219 void bitmap_fold(unsigned long *dst, const unsigned long *orig,
/linux-master/lib/
H A Dbitmap.c580 * to use the bitmap_fold() operator, below, to first fold the
582 * range 0 <= x < W. The bitmap_fold() operator does this by
612 * Example [2] for bitmap_fold() + bitmap_onto():
621 * bitmap_fold() then bitmap_onto, as suggested above to
626 * bitmap_fold(tmp, orig, bitmap_weight(relmap, bits), bits);
632 * using bitmap_fold() to fold the @orig bitmap modulo ten
652 * For these marked lines, if we hadn't first done bitmap_fold()
693 * bitmap_fold - fold larger bitmap into smaller, modulo specified size
703 void bitmap_fold(unsigned long *dst, const unsigned long *orig, function

Completed in 108 milliseconds