Lines Matching refs:pos_in
3141 int generic_remap_checks(struct file *file_in, loff_t pos_in, in generic_remap_checks() argument
3154 if (!IS_ALIGNED(pos_in, bs) || !IS_ALIGNED(pos_out, bs)) in generic_remap_checks()
3158 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_remap_checks()
3166 (pos_in >= size_in || pos_in + count > size_in || in generic_remap_checks()
3171 if (pos_in >= size_in) in generic_remap_checks()
3173 count = min(count, size_in - (uint64_t)pos_in); in generic_remap_checks()
3186 if (pos_in + count == size_in) { in generic_remap_checks()
3187 bcount = ALIGN(size_in, bs) - pos_in; in generic_remap_checks()
3196 pos_out + bcount > pos_in && in generic_remap_checks()
3197 pos_out < pos_in + bcount) in generic_remap_checks()
3242 int generic_copy_file_checks(struct file *file_in, loff_t pos_in, in generic_copy_file_checks() argument
3264 if (pos_in + count < pos_in || pos_out + count < pos_out) in generic_copy_file_checks()
3269 if (pos_in >= size_in) in generic_copy_file_checks()
3272 count = min(count, size_in - (uint64_t)pos_in); in generic_copy_file_checks()
3280 pos_out + count > pos_in && in generic_copy_file_checks()
3281 pos_out < pos_in + count) in generic_copy_file_checks()