Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/app_trace/
Dapp_trace_membufs_proto.c22 uint8_t wr_sz; // size of actually written data member
25 uint16_t wr_sz; // size of actually written data
200 uint32_t wr_sz = esp_apptrace_rb_write_size_get(&proto->rb_down); in esp_apptrace_membufs_down_buffer_write_nolock() local
201 if (wr_sz == 0) { in esp_apptrace_membufs_down_buffer_write_nolock()
205 if (wr_sz > size - total_sz) { in esp_apptrace_membufs_down_buffer_write_nolock()
206 wr_sz = size - total_sz; in esp_apptrace_membufs_down_buffer_write_nolock()
208 ESP_APPTRACE_LOGD("esp_apptrace_trax_down_buffer_write_nolock wr %d", wr_sz); in esp_apptrace_membufs_down_buffer_write_nolock()
209 uint8_t *ptr = esp_apptrace_rb_produce(&proto->rb_down, wr_sz); in esp_apptrace_membufs_down_buffer_write_nolock()
213 …trace_trax_down_buffer_write_nolock wr %d to 0x%x from 0x%x", wr_sz, ptr, data + total_sz + wr_sz); in esp_apptrace_membufs_down_buffer_write_nolock()
214 memcpy(ptr, data + total_sz, wr_sz); in esp_apptrace_membufs_down_buffer_write_nolock()
[all …]
/hal_espressif-3.6.0/components/espcoredump/src/
Dcore_dump_flash.c106 uint32_t wr_sz = 0; in esp_core_dump_flash_write_data() local
116 wr_sz = data_size; in esp_core_dump_flash_write_data()
118 wr_sz = COREDUMP_CACHE_SIZE - wr_data->cached_bytes; in esp_core_dump_flash_write_data()
121 memcpy(&wr_data->cached_data[wr_data->cached_bytes], data, wr_sz); in esp_core_dump_flash_write_data()
122 wr_data->cached_bytes += wr_sz; in esp_core_dump_flash_write_data()
145 written += wr_sz; in esp_core_dump_flash_write_data()
146 data_size -= wr_sz; in esp_core_dump_flash_write_data()
164 wr_sz = (data_size / COREDUMP_CACHE_SIZE) * COREDUMP_CACHE_SIZE; in esp_core_dump_flash_write_data()
165 if (wr_sz) { in esp_core_dump_flash_write_data()
168 …dump_flash_custom_write(s_core_flash_config.partition.start + wr_data->off, data + written, wr_sz); in esp_core_dump_flash_write_data()
[all …]