Lines Matching refs:blksz
20 unsigned long blksz; member
33 unsigned long blksz) in cache_find() argument
40 (node->blksz == blksz) && in cache_find()
55 unsigned long blksz, void *buffer) in blkcache_read() argument
58 blkcnt, blksz); in blkcache_read()
60 const char *src = node->cache + (start - node->start) * blksz; in blkcache_read()
61 memcpy(buffer, src, blksz * blkcnt); in blkcache_read()
76 unsigned long blksz, void const *buffer) in blkcache_fill() argument
88 bytes = blksz * blkcnt; in blkcache_fill()
96 if (node->blkcnt * node->blksz < bytes) { in blkcache_fill()
122 node->blksz = blksz; in blkcache_fill()