Lines Matching defs:read
453 static OsBcacheBlock *GetSlowBlock(OsBcache *bc, BOOL read)
459 if (block->readBuff == read) {
471 if (block->readBuff == read) {
554 static OsBcacheBlock *AllocNewBlock(OsBcache *bc, BOOL read, UINT64 num)
559 if (read) { /* read */
563 /* fallback, this may happen when the block previously flushed, use read buffer */
781 INT32 ret = bops->read(priv, buf, pos, len);
834 PRINTK("bcache read:\n");
1145 PRINT_ERR("The event read in %s, %d is error!!!\n", __FUNCTION__, __LINE__);
1157 PRINT_ERR("read block %llu error : %d!\n", bc->curBlockNum, ret);