Lines Matching defs:bytes
91 u32 bytes;
412 u64 offset, u64 bytes)
415 unsigned long end_index = (offset + bytes - 1) >> PAGE_SHIFT;
450 offset, bytes);
456 if (bytes + offset <= page_start + PAGE_SIZE)
464 if (page_start >= offset && page_end <= (offset + bytes - 1)) {
465 bytes = offset + bytes - page_offset(locked_page) - PAGE_SIZE;
470 return btrfs_mark_ordered_io_finished(inode, NULL, offset, bytes, false);
825 * work queue to write the uncompressed bytes. This makes sure that both
881 * requested range of bytes, we bail out to the uncompressed
1792 u64 bytes = count;
1797 bytes = range_bytes;
1800 btrfs_space_info_update_bytes_may_use(fs_info, sinfo, bytes);
1838 /* Number of bytes that can be written to in NOCOW mode. */
2428 * Properly track delayed allocation bytes in the inode and to maintain the
2921 * number of bytes only for that range containing the inline extent.
2994 * bytes when clearing the range in the inode's io tree, so pass false
3009 * an ordered extent if the range of bytes in the file it covers are
3129 * update the inode's number of bytes. This needs to be done first
3275 * @bio_offset: offset to the beginning of the bio (in bytes)
7569 * of bytes previously read is > 0, so it does not return -EFAULT).
7588 * That is, the caller asked to read N bytes and we return less than that,
7728 dip->file_offset, dip->bytes, bio->bi_status);
7733 dip->file_offset, dip->bytes,
7737 dip->file_offset + dip->bytes - 1, NULL);
7758 dip->bytes = bio->bi_iter.bi_size;
7775 file_offset, dip->bytes,
9557 * and normally qgroup_released bytes will be freed when committing
9959 size_t bytes = min_t(u64, disk_io_size, PAGE_SIZE);
9961 if (bio_add_page(&bbio->bio, pages[i], bytes, 0) < bytes) {
9973 disk_bytenr += bytes;
9974 disk_io_size -= bytes;
10030 size_t bytes = min_t(size_t, count - cur,
10033 if (copy_page_to_iter(pages[i], page_offset, bytes,
10034 iter) != bytes) {
10039 cur += bytes;
10304 size_t bytes = min_t(size_t, PAGE_SIZE, iov_iter_count(from));
10313 if (copy_from_iter(kaddr, bytes, from) != bytes) {
10318 if (bytes < PAGE_SIZE)
10319 memset(kaddr + bytes, 0, PAGE_SIZE - bytes);
10839 * Update the number of bytes used in the VFS' inode. When we replace extents in
10841 * bytes used by the inode in an atomic manner, so that concurrent stat(2) calls