table of contents
other versions
- stretch 4.9.168-1
__BITMAP_SHIFT_RIGHT(9) | Basic Kernel Library Functions | __BITMAP_SHIFT_RIGHT(9) |
NAME¶
__bitmap_shift_right - logical right shift of the bits in a bitmapSYNOPSIS¶
void __bitmap_shift_right(unsigned long * dst, const unsigned long * src, unsigned shift, unsigned nbits);
ARGUMENTS¶
dstdestination bitmap
src
source bitmap
shift
shift by this many bits
nbits
bitmap size, in bits
DESCRIPTION¶
Shifting right (dividing) means moving bits in the MS -> LS bit direction. Zeros are fed into the vacated MS positions and the LS bits shifted off the bottom are lost.COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |