Searched refs:n_copy (Results 1 – 1 of 1) sorted by relevance
3417 int n_copy; in yaffs_file_rd() local3433 n_copy = n; in yaffs_file_rd()3435 n_copy = dev->data_bytes_per_chunk - start; in yaffs_file_rd()3443 if (cache || n_copy != dev->data_bytes_per_chunk || in yaffs_file_rd()3466 memcpy(buffer, &cache->data[start], n_copy); in yaffs_file_rd()3476 memcpy(buffer, &local_buffer[start], n_copy); in yaffs_file_rd()3484 n -= n_copy; in yaffs_file_rd()3485 offset += n_copy; in yaffs_file_rd()3486 buffer += n_copy; in yaffs_file_rd()3487 n_done += n_copy; in yaffs_file_rd()[all …]