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

NAME

6       __bitmap_shift_right - logical right shift of the bits in a bitmap
7

SYNOPSIS

9       void __bitmap_shift_right(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 right (dividing) means moving bits in the MS -> LS bit
28       direction. Zeros are fed into the vacated MS positions and the LS bits
29       shifted off the bottom are lost.
30
32Kernel Hackers Manual 3.10         June 2019           __BITMAP_SHIFT_RIGHT(9)
Impressum