bitmap_fold(9) centos man page | unix.com

Man Page: bitmap_fold

Operating Environment: centos

Section: 9

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, int sz, int bits);
ARGUMENTS
dst resulting smaller bitmap orig original larger bitmap sz specified size bits 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 3.10 June 2014 BITMAP_FOLD(9)
Related Man Pages
bitmap_remap(9) - centos
ipsec_maskof(3) - debian
ipsec_addrtosubnet(3) - centos
ipsec_maskof(3) - centos
slurm::bitstr(3pm) - debian
Similar Topics in the Unix Linux Community
Docker learning Phase-I
Shopt -s histappend
Unsure why access time on a directory change isn't changing
CentOS 6 ran out of space, need to reclaim it
Controlling user input