Lines Matching defs:index
28 #include "index.h"
630 /* Check clusters per index block value is valid. */
861 /* We cannot support index record sizes below the sector size. */
1064 tmp_ni->itype.index.block_size = vol->mft_record_size;
1065 tmp_ni->itype.index.block_size_bits = vol->mft_record_size_bits;
1088 pgoff_t index;
1098 index = i = 0;
1104 if (index) {
1110 index);
1118 index);
1124 ++index;
1408 /* Get the $Q index allocation attribute. */
1411 ntfs_error(vol->sb, "Failed to load $Quota/$Q index.");
1592 pgoff_t index, max_index;
1611 index = 0;
1614 while (index < max_index) {
1617 page = ntfs_map_page(ino->i_mapping, index);
1620 memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
1657 pgoff_t index, max_index;
1680 index = 0;
1683 while (index < max_index) {
1686 page = ntfs_map_page(ino->i_mapping, index);
1689 memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
2459 pgoff_t index, max_index;
2474 for (index = 0; index < max_index; index++) {
2481 page = read_mapping_page(mapping, index, NULL);
2485 "page (index 0x%lx).", index);
2502 ntfs_debug("Finished reading $Bitmap, last index = 0x%lx.", index - 1);
2539 pgoff_t index;
2545 for (index = 0; index < max_index; index++) {
2552 page = read_mapping_page(mapping, index, NULL);
2556 "page (index 0x%lx).", index);
2573 ntfs_debug("Finished reading $MFT/$BITMAP, last index = 0x%lx.",
2574 index - 1);
2839 * But the kernel uses a long as the page cache page index which on
2841 * defined to the maximum the page cache page index can cope with
2842 * without overflowing the index or to 2^63 - 1, whichever is smaller.
3046 * contexts and index contexts, respectively.