:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
bitmap_fold(9) - phpMan

Command: man perldoc info search(apropos)  


BITMAP_FOLD(9)                    Basic Kernel Library Functions                   BITMAP_FOLD(9)



NAME
       bitmap_fold - fold larger bitmap into smaller, modulo specified size

SYNOPSIS
       void bitmap_fold(unsigned long * dst, const unsigned long * orig, unsigned int sz,
                        unsigned int nbits);

ARGUMENTS
       dst
           resulting smaller bitmap

       orig
           original larger bitmap

       sz
           specified size

       nbits
           number of bits in each of these bitmaps

DESCRIPTION
       For 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.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                            BITMAP_FOLD(9)


/man
rootr.net - man pages