Lines Matching defs:cache_block
38 struct cache_block
85 const struct cache_block ** blocks = (const struct cache_block**) tr_ptrArrayBase( &cache->blocks );
86 const struct cache_block * ref = blocks[pos];
90 const struct cache_block * b = blocks[i];
98 const struct cache_block * b = blocks[i-1];
167 struct cache_block ** blocks = (struct cache_block**) tr_ptrArrayBase( &cache->blocks );
169 struct cache_block * b = blocks[pos];
285 const struct cache_block * a = va;
286 const struct cache_block * b = vb;
300 static struct cache_block *
306 struct cache_block key;
320 struct cache_block * cb = findBlock( cache, torrent, piece, offset );
324 cb = tr_new( struct cache_block, 1 );
355 struct cache_block * cb = findBlock( cache, torrent, piece, offset );
373 struct cache_block * cb = findBlock( cache, torrent, piece, offset );
388 struct cache_block key;
427 const struct cache_block * b = tr_ptrArrayNth( &cache->blocks, pos );
445 const struct cache_block * b = tr_ptrArrayNth( &cache->blocks, pos );