Lines Matching refs:total_size
1232 size_t total_size) in coap_block_transfer_init() argument
1235 ctx->total_size = total_size; in coap_block_transfer_init()
1301 SET_MORE(val, ctx->current + bytes < ctx->total_size); in coap_append_block1_option()
1324 SET_MORE(val, ctx->current + bytes < ctx->total_size); in coap_append_block2_option()
1336 return coap_append_option_int(cpkt, COAP_OPTION_SIZE1, ctx->total_size); in coap_append_size1_option()
1342 return coap_append_option_int(cpkt, COAP_OPTION_SIZE2, ctx->total_size); in coap_append_size2_option()
1449 if (size && ctx->total_size && ctx->total_size != size) { in update_descriptive_block()
1457 if (ctx->total_size && new_current > ctx->total_size) { in update_descriptive_block()
1462 ctx->total_size = size; in update_descriptive_block()
1490 ctx->total_size = size; in update_control_block1()
1565 if ((ctx->total_size > 0) && in coap_next_block_for_option()
1566 (ctx->total_size < (ctx->current + block_len))) { in coap_next_block_for_option()