NTFS_MFT_BITMAP_FIND_AND_ALLOC_FREE_REC_NOLOCK

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

 

NAME

ntfs_mft_bitmap_find_and_alloc_free_rec_nolock - see name  

SYNOPSIS

"SYNOPSIS"

int ntfs_mft_bitmap_find_and_alloc_free_rec_nolock (ntfs_volume * vol, ntfs_inode * base_ni);  

ARGUMENTS

vol
volume on which to search for a free mft record
base_ni
open base inode if allocating an extent mft record or NULL
 

DESCRIPTION

Search for a free mft record in the mft bitmap attribute on the ntfs volume vol.

If base_ni is NULL start the search at the default allocator position.

If base_ni is not NULL start the search at the mft record after the base mft record base_ni.

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.  

LOCKING

Caller must hold vol->mftbmp_lock for writing.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
LOCKING

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