Lines Matching defs:index
37 * cache page index. Doing it this way means we don't run into problems because
99 pgoff_t index, end_index;
209 index = old_init_size >> PAGE_SHIFT;
216 page = read_mapping_page(mapping, index, NULL);
231 ni->initialized_size = (s64)(index + 1) << PAGE_SHIFT;
267 } while (++index < end_index);
482 * @index: starting index in @mapping at which to begin obtaining pages
488 * starting at index @index.
492 * Note, the page locks are obtained in ascending page index order.
495 pgoff_t index, const unsigned nr_pages, struct page **pages,
503 pages[nr] = find_get_page_flags(mapping, index, FGP_LOCK |
514 index,
524 index++;
606 "index 0x%lx, nr_pages 0x%x, pos 0x%llx, bytes 0x%zx.",
607 vi->i_ino, ni->type, pages[0]->index, nr_pages,
642 bh_pos = (s64)page->index << PAGE_SHIFT;
1196 bh_pos = ((s64)page->index << PAGE_SHIFT) +
1338 ((s64)page->index << PAGE_SHIFT) +
1410 bh_pos = (s64)page->index << PAGE_SHIFT;
1562 "index 0x%lx, nr_pages 0x%x, pos 0x%llx, bytes 0x%zx.",
1563 vi->i_ino, ni->type, page->index, nr_pages,
1842 /* Get and lock @do_pages starting at index @start_idx. */
1864 u = (pos >> PAGE_SHIFT) - pages[0]->index;
1966 * TODO: We should probably also write all attribute/index inodes associated