BITMAP_FOLD(9) Basic Kernel Library Functions BITMAP_FOLD(9)NAMEbitmap_fold - fold larger bitmap into smaller, modulo specified sizeSYNOPSISvoid bitmap_fold(unsigned long * dst, const unsigned long * orig, int sz, int bits);ARGUMENTSdst resulting smaller bitmap orig original larger bitmap sz specified size bits number of bits in each of these bitmapsDESCRIPTIONFor each bit oldbit in orig, set bit oldbit mod sz in dst. Clear all other bits in dst. See further the comment and Example [2] for bitmap_onto for why and how to use this.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BITMAP_FOLD(9)