Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/storage/stream/
Dstream_flash.c192 size_t fill_length; in flash_sync() local
210 fill_length = ctx->write_block_size; in flash_sync()
211 if (ctx->buf_bytes % fill_length) { in flash_sync()
212 fill_length -= ctx->buf_bytes % fill_length; in flash_sync()
215 memset(ctx->buf + ctx->buf_bytes, filler, fill_length); in flash_sync()
217 fill_length = 0; in flash_sync()
220 buf_bytes_aligned = ctx->buf_bytes + fill_length; in flash_sync()