Lines Matching refs:total
41 uint32_t total = sizeof(TSkBuffer) + size; in new_sk_buffer() local
42 total = (total + SK_DFLT_ALIGN_SIZE - 1) / SK_DFLT_ALIGN_SIZE * SK_DFLT_ALIGN_SIZE; in new_sk_buffer()
43 TSkBuffer* block = (TSkBuffer*)malloc(total); in new_sk_buffer()
46 MTLOG_ERROR("malloc failed, no more memory[%u]", total); in new_sk_buffer()
359 int32_t total = 0; in cache_udp_recv() local
388 total += rc; in cache_udp_recv()
391 return total; in cache_udp_recv()
401 int32_t total = 0; in cache_tcp_recv() local
429 return total; in cache_tcp_recv()
441 total += recvd_len; in cache_tcp_recv()
444 return total; in cache_tcp_recv()
449 return total; in cache_tcp_recv()
464 int32_t ret = 0, total = 0; in cache_tcp_send() local
476 total += ret; in cache_tcp_send()
483 cache_skip_data(cache, total); in cache_tcp_send()
493 return total; in cache_tcp_send()