Lines Matching full:same
84 /* Don't allow overlapped cloning within the same file. */ in generic_remap_checks()
158 * are from the same file.
171 /* Unlock two folios, being careful not to unlock the same folio twice. */
180 * Compare extents of two files to see if they are the same.
187 bool same = true; in vfs_dedupe_file_range_compare() local
222 same = false; in vfs_dedupe_file_range_compare()
235 same = false; in vfs_dedupe_file_range_compare()
244 if (!same) in vfs_dedupe_file_range_compare()
252 *is_same = same; in vfs_dedupe_file_range_compare()
326 * Check that the extents are the same. in __generic_remap_file_range_prep()
494 int vfs_dedupe_file_range(struct file *file, struct file_dedupe_range *same) in vfs_dedupe_file_range() argument
502 u16 count = same->dest_count; in vfs_dedupe_file_range()
508 if (same->reserved1 || same->reserved2) in vfs_dedupe_file_range()
511 off = same->src_offset; in vfs_dedupe_file_range()
512 len = same->src_length; in vfs_dedupe_file_range()
536 same->info[i].bytes_deduped = 0ULL; in vfs_dedupe_file_range()
537 same->info[i].status = FILE_DEDUPE_RANGE_SAME; in vfs_dedupe_file_range()
540 for (i = 0, info = same->info; i < count; i++, info++) { in vfs_dedupe_file_range()