• Home
  • Raw
  • Download

Lines Matching refs:end

321 	s64 end, ll;  in ntfs_prepare_file_for_write()  local
381 end = (pos + iov_iter_count(from) + vol->cluster_size_mask) & in ntfs_prepare_file_for_write()
390 if (end > ll) { in ntfs_prepare_file_for_write()
398 ll = ntfs_attr_extend_allocation(ni, end, -1, pos); in ntfs_prepare_file_for_write()
402 if (end > ll) { in ntfs_prepare_file_for_write()
575 s64 bh_pos, vcn_len, end, initialized_size; in ntfs_prepare_pages_for_non_resident_write() local
633 end = pos + bytes; in ntfs_prepare_pages_for_non_resident_write()
634 cend = (end + vol->cluster_size - 1) >> vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
676 (bh_pos < end && bh_end > end)) { in ntfs_prepare_pages_for_non_resident_write()
730 if (bh_end <= pos || bh_pos >= end) in ntfs_prepare_pages_for_non_resident_write()
745 if (!buffer_uptodate(bh) && bh_pos < end && in ntfs_prepare_pages_for_non_resident_write()
748 bh_end > end)) { in ntfs_prepare_pages_for_non_resident_write()
781 if (bh_end <= pos || bh_pos >= end) { in ntfs_prepare_pages_for_non_resident_write()
792 (bh_pos < pos || bh_end > end)) { in ntfs_prepare_pages_for_non_resident_write()
801 if (bh_end > end) { in ntfs_prepare_pages_for_non_resident_write()
802 pofs = end & ~PAGE_MASK; in ntfs_prepare_pages_for_non_resident_write()
803 memset(kaddr + pofs, 0, bh_end - end); in ntfs_prepare_pages_for_non_resident_write()
1332 end = bh_cpos << vol->cluster_size_bits; in ntfs_prepare_pages_for_non_resident_write()
1339 bh_offset(bh) >= end) in ntfs_prepare_pages_for_non_resident_write()
1388 s64 end, initialized_size; in ntfs_commit_pages_after_non_resident_write() local
1402 end = pos + bytes; in ntfs_commit_pages_after_non_resident_write()
1417 if (bh_end <= pos || bh_pos >= end) { in ntfs_commit_pages_after_non_resident_write()
1439 if (end <= initialized_size) { in ntfs_commit_pages_after_non_resident_write()
1475 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_non_resident_write()
1476 ni->initialized_size = end; in ntfs_commit_pages_after_non_resident_write()
1477 a->data.non_resident.initialized_size = cpu_to_sle64(end); in ntfs_commit_pages_after_non_resident_write()
1478 if (end > i_size_read(vi)) { in ntfs_commit_pages_after_non_resident_write()
1479 i_size_write(vi, end); in ntfs_commit_pages_after_non_resident_write()
1542 s64 end, initialized_size; in ntfs_commit_pages_after_write() local
1605 end = pos + bytes; in ntfs_commit_pages_after_write()
1606 BUG_ON(end > le32_to_cpu(a->length) - in ntfs_commit_pages_after_write()
1613 if (end > attr_len) { in ntfs_commit_pages_after_write()
1614 attr_len = end; in ntfs_commit_pages_after_write()
1624 if (end < attr_len) in ntfs_commit_pages_after_write()
1625 memcpy(kaddr + end, kattr + end, attr_len - end); in ntfs_commit_pages_after_write()
1635 BUG_ON(end > ni->allocated_size); in ntfs_commit_pages_after_write()
1638 if (end > initialized_size) { in ntfs_commit_pages_after_write()
1640 ni->initialized_size = end; in ntfs_commit_pages_after_write()
1641 i_size_write(vi, end); in ntfs_commit_pages_after_write()
1970 static int ntfs_file_fsync(struct file *filp, loff_t start, loff_t end, in ntfs_file_fsync() argument
1978 err = file_write_and_wait_range(filp, start, end); in ntfs_file_fsync()