centos man page for bitmap_fold

Query: bitmap_fold

OS: centos

Section: 9

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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_onto(9) - centos
ipsec_initsubnet(3) - debian
ipsec_masktocount(3) - debian
bitmap_onto(9) - suse
pbmtoascii(1) - minix
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
Docker learning Phase-I
[TIP] Processing YAML files with yq
Please Welcome Dave Munro to the Moderator Team!