Searched refs:size_to_read (Results 1 – 1 of 1) sorted by relevance
334 size_t size_to_read = MIN(remain_bytes, (size_t)BLOCK_SIZE); in ree_fs_read_primitive() local336 if (size_to_read + offset > BLOCK_SIZE) in ree_fs_read_primitive()337 size_to_read = BLOCK_SIZE - offset; in ree_fs_read_primitive()343 memcpy(data_ptr, block + offset, size_to_read); in ree_fs_read_primitive()345 data_ptr += size_to_read; in ree_fs_read_primitive()346 remain_bytes -= size_to_read; in ree_fs_read_primitive()347 pos += size_to_read; in ree_fs_read_primitive()
Completed in 4 milliseconds