Lines Matching refs:cache

36 extern int32 cache_start_transaction(void *cache);
37 extern status_t cache_sync_transaction(void *cache, int32 id);
38 extern status_t cache_end_transaction(void *cache, int32 id,
40 extern status_t cache_abort_transaction(void *cache, int32 id);
41 extern int32 cache_detach_sub_transaction(void *cache, int32 id,
43 extern status_t cache_abort_sub_transaction(void *cache, int32 id);
44 extern status_t cache_start_sub_transaction(void *cache, int32 id);
45 extern status_t cache_add_transaction_listener(void *cache, int32 id,
48 extern status_t cache_remove_transaction_listener(void *cache, int32 id,
50 extern status_t cache_next_block_in_transaction(void *cache, int32 id,
53 extern int32 cache_blocks_in_transaction(void *cache, int32 id);
54 extern int32 cache_blocks_in_main_transaction(void *cache, int32 id);
55 extern int32 cache_blocks_in_sub_transaction(void *cache, int32 id);
56 extern bool cache_has_block_in_transaction(void* cache, int32 id, off_t blockNumber);
58 /* block cache */
59 extern void block_cache_delete(void *cache, bool allowWrites);
62 extern status_t block_cache_sync(void *cache);
63 extern status_t block_cache_sync_etc(void *cache, off_t blockNumber,
65 extern void block_cache_discard(void *cache, off_t blockNumber,
67 extern status_t block_cache_make_writable(void *cache, off_t blockNumber,
69 extern status_t block_cache_get_writable_etc(void *cache, off_t blockNumber,
71 extern void *block_cache_get_writable(void *cache, off_t blockNumber,
73 extern void *block_cache_get_empty(void *cache, off_t blockNumber,
75 extern status_t block_cache_get_etc(void *cache, off_t blockNumber,
77 extern const void *block_cache_get(void *cache, off_t blockNumber);
78 extern status_t block_cache_set_dirty(void *cache, off_t blockNumber,
80 extern void block_cache_put(void *cache, off_t blockNumber);
82 /* file cache */
89 extern status_t file_cache_sync(void *cache);
105 /* entry cache */