Lines Matching refs:index
145 struct page *page, unsigned long index, int size)
149 index * (PAGE_SIZE / SECTOR_SIZE);
351 static int read_file_page(struct file *file, unsigned long index,
361 (unsigned long long)index << PAGE_SHIFT);
369 blk_cur = index << (PAGE_SHIFT - inode->i_blkbits);
409 (unsigned long long)index << PAGE_SHIFT,
417 static int read_file_page(struct file *file, unsigned long index,
780 /* calculate the index of the page that contains this bit */
953 unsigned long index = file_page_index(store, chunk);
956 index += store->sb_index;
972 pr_debug("set file bit %lu page %lu\n", bit, index);
974 set_page_attr(bitmap, index - node_offset, BITMAP_PAGE_DIRTY);
984 unsigned long index = file_page_index(store, chunk);
987 index += store->sb_index;
1001 if (!test_page_attr(bitmap, index - node_offset, BITMAP_PAGE_NEEDWRITE)) {
1002 set_page_attr(bitmap, index - node_offset, BITMAP_PAGE_PENDING);