Lines Matching refs:index
78 int ret = f2fs_is_compressed_cluster(inode, page->index);
115 err = f2fs_get_block(&dn, page->index);
123 err = f2fs_get_dnode_of_data(&dn, page->index, LOOKUP_NODE);
144 if (((loff_t)(page->index + 1) << PAGE_SHIFT) >
383 pgoff_t index, int whence)
390 xa_get_mark(&mapping->i_pages, index, PAGECACHE_TAG_DIRTY))
629 pgoff_t index = from >> PAGE_SHIFT;
637 page = find_lock_page(mapping, index);
644 page = f2fs_get_lock_data_page(inode, index, true);
991 static int fill_zero(struct inode *inode, pgoff_t index,
1003 page = f2fs_get_new_data_page(inode, NULL, index, false);
1390 pgoff_t index = start;
1395 for (; index < end; index++, dn->ofs_in_node++) {
1406 for (index = start; index < end; index++, dn->ofs_in_node++) {
1431 f2fs_update_extent_cache_range(dn, start, 0, index - start);
1441 pgoff_t index, pg_start, pg_end;
1482 for (index = pg_start; index < pg_end;) {
1491 (loff_t)index << PAGE_SHIFT,
1497 ret = f2fs_get_dnode_of_data(&dn, index, ALLOC_NODE);
1506 end = min(pg_end, end_offset - dn.ofs_in_node + index);
1508 ret = f2fs_do_zero_range(&dn, index, end);
1520 index = end;
1522 (loff_t)index << PAGE_SHIFT);
3854 pgoff_t index, pg_end, prev_index = 0;
3903 index = F2FS_BYTES_TO_BLK(range.start);
3921 while (index < pg_end) {
3927 ret = f2fs_get_dnode_of_data(&dn, index, LOOKUP_NODE);
3930 index = f2fs_get_next_page_offset(&dn, index);
3937 count = min(end_offset - dn.ofs_in_node, pg_end - index);
3938 for (i = 0; i < count; i++, index++, dn.ofs_in_node++) {
3961 index == prev_index + len &&
3979 prev_index = index;