• Home
  • Raw
  • Download

Lines Matching full:index

3  * index.h - Defines for NTFS kernel index handling.  Part of the Linux-NTFS
22 * @idx_ni: index inode containing the @entry described by this context
23 * @entry: index entry (points into @ir or @ia)
24 * @data: index entry data (points into @entry)
27 * @ir: index root if @is_in_root and NULL otherwise
30 * @ia: index block if @is_in_root is 'false' and NULL otherwise
33 * @idx_ni is the index inode this context belongs to.
35 * @entry is the index entry described by this context. @data and @data_len
36 * are the index entry data and its length in bytes, respectively. @data
39 * If @is_in_root is 'true', @entry is in the index root attribute @ir described
43 * If @is_in_root is 'false', @entry is in the index allocation attribute and @ia
44 * and @page point to the index allocation block and the mapped, locked page it
49 * We use this context to allow ntfs_index_lookup() to return the found index
56 * If the index entry was modified, call flush_dcache_index_entry_page()
83 * ntfs_index_entry_flush_dcache_page - flush_dcache_page() for index entries
84 * @ictx: ntfs index context describing the index entry
86 * Call flush_dcache_page() for the page in which an index entry resides.
88 * This must be called every time an index entry is modified, just after the
91 * If the index entry is in the index root attribute, simply flush the page
92 * containing the mft record containing the index root attribute.
94 * If the index entry is in an index block belonging to the index allocation
95 * attribute, simply flush the page cache page containing the index block.
106 * ntfs_index_entry_mark_dirty - mark an index entry dirty
107 * @ictx: ntfs index context describing the index entry
109 * Mark the index entry described by the index entry context @ictx dirty.
111 * If the index entry is in the index root attribute, simply mark the mft
112 * record containing the index root attribute dirty. This ensures the mft
113 * record, and hence the index root attribute, will be written out to disk
116 * If the index entry is in an index block belonging to the index allocation
117 * attribute, mark the buffers belonging to the index record as well as the
118 * page cache page the index block is in dirty. This automatically marks the
119 * VFS inode of the ntfs index inode to which the index entry belongs dirty,
121 * dirty index block, will be written out to disk later.