.\" 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_MAP_RUNLIST" "9" "09 October 2005" "" ""
.SH NAME
ntfs_map_runlist \- map (a part of) a runlist of an ntfs inode
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_map_runlist (ntfs_inode * \fIni\fB, VCN \fIvcn\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIni\fB\fR
ntfs inode for which to map (part of) a runlist
.TP
\fB\fIvcn\fB\fR
map runlist part containing this vcn
.SH "DESCRIPTION"
.PP
Map the part of a runlist containing the \fIvcn\fR of the ntfs inode \fIni\fR\&.
.PP
Return 0 on success and -errno on error. There is one special error code
which is not an error as such. This is -ENOENT. It means that \fIvcn\fR is out
of bounds of the runlist.
.SH "LOCKING"
.PP
- The runlist must be unlocked on entry and is unlocked on return.
- This function takes the runlist lock for writing and modifies the
runlist.