Searched refs:fill_length (Results 1 – 1 of 1) sorted by relevance
130 size_t fill_length; in flash_sync() local149 fill_length = ctx->write_block_size; in flash_sync()150 if (ctx->buf_bytes % fill_length) { in flash_sync()151 fill_length -= ctx->buf_bytes % fill_length; in flash_sync()154 memset(ctx->buf + ctx->buf_bytes, filler, fill_length); in flash_sync()156 fill_length = 0; in flash_sync()159 buf_bytes_aligned = ctx->buf_bytes + fill_length; in flash_sync()