Searched refs:size_to_write (Results 1 – 1 of 1) sorted by relevance
109 size_t size_to_write; in otc_btn_work_fn() local135 size_to_write = MIN(OBJ_MAX_SIZE, otc.cur_object.size.alloc); in otc_btn_work_fn()136 (void)memset(obj_data_buf, 0, size_to_write); in otc_btn_work_fn()137 printk("Going to write OTS object len %d\n", size_to_write); in otc_btn_work_fn()138 for (uint32_t idx = 0; idx < size_to_write; idx++) { in otc_btn_work_fn()142 last_checksum = bt_ots_client_calc_checksum(obj_data_buf, size_to_write); in otc_btn_work_fn()145 size_to_write, 0, in otc_btn_work_fn()