Lines Matching refs:fend
1243 unsigned long long fpos, fend; in cifs_flush_folio() local
1254 fend = fpos + size - 1; in cifs_flush_folio()
1256 *_fend = max_t(unsigned long long, *_fend, fend); in cifs_flush_folio()
1257 if ((first && pos == fpos) || (!first && pos == fend)) in cifs_flush_folio()
1260 rc = filemap_write_and_wait_range(inode->i_mapping, fpos, fend); in cifs_flush_folio()
1277 unsigned long long destend, fstart, fend, old_size, new_size; in cifs_remap_file_range() local
1334 fend = destend; in cifs_remap_file_range()
1336 rc = cifs_flush_folio(target_inode, destoff, &fstart, &fend, true); in cifs_remap_file_range()
1339 rc = cifs_flush_folio(target_inode, destend, &fstart, &fend, false); in cifs_remap_file_range()
1342 if (fend > target_cifsi->netfs.zero_point) in cifs_remap_file_range()
1343 target_cifsi->netfs.zero_point = fend + 1; in cifs_remap_file_range()
1347 cifs_dbg(FYI, "about to discard pages %llx-%llx\n", fstart, fend); in cifs_remap_file_range()
1348 truncate_inode_pages_range(&target_inode->i_data, fstart, fend); in cifs_remap_file_range()