Lines Matching refs:bytes
585 unsigned nr_pages, s64 pos, size_t bytes) in ntfs_prepare_pages_for_non_resident_write() argument
622 (long long)pos, bytes); in ntfs_prepare_pages_for_non_resident_write()
647 end = pos + bytes; in ntfs_prepare_pages_for_non_resident_write()
1401 s64 pos, size_t bytes) in ntfs_commit_pages_after_non_resident_write() argument
1417 end = pos + bytes; in ntfs_commit_pages_after_non_resident_write()
1555 const unsigned nr_pages, s64 pos, size_t bytes) in ntfs_commit_pages_after_write() argument
1579 (long long)pos, bytes); in ntfs_commit_pages_after_write()
1582 nr_pages, pos, bytes); in ntfs_commit_pages_after_write()
1620 end = pos + bytes; in ntfs_commit_pages_after_write()
1626 memcpy(kattr + pos, kaddr + pos, bytes); in ntfs_commit_pages_after_write()
1701 unsigned ofs, struct iov_iter *i, size_t bytes) in ntfs_copy_from_user_iter() argument
1710 if (len > bytes) in ntfs_copy_from_user_iter()
1711 len = bytes; in ntfs_copy_from_user_iter()
1715 bytes -= copied; in ntfs_copy_from_user_iter()
1716 if (!bytes) in ntfs_copy_from_user_iter()
1729 if (len > bytes) in ntfs_copy_from_user_iter()
1730 len = bytes; in ntfs_copy_from_user_iter()
1732 bytes -= len; in ntfs_copy_from_user_iter()
1756 size_t bytes; in ntfs_perform_write() local
1801 bytes = PAGE_SIZE - ofs; in ntfs_perform_write()
1836 bytes = vol->cluster_size - (pos & in ntfs_perform_write()
1842 if (bytes > iov_iter_count(i)) in ntfs_perform_write()
1843 bytes = iov_iter_count(i); in ntfs_perform_write()
1853 if (unlikely(iov_iter_fault_in_readable(i, bytes))) { in ntfs_perform_write()
1870 pages, do_pages, pos, bytes); in ntfs_perform_write()
1881 i, bytes); in ntfs_perform_write()
1884 if (likely(copied == bytes)) { in ntfs_perform_write()
1886 pos, bytes); in ntfs_perform_write()
1888 status = bytes; in ntfs_perform_write()
1910 if (bytes > sc) in ntfs_perform_write()
1911 bytes = sc; in ntfs_perform_write()