Lines Matching full:write

36  * @brief Signature for callback invoked after flash write completes.
39 * data read back from the flash after a flash write has completed.
41 * instance by using a SHA function). The write buffer 'buf' provided in
57 uint8_t *buf; /* Write buffer */
58 size_t buf_len; /* Length of write buffer */
59 size_t buf_bytes; /* Number of bytes currently stored in write buf */
62 size_t offset; /* Offset from base of flash device to write area */
63 size_t available; /* Available bytes in write area */
65 stream_flash_callback_t callback; /* Callback invoked after write op */
70 size_t write_block_size; /* Offset/size device write alignment */
79 * @param buf Write buffer
80 * @param buf_len Length of write buffer. Can not be larger than the page size.
81 * Must be multiple of the flash device write-block-size.
83 * @param size Number of bytes available for performing buffered write.
86 * @param cb Callback to be invoked on completed flash write operations.
110 * A write with the @p flush set to true has to be issued as the last
111 * write request for a given context, as it concludes write of a stream,
114 * @warning There must not be any additional write requests issued for a flushed context,
115 * unless it is re-initialized, as such write attempts may result in the function
121 * @param data data to write
122 * @param len Number of bytes to write
145 * @brief Load persistent stream write progress stored with key
149 * load previous stream write progress before writing any data. If the loaded
154 * the stream write progress
163 * @brief Save persistent stream write progress using key @p settings_key .
167 * the stream write progress
175 * @brief Clear persistent stream write progress stored with key
179 * @param settings_key key previously used for storing the stream write progress