Lines Matching refs:index
28 #include "index.h"
622 /* Check clusters per index block value is valid. */
853 /* We cannot support index record sizes below the sector size. */
1056 tmp_ni->itype.index.block_size = vol->mft_record_size;
1057 tmp_ni->itype.index.block_size_bits = vol->mft_record_size_bits;
1080 pgoff_t index;
1090 index = i = 0;
1096 if (index) {
1102 index);
1110 index);
1116 ++index;
1400 /* Get the $Q index allocation attribute. */
1403 ntfs_error(vol->sb, "Failed to load $Quota/$Q index.");
1584 pgoff_t index, max_index;
1603 index = 0;
1606 while (index < max_index) {
1609 page = ntfs_map_page(ino->i_mapping, index);
1612 memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT),
1649 pgoff_t index, max_index;
1672 index = 0;
1675 while (index < max_index) {
1678 page = ntfs_map_page(ino->i_mapping, index);
1681 memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT),
2451 pgoff_t index, max_index;
2466 for (index = 0; index < max_index; index++) {
2473 page = read_mapping_page(mapping, index, NULL);
2477 "page (index 0x%lx).", index);
2494 ntfs_debug("Finished reading $Bitmap, last index = 0x%lx.", index - 1);
2531 pgoff_t index;
2537 for (index = 0; index < max_index; index++) {
2544 page = read_mapping_page(mapping, index, NULL);
2548 "page (index 0x%lx).", index);
2565 ntfs_debug("Finished reading $MFT/$BITMAP, last index = 0x%lx.",
2566 index - 1);
2833 * But the kernel uses a long as the page cache page index which on
2835 * defined to the maximum the page cache page index can cope with
2836 * without overflowing the index or to 2^63 - 1, whichever is smaller.
3040 * contexts and index contexts, respectively.