.\" 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_MFT_BITMAP_FIND_AND_ALLOC_FREE_REC_NOLOCK" "9" "09 October 2005" "" ""
.SH NAME
ntfs_mft_bitmap_find_and_alloc_free_rec_nolock \- see name
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int ntfs_mft_bitmap_find_and_alloc_free_rec_nolock (ntfs_volume * \fIvol\fB, ntfs_inode * \fIbase_ni\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIvol\fB\fR
volume on which to search for a free mft record
.TP
\fB\fIbase_ni\fB\fR
open base inode if allocating an extent mft record or NULL
.SH "DESCRIPTION"
.PP
Search for a free mft record in the mft bitmap attribute on the ntfs volume
\fIvol\fR\&.
.PP
If \fIbase_ni\fR is NULL start the search at the default allocator position.
.PP
If \fIbase_ni\fR is not NULL start the search at the mft record after the base
mft record \fIbase_ni\fR\&.
.PP
Return the free mft record on success and -errno on error. An error code of
-ENOSPC means that there are no free mft records in the currently
initialized mft bitmap.
.SH "LOCKING"
.PP
Caller must hold vol->mftbmp_lock for writing.