Home
last modified time | relevance | path

Searched refs:bcache_t (Results 1 – 4 of 4) sorted by relevance

/lk-master/lib/bcache/include/lib/
A Dbcache.h12 typedef void *bcache_t; typedef
14 bcache_t bcache_create(bdev_t *dev, size_t block_size, int block_count);
15 void bcache_destroy(bcache_t);
17 int bcache_read_block(bcache_t, void *, uint block);
20 int bcache_get_block(bcache_t, void **, uint block);
21 int bcache_put_block(bcache_t, uint block);
22 int bcache_mark_block_dirty(bcache_t priv, uint blocknum);
23 int bcache_zero_block(bcache_t priv, uint blocknum);
24 int bcache_flush(bcache_t priv);
25 void bcache_dump(bcache_t priv, const char *name);
/lk-master/lib/bcache/
A Dbcache.c48 bcache_t bcache_create(bdev_t *dev, size_t block_size, int block_count) { in bcache_create()
71 return (bcache_t)cache; in bcache_create()
90 void bcache_destroy(bcache_t _cache) { in bcache_destroy()
198 int bcache_read_block(bcache_t _cache, void *buf, uint blocknum) { in bcache_read_block()
213 int bcache_get_block(bcache_t _cache, void **ptr, uint blocknum) { in bcache_get_block()
233 int bcache_put_block(bcache_t _cache, uint blocknum) { in bcache_put_block()
249 int bcache_mark_block_dirty(bcache_t priv, uint blocknum) { in bcache_mark_block_dirty()
266 int bcache_zero_block(bcache_t priv, uint blocknum) { in bcache_zero_block()
289 int bcache_flush(bcache_t priv) { in bcache_flush()
307 void bcache_dump(bcache_t priv, const char *name) { in bcache_dump()
/lk-master/lib/fs/fat32/
A Dfat_fs.h15 bcache_t cache;
/lk-master/lib/fs/ext2/
A Dext2_priv.h21 bcache_t cache;

Completed in 4 milliseconds