Lines Matching refs:blocks
899 int blocks = sat_->page_length() / blocksize;
900 for (int currentblock = 0; currentblock < blocks; currentblock++) {
933 uint64 *memslice = memblock + blocks * blockwords;
937 blocks * blocksize, 0);
1196 int blocks = sat_->page_length() / blocksize;
1204 for (int currentblock = 0; currentblock < blocks; currentblock++) {
1261 uint64 *targetmem = targetmembase + blocks * blockwords;
1262 uint64 *sourcemem = sourcemembase + blocks * blockwords;
1267 blocks * blocksize, 0);
1292 int blocks = sat_->page_length() / blocksize;
1297 for (int currentblock = blocks-1; currentblock >= 0; currentblock--) {
1315 int blocks = sat_->page_length() / blocksize;
1320 for (int currentblock = 0; currentblock < blocks; currentblock++) {
1340 int blocks = sat_->page_length() / blocksize;
1348 for (int currentblock = 0; currentblock < blocks; currentblock++) {
1405 uint64 *targetmem = targetmembase + blocks * blockwords;
1406 uint64 *sourcemem = sourcemembase + blocks * blockwords;
1411 blocks * blocksize, 0);
1894 // Copy data from file into memory blocks.
2593 // Blocks must be aligned to the disk's sector size.
2604 // Write blocks must be aligned to the disk's sector size and to the
2644 logprintf(0, "Process Error: Blocks per segment must be greater than "
2685 // Having a queue of 150% of blocks that will fit in the disk's cache
2803 // This disk test works by writing blocks with a certain pattern to
2811 // To prevent the read blocks from coming from the disk cache,
2812 // enough blocks are written before read such that a block would
2821 // Write blocks to disk.
2849 // 1. In order to allocate 'y' blocks from a segment, the
2850 // segment must contain at least 2y blocks or else an
2853 // 3. A full write phase consists of writing blocks corresponding to
2856 // size worth of blocks = 3 * cache size worth of blocks
2876 // Verify blocks on disk.
3066 int64 blocks = block->GetSize() / read_block_size_;
3086 // Split a large write-sized block into small read-sized blocks and
3090 while (blocks != 0) {
3091 // Test all read blocks in a written block.
3092 current_blocks = (random() % blocks) + 1;
3134 blocks -= current_blocks;