Lines Matching refs:pgofs
1460 pgoff_t pgofs, end_offset, end; in f2fs_map_blocks() local
1480 pgofs = (pgoff_t)map->m_lblk; in f2fs_map_blocks()
1481 end = pgofs + maxblocks; in f2fs_map_blocks()
1483 if (!create && f2fs_lookup_extent_cache(inode, pgofs, &ei)) { in f2fs_map_blocks()
1488 map->m_pblk = ei.blk + pgofs - ei.fofs; in f2fs_map_blocks()
1489 map->m_len = min((pgoff_t)maxblocks, ei.fofs + ei.len - pgofs); in f2fs_map_blocks()
1492 *map->m_next_extent = pgofs + map->m_len; in f2fs_map_blocks()
1522 err = f2fs_get_dnode_of_data(&dn, pgofs, mode); in f2fs_map_blocks()
1544 f2fs_get_next_page_offset(&dn, pgofs); in f2fs_map_blocks()
1547 f2fs_get_next_page_offset(&dn, pgofs); in f2fs_map_blocks()
1552 start_pgofs = pgofs; in f2fs_map_blocks()
1622 *map->m_next_pgofs = pgofs + 1; in f2fs_map_blocks()
1628 *map->m_next_pgofs = pgofs + 1; in f2fs_map_blocks()
1665 pgofs++; in f2fs_map_blocks()
1669 (pgofs == end || dn.ofs_in_node == end_offset)) { in f2fs_map_blocks()
1684 if (pgofs >= end) in f2fs_map_blocks()
1743 *map->m_next_extent = pgofs + 1; in f2fs_map_blocks()