Lines Matching refs:pgofs
1014 pgoff_t pgofs, end_offset, end; in f2fs_map_blocks() local
1029 pgofs = (pgoff_t)map->m_lblk; in f2fs_map_blocks()
1030 end = pgofs + maxblocks; in f2fs_map_blocks()
1032 if (!create && f2fs_lookup_extent_cache(inode, pgofs, &ei)) { in f2fs_map_blocks()
1033 map->m_pblk = ei.blk + pgofs - ei.fofs; in f2fs_map_blocks()
1034 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1037 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1047 err = f2fs_get_dnode_of_data(&dn, pgofs, mode); in f2fs_map_blocks()
1055 f2fs_get_next_page_offset(&dn, pgofs); in f2fs_map_blocks()
1058 f2fs_get_next_page_offset(&dn, pgofs); in f2fs_map_blocks()
1063 start_pgofs = pgofs; in f2fs_map_blocks()
1110 *map->m_next_pgofs = pgofs + 1; in f2fs_map_blocks()
1116 *map->m_next_pgofs = pgofs + 1; in f2fs_map_blocks()
1145 pgofs++; in f2fs_map_blocks()
1149 (pgofs == end || dn.ofs_in_node == end_offset)) { in f2fs_map_blocks()
1164 if (pgofs >= end) in f2fs_map_blocks()
1197 *map->m_next_extent = pgofs + 1; in f2fs_map_blocks()