.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "__NTFS_BITMAP_SET_BITS_IN_RUN" "9" "09 October 2005" "" ""
.SH NAME
__ntfs_bitmap_set_bits_in_run \- set a run of bits in a bitmap to a value
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int __ntfs_bitmap_set_bits_in_run (struct inode * \fIvi\fB, const s64 \fIstart_bit\fB, const s64 \fIcount\fB, const u8 \fIvalue\fB, const BOOL \fIis_rollback\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvi\fB\fR
vfs inode describing the bitmap
.TP
\fB\fIstart_bit\fB\fR
first bit to set
.TP
\fB\fIcount\fB\fR
number of bits to set
.TP
\fB\fIvalue\fB\fR
value to set the bits to (i.e. 0 or 1)
.TP
\fB\fIis_rollback\fB\fR
if TRUE this is a rollback operation
.SH "DESCRIPTION"
.PP
Set \fIcount\fR bits starting at bit \fIstart_bit\fR in the bitmap described by the
vfs inode \fIvi\fR to \fIvalue\fR, where \fIvalue\fR is either 0 or 1.
.PP
\fIis_rollback\fR should always be FALSE, it is for internal use to rollback
errors. You probably want to use \fBntfs_bitmap_set_bits_in_run\fR instead.
.PP
Return 0 on success and -errno on error.