Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/md/
Ddm-bufio.c389 struct dm_buffer_cache { struct
404 static inline void cache_read_lock(struct dm_buffer_cache *bc, sector_t block) in cache_read_lock() argument
409 static inline void cache_read_unlock(struct dm_buffer_cache *bc, sector_t block) in cache_read_unlock()
414 static inline void cache_write_lock(struct dm_buffer_cache *bc, sector_t block) in cache_write_lock()
419 static inline void cache_write_unlock(struct dm_buffer_cache *bc, sector_t block) in cache_write_unlock()
429 struct dm_buffer_cache *cache;
435 static void lh_init(struct lock_history *lh, struct dm_buffer_cache *cache, bool write) in lh_init()
505 static void cache_init(struct dm_buffer_cache *bc, unsigned int num_locks) in cache_init()
520 static void cache_destroy(struct dm_buffer_cache *bc) in cache_destroy()
536 static inline unsigned long cache_count(struct dm_buffer_cache *bc, int list_mode) in cache_count()
[all …]