Lines Matching defs:bytes
62 * @new_init_size: requested new initialized size in bytes
65 * to @new_init_size bytes. This involves zeroing any non-sparse space between
550 * @bytes: number of bytes to be written
571 unsigned nr_pages, s64 pos, size_t bytes)
606 "index 0x%lx, nr_pages 0x%x, pos 0x%llx, bytes 0x%zx.",
608 (long long)pos, bytes);
633 end = pos + bytes;
1380 * @bytes: number of bytes to be written
1386 s64 pos, size_t bytes)
1402 end = pos + bytes;
1508 * @bytes: number of bytes to be written
1540 const unsigned nr_pages, s64 pos, size_t bytes)
1562 "index 0x%lx, nr_pages 0x%x, pos 0x%llx, bytes 0x%zx.",
1564 (long long)pos, bytes);
1567 nr_pages, pos, bytes);
1605 end = pos + bytes;
1611 memcpy(kattr + pos, kaddr + pos, bytes);
1681 * Copy as much as we can into the pages and return the number of bytes which
1683 * out to (ofs + bytes) and return the number of bytes which were copied.
1686 unsigned ofs, struct iov_iter *i, size_t bytes)
1695 if (len > bytes)
1696 len = bytes;
1700 bytes -= copied;
1701 if (!bytes)
1714 if (len > bytes)
1715 len = bytes;
1717 bytes -= len;
1741 size_t bytes;
1786 bytes = PAGE_SIZE - ofs;
1821 bytes = vol->cluster_size - (pos &
1827 if (bytes > iov_iter_count(i))
1828 bytes = iov_iter_count(i);
1838 if (unlikely(iov_iter_fault_in_readable(i, bytes))) {
1855 pages, do_pages, pos, bytes);
1866 i, bytes);
1869 if (likely(copied == bytes)) {
1871 pos, bytes);
1873 status = bytes;
1895 if (bytes > sc)
1896 bytes = sc;