Searched refs:buf_bytes (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.6.0/subsys/storage/stream/ |
D | stream_flash.c | 116 if (ctx->buf_bytes == 0) { in flash_sync() 123 write_addr + ctx->buf_bytes - 1); in flash_sync() 132 if (ctx->buf_bytes % fill_length) { in flash_sync() 133 fill_length -= ctx->buf_bytes % fill_length; in flash_sync() 136 memset(ctx->buf + ctx->buf_bytes, filler, fill_length); in flash_sync() 141 buf_bytes_aligned = ctx->buf_bytes + fill_length; in flash_sync() 154 for (int i = 0; i < ctx->buf_bytes; i++) { in flash_sync() 159 ctx->buf_bytes); in flash_sync() 165 rc = ctx->callback(ctx->buf, ctx->buf_bytes, write_addr); in flash_sync() 172 ctx->bytes_written += ctx->buf_bytes; in flash_sync() [all …]
|
/Zephyr-Core-3.6.0/drivers/entropy/ |
D | entropy_esp32.c | 47 uint8_t *buf_bytes = buf; in entropy_esp32_get_entropy() local 53 memcpy(buf_bytes, &word, to_copy); in entropy_esp32_get_entropy() 54 buf_bytes += to_copy; in entropy_esp32_get_entropy()
|
/Zephyr-Core-3.6.0/include/zephyr/storage/ |
D | stream_flash.h | 57 size_t buf_bytes; /* Number of bytes currently stored in write buf */ member
|
/Zephyr-Core-3.6.0/tests/subsys/storage/stream/stream_flash/src/ |
D | main.c | 326 zassert_equal(ctx.buf_bytes, BUF_LEN, "Expected bytes to be left in buffer"); in ZTEST() 345 zassert_equal(ctx.buf_bytes, BUF_LEN, "Expected bytes to be left in buffer"); in ZTEST() 352 bad_ctx.buf_bytes = 0; in ZTEST() 364 zassert_equal(bad_ctx.buf_bytes, cmp_ctx.buf_bytes + tow, in ZTEST()
|