'\" t
.\"     Title: __bitmap_shift_left
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
.\"      Date: July 2017
.\"    Manual: Basic Kernel Library Functions
.\"    Source: Kernel Hackers Manual 4.11.6
.\"  Language: English
.\"
.TH "__BITMAP_SHIFT_LEFT" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "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
\fIunsigned long * dst\fR
.RS 4
destination bitmap
.RE
.PP
\fIconst unsigned long * src\fR
.RS 4
source bitmap
.RE
.PP
\fIunsigned int shift\fR
.RS 4
shift by this many bits
.RE
.PP
\fIunsigned int nbits\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
