Symbol: bc
drivers/md/dm-bufio.c
405
static inline struct buffer_tree *cache_get_tree(struct dm_buffer_cache *bc,
drivers/md/dm-bufio.c
412
static inline void cache_read_lock(struct dm_buffer_cache *bc,
drivers/md/dm-bufio.c
422
static inline void cache_read_unlock(struct dm_buffer_cache *bc,
drivers/md/dm-bufio.c
432
static inline void cache_write_lock(struct dm_buffer_cache *bc,
drivers/md/dm-bufio.c
442
static inline void cache_write_unlock(struct dm_buffer_cache *bc,
drivers/md/dm-bufio.c
543
static void cache_init(struct dm_buffer_cache *bc, unsigned int num_locks, bool no_sleep)
drivers/md/dm-bufio.c
669
static struct dm_buffer *__cache_evict(struct dm_buffer_cache *bc, int list_mode,
drivers/md/dm-bufio.c
688
static struct dm_buffer *cache_evict(struct dm_buffer_cache *bc, int list_mode,
drivers/md/dm-bufio.c
694
lh_init(&lh, bc, true);
drivers/md/dm-bufio.c
695
b = __cache_evict(bc, list_mode, pred, context, &lh);
drivers/md/dm-bufio.c
706
static void cache_mark(struct dm_buffer_cache *bc, struct buffer_tree *tree,
drivers/md/dm-bufio.c
710
cache_write_lock(bc, tree);
drivers/md/dm-bufio.c
716
cache_write_unlock(bc, tree);
drivers/md/dm-bufio.c
725
static void __cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode,
drivers/md/dm-bufio.c
743
static void cache_mark_many(struct dm_buffer_cache *bc, int old_mode, int new_mode,
drivers/md/dm-bufio.c
748
lh_init(&lh, bc, true);
drivers/md/dm-bufio.c
749
__cache_mark_many(bc, old_mode, new_mode, pred, context, &lh);
drivers/md/dm-bufio.c
771
static void __cache_iterate(struct dm_buffer_cache *bc, int list_mode,
drivers/md/dm-bufio.c
799
static void cache_iterate(struct dm_buffer_cache *bc, int list_mode,
drivers/md/dm-bufio.c
804
lh_init(&lh, bc, false);
drivers/md/dm-bufio.c
805
__cache_iterate(bc, list_mode, fn, context, &lh);
drivers/md/dm-bufio.c
842
static bool cache_insert(struct dm_buffer_cache *bc, struct buffer_tree *tree,
drivers/md/dm-bufio.c
851
cache_write_lock(bc, tree);
drivers/md/dm-bufio.c
856
cache_write_unlock(bc, tree);
drivers/md/dm-bufio.c
869
static bool cache_remove(struct dm_buffer_cache *bc, struct buffer_tree *tree,
drivers/md/dm-bufio.c
875
cache_write_lock(bc, tree);
drivers/md/dm-bufio.c
885
cache_write_unlock(bc, tree);
drivers/md/dm-bufio.c
917
static void __remove_range(struct dm_buffer_cache *bc,
drivers/md/dm-bufio.c
944
static void cache_remove_range(struct dm_buffer_cache *bc,