Searched refs:bytes_copied (Results 1 – 2 of 2) sorted by relevance
2380 int bytes_copied = 0; in map_block_for_writepage() local2413 if (bytes_copied > 0) { in map_block_for_writepage()2415 "bytes_copied %d", bytes_copied); in map_block_for_writepage()2456 memcpy(ih_item_body(bh, ih) + pos_in_item, p + bytes_copied, in map_block_for_writepage()2460 bytes_copied += copy_size; in map_block_for_writepage()2464 if (bytes_copied < bh_result->b_size && in map_block_for_writepage()2465 (byte_offset + bytes_copied) < inode->i_size) { in map_block_for_writepage()
1512 ssize_t bytes_copied = 0; in _nfsd_copy_file_range() local1525 bytes_copied = nfsd_copy_file_range(src, src_pos, dst, dst_pos, in _nfsd_copy_file_range()1527 if (bytes_copied <= 0) in _nfsd_copy_file_range()1529 bytes_total -= bytes_copied; in _nfsd_copy_file_range()1530 copy->cp_res.wr_bytes_written += bytes_copied; in _nfsd_copy_file_range()1531 src_pos += bytes_copied; in _nfsd_copy_file_range()1532 dst_pos += bytes_copied; in _nfsd_copy_file_range()1544 return bytes_copied; in _nfsd_copy_file_range()