__NTFS_BITMAP_SET_BITS_IN_RUN

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

__ntfs_bitmap_set_bits_in_run - set a run of bits in a bitmap to a value  

SYNOPSIS

"SYNOPSIS"

int __ntfs_bitmap_set_bits_in_run (struct inode * vi, const s64 start_bit, const s64 count, const u8 value, const BOOL is_rollback);  

ARGUMENTS

vi
vfs inode describing the bitmap
start_bit
first bit to set
count
number of bits to set
value
value to set the bits to (i.e. 0 or 1)
is_rollback
if TRUE this is a rollback operation
 

DESCRIPTION

Set count bits starting at bit start_bit in the bitmap described by the vfs inode vi to value, where value is either 0 or 1.

is_rollback should always be FALSE, it is for internal use to rollback errors. You probably want to use ntfs_bitmap_set_bits_in_run instead.

Return 0 on success and -errno on error.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:01:52 GMT, October 09, 2005