Lines Matching refs:bytes

584 		unsigned nr_pages, s64 pos, size_t bytes)  in ntfs_prepare_pages_for_non_resident_write()  argument
621 (long long)pos, bytes); in ntfs_prepare_pages_for_non_resident_write()
646 end = pos + bytes; in ntfs_prepare_pages_for_non_resident_write()
1400 s64 pos, size_t bytes) in ntfs_commit_pages_after_non_resident_write() argument
1416 end = pos + bytes; in ntfs_commit_pages_after_non_resident_write()
1554 const unsigned nr_pages, s64 pos, size_t bytes) in ntfs_commit_pages_after_write() argument
1578 (long long)pos, bytes); in ntfs_commit_pages_after_write()
1581 nr_pages, pos, bytes); in ntfs_commit_pages_after_write()
1619 end = pos + bytes; in ntfs_commit_pages_after_write()
1625 memcpy(kattr + pos, kaddr + pos, bytes); in ntfs_commit_pages_after_write()
1700 unsigned ofs, struct iov_iter *i, size_t bytes) in ntfs_copy_from_user_iter() argument
1709 if (len > bytes) in ntfs_copy_from_user_iter()
1710 len = bytes; in ntfs_copy_from_user_iter()
1714 bytes -= copied; in ntfs_copy_from_user_iter()
1715 if (!bytes) in ntfs_copy_from_user_iter()
1728 if (len > bytes) in ntfs_copy_from_user_iter()
1729 len = bytes; in ntfs_copy_from_user_iter()
1731 bytes -= len; in ntfs_copy_from_user_iter()
1755 size_t bytes; in ntfs_perform_write() local
1800 bytes = PAGE_CACHE_SIZE - ofs; in ntfs_perform_write()
1835 bytes = vol->cluster_size - (pos & in ntfs_perform_write()
1841 if (bytes > iov_iter_count(i)) in ntfs_perform_write()
1842 bytes = iov_iter_count(i); in ntfs_perform_write()
1852 if (unlikely(iov_iter_fault_in_multipages_readable(i, bytes))) { in ntfs_perform_write()
1869 pages, do_pages, pos, bytes); in ntfs_perform_write()
1880 i, bytes); in ntfs_perform_write()
1883 if (likely(copied == bytes)) { in ntfs_perform_write()
1885 pos, bytes); in ntfs_perform_write()
1887 status = bytes; in ntfs_perform_write()
1909 if (bytes > sc) in ntfs_perform_write()
1910 bytes = sc; in ntfs_perform_write()