Lines Matching defs:tr_cache
22 typedef struct tr_cache tr_cache;
28 tr_cache * tr_cacheNew( int64_t max_bytes );
30 void tr_cacheFree( tr_cache * );
36 int tr_cacheSetLimit( tr_cache * cache, int64_t max_bytes );
38 int64_t tr_cacheGetLimit( const tr_cache * );
40 int tr_cacheWriteBlock( tr_cache * cache,
47 int tr_cacheReadBlock( tr_cache * cache,
54 int tr_cachePrefetchBlock( tr_cache * cache,
63 int tr_cacheFlushDone( tr_cache * cache );
65 int tr_cacheFlushTorrent( tr_cache * cache,
68 int tr_cacheFlushFile( tr_cache * cache,