/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_open_flags.c | 33 int write_size; member 72 ZEQ(fs_write(&ts->file, ts->write, ts->write_size), expected); in ZWRITE() 193 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() 206 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() 247 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() 261 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() 304 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() 319 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() 383 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() 402 ZWRITE(&ts, ts.write_size); in test_fs_open_flags() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_util.c | 129 size_t write_size; in z_impl_flash_copy() local 158 write_size = flash_get_write_block_size(dst_dev); in z_impl_flash_copy() 159 if ((buf_size < write_size) || ((buf_size % write_size) != 0)) { in z_impl_flash_copy() 161 write_size); in z_impl_flash_copy() 168 if (bytes_left < write_size) { in z_impl_flash_copy() 173 memset(buf, params->erase_value, write_size); in z_impl_flash_copy() 175 bytes_read = MIN(MAX(bytes_left, write_size), buf_size); in z_impl_flash_copy()
|
D | flash_cadence_qspi_nor_ll.c | 781 uint32_t write_size = MIN(size, CAD_QSPI_PAGE_SIZE - page_offset); in cad_qspi_write_bank() local 789 status = cad_qspi_indirect_page_bound_write(cad_params, offset, buffer, write_size); in cad_qspi_write_bank() 794 offset += write_size; in cad_qspi_write_bank() 795 buffer += write_size; in cad_qspi_write_bank() 796 size -= write_size; in cad_qspi_write_bank() 797 write_size = MIN(size, CAD_QSPI_PAGE_SIZE); in cad_qspi_write_bank()
|
/Zephyr-latest/tests/bluetooth/hci_uart_async/src/ |
D | test_hci_uart_async.c | 182 int write_size = serial_vnd_queue_in_data(zephyr_bt_c2h_uart, h4_msg_cmd_dummy1, in ZTEST() local 184 __ASSERT_NO_MSG(write_size == sizeof(h4_msg_cmd_dummy1)); in ZTEST() 202 int write_size = in ZTEST() local 205 __ASSERT_NO_MSG(write_size == sizeof(h4_msg_cmd_host_num_complete)); in ZTEST()
|
/Zephyr-latest/drivers/serial/ |
D | serial_test.c | 224 int write_size; in serial_vnd_queue_in_data() local 229 write_size = ring_buf_put(data->read_queue, c, size); in serial_vnd_queue_in_data() 231 LOG_DBG("size %u write_size %u", size, write_size); in serial_vnd_queue_in_data() 232 LOG_HEXDUMP_DBG(c, write_size, ""); in serial_vnd_queue_in_data() 235 if (write_size > 0) { in serial_vnd_queue_in_data() 244 return write_size; in serial_vnd_queue_in_data()
|
/Zephyr-latest/subsys/settings/src/ |
D | settings_line.c | 290 size_t write_size = chunk_size; in settings_line_entry_copy() local 293 write_size += settings_io_cb.rwbs - in settings_line_entry_copy() 297 rc = settings_io_cb.write_cb(dst_ctx, dst_off, buf, write_size); in settings_line_entry_copy()
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_impl.c | 192 int64_t dev_size, write_size; in ext2_init_storage() local 210 write_size = fs->backend_ops->get_write_size(fs); in ext2_init_storage() 211 if (write_size < 0) { in ext2_init_storage() 212 ret = write_size; in ext2_init_storage() 216 if (write_size < 1024 && 1024 % write_size != 0) { in ext2_init_storage() 218 LOG_ERR("expecting sector size that divides 1024 (got: %lld)", write_size); in ext2_init_storage() 223 LOG_DBG("Write size: %lld", write_size); in ext2_init_storage() 226 fs->write_size = write_size; in ext2_init_storage()
|
D | ext2_struct.h | 239 uint32_t write_size; /* dev minimal write size */ member
|
D | ext2_ops.c | 411 if (fs->block_size % fs->write_size != 0) { in ext2_mount() 413 fs->block_size, fs->write_size); in ext2_mount()
|
D | ext2_format.c | 121 fs_memory -= CONFIG_EXT2_DISK_STARTING_SECTOR * fs->write_size; in ext2_format()
|
/Zephyr-latest/subsys/fs/ |
D | shell.c | 717 uint32_t write_size = size - i; in cmd_erase_write_test() local 719 if (write_size > sizeof(random_data)) { in cmd_erase_write_test() 720 write_size = sizeof(random_data); in cmd_erase_write_test() 723 err = fs_write(&file, random_data, write_size); in cmd_erase_write_test() 731 i += write_size; in cmd_erase_write_test()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/ |
D | central.c | 57 size_t write_size) in gatt_write() argument 66 params.length = write_size; in gatt_write()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | isoal.c | 2196 uint8_t write_size; in isoal_insert_seg_header_timeoffset() local 2201 write_size = PDU_ISO_SEG_HDR_SIZE + (sc ? 0 : PDU_ISO_SEG_TIMEOFFSET_SIZE); in isoal_insert_seg_header_timeoffset() 2209 if (pp->pdu_available < write_size) { in isoal_insert_seg_header_timeoffset() 2234 write_size); in isoal_insert_seg_header_timeoffset() 2235 pp->pdu_written += write_size; in isoal_insert_seg_header_timeoffset() 2236 pp->pdu_available -= write_size; in isoal_insert_seg_header_timeoffset() 2239 source, write_size, sc, cmplt, time_offset, seg_hdr.len); in isoal_insert_seg_header_timeoffset()
|