Searched refs:size_to_write (Results 1 – 1 of 1) sorted by relevance
89 size_t size_to_write = MIN(remain_bytes, (size_t)BLOCK_SIZE); in out_of_place_write() local91 if (size_to_write + offset > BLOCK_SIZE) in out_of_place_write()92 size_to_write = BLOCK_SIZE - offset; in out_of_place_write()105 memcpy(block + offset, data_ptr, size_to_write); in out_of_place_write()107 memset(block + offset, 0, size_to_write); in out_of_place_write()115 data_ptr += size_to_write; in out_of_place_write()116 remain_bytes -= size_to_write; in out_of_place_write()118 pos += size_to_write; in out_of_place_write()
Completed in 3 milliseconds