__bitmap_shift_right(9)

__bitmap_shift_right9

Logical right shift of the bits in a bitmap

Usage

void __bitmap_shift_right(unsigned long * dst, const unsigned long * src, unsigned shift, unsigned nbits);

Arguments

dst

destination bitmap

src

source bitmap

shift

shift by this many bits

nbits

bitmap size, in bits

Overview

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.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.