Lines Matching refs:pgofs
338 pgoff_t pgofs, int whence) in __get_first_dirty_index() argument
347 nr_pages = find_get_pages_tag(mapping, &pgofs, PAGECACHE_TAG_DIRTY, in __get_first_dirty_index()
351 pgofs = page->index; in __get_first_dirty_index()
353 return pgofs; in __get_first_dirty_index()
357 pgoff_t dirty, pgoff_t pgofs, int whence) in __found_offset() argument
361 if ((blkaddr == NEW_ADDR && dirty == pgofs) || in __found_offset()
378 pgoff_t pgofs, end_offset, dirty; in f2fs_seek_block() local
396 pgofs = (pgoff_t)(offset >> PAGE_SHIFT); in f2fs_seek_block()
398 dirty = __get_first_dirty_index(inode->i_mapping, pgofs, whence); in f2fs_seek_block()
400 for (; data_ofs < isize; data_ofs = (loff_t)pgofs << PAGE_SHIFT) { in f2fs_seek_block()
402 err = f2fs_get_dnode_of_data(&dn, pgofs, LOOKUP_NODE); in f2fs_seek_block()
408 pgofs = f2fs_get_next_page_offset(&dn, pgofs); in f2fs_seek_block()
419 dn.ofs_in_node++, pgofs++, in f2fs_seek_block()
420 data_ofs = (loff_t)pgofs << PAGE_SHIFT) { in f2fs_seek_block()
434 pgofs, whence)) { in f2fs_seek_block()