table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
__BITMAP_SHIFT_LEFT(9) | Basic Kernel Library Functions | __BITMAP_SHIFT_LEFT(9) |
NAME¶
__bitmap_shift_left - logical left shift of the bits in a bitmapSYNOPSIS¶
void
__bitmap_shift_left(unsigned long * dst,
const unsigned long * src,
unsigned int shift,
unsigned int nbits);
ARGUMENTS¶
dstdestination bitmap
src
source bitmap
shift
shift by this many bits
nbits
bitmap size, in bits
DESCRIPTION¶
Shifting left (multiplying) means moving bits in the LS -> MS direction. Zeros are fed into the vacated LS bit positions and those MS bits shifted off the top are lost.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |