Lines Matching refs:data
70 UINT8 *data; /* block data */
71 BOOL modified; /* is this block data modified (needs write) */
72 BOOL readFlag; /* is the block data have read from sd(real data) */
78 typedef INT32 (*BcacheReadFun)(struct Vnode *, /* private data */
83 typedef INT32 (*BcacheWriteFun)(struct Vnode *, /* private data */
91 const OsBcacheBlock *); /* block data */
94 VOID *priv; /* private data */
127 * The BlockCacheRead() function shall read data from the bcache, and if it doesn't hit, read the data from disk.
130 * @param buf [OUT] data buffer ptr
158 * The BlockCacheWrite() function shall write data to the bcache.
161 * @param buf [IN] data buffer ptr
187 * The BlockCacheSync() function shall write-back all dirty data in the bcache into the disk.