Home
last modified time | relevance | path

Searched refs:size_to_write (Results 1 – 1 of 1) sorted by relevance

/optee_os-3.20.0/core/tee/
A Dtee_ree_fs.c89 size_t size_to_write = MIN(remain_bytes, (size_t)BLOCK_SIZE); in out_of_place_write() local
91 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 4 milliseconds