Lines Matching refs:loff_t
30 static int generic_remap_checks(struct file *file_in, loff_t pos_in, in generic_remap_checks()
31 struct file *file_out, loff_t pos_out, in generic_remap_checks()
32 loff_t *req_count, unsigned int remap_flags) in generic_remap_checks()
38 loff_t size_in, size_out; in generic_remap_checks()
39 loff_t bs = inode_out->i_sb->s_blocksize; in generic_remap_checks()
101 static int remap_verify_area(struct file *file, loff_t pos, loff_t len, in remap_verify_area()
107 if (unlikely((loff_t) (pos + len) < 0)) in remap_verify_area()
126 loff_t pos_out, in generic_remap_check_len()
127 loff_t *len, in generic_remap_check_len()
131 loff_t new_len = *len; in generic_remap_check_len()
151 static struct folio *vfs_dedupe_get_folio(struct file *file, loff_t pos) in vfs_dedupe_get_folio()
183 static int vfs_dedupe_file_range_compare(struct file *src, loff_t srcoff, in vfs_dedupe_file_range_compare()
184 struct file *dest, loff_t dstoff, in vfs_dedupe_file_range_compare()
185 loff_t len, bool *is_same) in vfs_dedupe_file_range_compare()
193 loff_t cmp_len = min(PAGE_SIZE - offset_in_page(srcoff), in vfs_dedupe_file_range_compare()
268 __generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in __generic_remap_file_range_prep()
269 struct file *file_out, loff_t pos_out, in __generic_remap_file_range_prep()
270 loff_t *len, unsigned int remap_flags, in __generic_remap_file_range_prep()
293 loff_t isize = i_size_read(inode_in); in __generic_remap_file_range_prep()
361 int generic_remap_file_range_prep(struct file *file_in, loff_t pos_in, in generic_remap_file_range_prep()
362 struct file *file_out, loff_t pos_out, in generic_remap_file_range_prep()
363 loff_t *len, unsigned int remap_flags) in generic_remap_file_range_prep()
370 loff_t do_clone_file_range(struct file *file_in, loff_t pos_in, in do_clone_file_range()
371 struct file *file_out, loff_t pos_out, in do_clone_file_range()
372 loff_t len, unsigned int remap_flags) in do_clone_file_range()
374 loff_t ret; in do_clone_file_range()
407 loff_t vfs_clone_file_range(struct file *file_in, loff_t pos_in, in vfs_clone_file_range()
408 struct file *file_out, loff_t pos_out, in vfs_clone_file_range()
409 loff_t len, unsigned int remap_flags) in vfs_clone_file_range()
411 loff_t ret; in vfs_clone_file_range()
439 loff_t vfs_dedupe_file_range_one(struct file *src_file, loff_t src_pos, in vfs_dedupe_file_range_one()
440 struct file *dst_file, loff_t dst_pos, in vfs_dedupe_file_range_one()
441 loff_t len, unsigned int remap_flags) in vfs_dedupe_file_range_one()
443 loff_t ret; in vfs_dedupe_file_range_one()
503 loff_t deduped; in vfs_dedupe_file_range()