Lines Matching defs:block
83 * Least used block will be the first victim to be replaced when max hash
86 static bool *dcache_valid; /* is the cached block valid? */
87 static off64_t *dcache_blk; /* which block it cached */
89 static char *dcache_buf; /* cached block data */
298 * For read, we need to do it block by block, due to the cache nature:
362 /* next block */
403 static int sparse_read_blk(__u64 block, int count, void *buf)
410 cur_block = block + i;
420 static int sparse_write_blk(__u64 block, int count, const void *buf)
427 cur_block = block + i;
441 static int sparse_write_zeroed_blk(__u64 block, int count)
447 cur_block = block + i;
457 size_t len, unsigned int block, unsigned int nr_blocks)
460 unsigned int block, unsigned int nr_blocks)
467 return sparse_write_blk(block, nr_blocks, data);
501 static int sparse_read_blk(__u64 UNUSED(block),
507 static int sparse_write_blk(__u64 UNUSED(block),
513 static int sparse_write_zeroed_blk(__u64 UNUSED(block), int UNUSED(count))
677 MSG(0, "\tError: Calloc Failed for zeroed block!!!\n");
780 * in the block device page cache.