'\" t .\" Title: __bitmap_shift_left .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Basic Kernel Library Functions .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "__BITMAP_SHIFT_LEFT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Basic Kernel Library Functions" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" __bitmap_shift_left \- logical left shift of the bits in a bitmap .SH "SYNOPSIS" .HP \w'void\ __bitmap_shift_left('u .BI "void __bitmap_shift_left(unsigned\ long\ *\ " "dst" ", const\ unsigned\ long\ *\ " "src" ", unsigned\ int\ " "shift" ", unsigned\ int\ " "nbits" ");" .SH "ARGUMENTS" .PP \fIdst\fR .RS 4 destination bitmap .RE .PP \fIsrc\fR .RS 4 source bitmap .RE .PP \fIshift\fR .RS 4 shift by this many bits .RE .PP \fInbits\fR .RS 4 bitmap size, in bits .RE .SH "DESCRIPTION" .PP 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\&. .SH "COPYRIGHT" .br