1__BITMAP_SHIFT_LEFT(9)  Basic Kernel Library Functions  __BITMAP_SHIFT_LEFT(9)
2
3
4

NAME

6       __bitmap_shift_left - logical left shift of the bits in a bitmap
7

SYNOPSIS

9       void __bitmap_shift_left(unsigned long * dst,
10                                const unsigned long * src, int shift,
11                                int bits);
12

ARGUMENTS

14       dst
15           destination bitmap
16
17       src
18           source bitmap
19
20       shift
21           shift by this many bits
22
23       bits
24           bitmap size, in bits
25

DESCRIPTION

27       Shifting left (multiplying) means moving bits in the LS -> MS
28       direction. Zeros are fed into the vacated LS bit positions and those MS
29       bits shifted off the top are lost.
30
32Kernel Hackers Manual 3.10         June 2019            __BITMAP_SHIFT_LEFT(9)
Impressum