__bitmap_shift_left(9)

__bitmap_shift_left9

Logical left shift of the bits in a bitmap

Usage

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

Arguments

dst

destination bitmap

src

source bitmap

shift

shift by this many bits

nbits

bitmap size, in bits

Overview

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.

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.