Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ntfs_attr_search_ctx Struct Reference

#include <attrib.h>

Data Fields

MFT_RECORD * mrec
 
ATTR_RECORD * attr
 
bool is_first
 
ntfs_inodentfs_ino
 
ATTR_LIST_ENTRY * al_entry
 
ntfs_inodebase_ntfs_ino
 
MFT_RECORD * base_mrec
 
ATTR_RECORD * base_attr
 

Detailed Description

ntfs_attr_search_ctx - used in attribute search functions : buffer containing mft record to search : attribute record in where to begin/continue search : if true ntfs_attr_lookup() begins search with , else after

Structure must be initialized to zero before the first call to one of the attribute search functions. Initialize to point to the mft record to search, and to point to the first attribute within (not necessary if calling the _first() functions), and set to 'true' (not necessary if calling the _first() functions).

If is 'true', the search begins with . If is 'false', the search begins after . This is so that, after the first call to one of the search attribute functions, we can call the function again, without any modification of the search context, to automagically get the next matching attribute.

Definition at line 52 of file attrib.h.

Field Documentation

ATTR_LIST_ENTRY* al_entry

Definition at line 57 of file attrib.h.

ATTR_RECORD* attr

Definition at line 54 of file attrib.h.

ATTR_RECORD* base_attr

Definition at line 60 of file attrib.h.

MFT_RECORD* base_mrec

Definition at line 59 of file attrib.h.

ntfs_inode* base_ntfs_ino

Definition at line 58 of file attrib.h.

bool is_first

Definition at line 55 of file attrib.h.

MFT_RECORD* mrec

Definition at line 53 of file attrib.h.

ntfs_inode* ntfs_ino

Definition at line 56 of file attrib.h.


The documentation for this struct was generated from the following file: