Lines Matching refs:TRWCache
165 void rw_cache_init(TRWCache* cache, TSkBuffMng* pool) in rw_cache_init()
173 void rw_cache_destroy(TRWCache* cache) in rw_cache_destroy()
191 uint32_t cache_copy_out(TRWCache* cache, void* buff, uint32_t len) in cache_copy_out()
243 void cache_skip_data(TRWCache* cache, uint32_t len) in cache_skip_data()
248 void cache_append_buffer(TRWCache* cache, TSkBuffer* buff) in cache_append_buffer()
260 TSkBuffer* cache_skip_first_buffer(TRWCache* cache) in cache_skip_first_buffer()
282 int32_t cache_append_data(TRWCache* cache, const void* data, uint32_t len) in cache_append_data()
314 TRWCache keep_list; in cache_append_data()
352 int32_t cache_udp_recv(TRWCache* cache, uint32_t fd, struct sockaddr_in* remote_addr) in cache_udp_recv()
394 int32_t cache_tcp_recv(TRWCache* cache, uint32_t fd) in cache_tcp_recv()
452 int32_t cache_tcp_send(TRWCache* cache, uint32_t fd) in cache_tcp_send()
496 int32_t cache_tcp_send_buff(TRWCache* cache, uint32_t fd, const void* data, uint32_t len) in cache_tcp_send_buff()
541 TRWCache* cache = (TRWCache*)multi; in get_data_len()
551 TRWCache* cache = (TRWCache*)multi; in get_block_count()
561 TRWCache* cache = (TRWCache*)multi; in get_first_block()
571 TRWCache* cache = (TRWCache*)multi; in get_next_block()
603 TRWCache* cache = (TRWCache*)multi; in read_cache_data()
642 TRWCache* cache = (TRWCache*)multi; in read_cache_begin()