Searched refs:fill_length (Results 1 – 1 of 1) sorted by relevance
124 size_t fill_length; in flash_sync() local143 fill_length = ctx->write_block_size; in flash_sync()144 if (ctx->buf_bytes % fill_length) { in flash_sync()145 fill_length -= ctx->buf_bytes % fill_length; in flash_sync()148 memset(ctx->buf + ctx->buf_bytes, filler, fill_length); in flash_sync()150 fill_length = 0; in flash_sync()153 buf_bytes_aligned = ctx->buf_bytes + fill_length; in flash_sync()