| /linux/drivers/md/bcache/ |
| H A D | btree.h | 126 struct cache_set *c; 195 static inline void set_gc_sectors(struct cache_set *c) in set_gc_sectors() 200 void bkey_put(struct cache_set *c, struct bkey *k); 231 struct cache_set *c; 268 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op, 271 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op, 277 int bch_btree_insert(struct cache_set *c, struct keylist *keys, 280 int bch_gc_thread_start(struct cache_set *c); 281 void bch_initial_gc_finish(struct cache_set *c); 282 void bch_moving_gc(struct cache_set *c); [all …]
|
| H A D | bcache.h | 255 struct cache_set *c; 421 struct cache_set *set; 516 struct cache_set { struct 805 static inline size_t sector_to_bucket(struct cache_set *c, sector_t s) in sector_to_bucket() 810 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector() 815 static inline sector_t bucket_remainder(struct cache_set *c, sector_t s) in bucket_remainder() 820 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR() 827 static inline struct bucket *PTR_BUCKET(struct cache_set *c, in PTR_BUCKET() 841 static inline uint8_t ptr_stale(struct cache_set *c, const struct bkey *k, in ptr_stale() 847 static inline bool ptr_available(struct cache_set *c, const struct bkey *k, in ptr_available() [all …]
|
| H A D | stats.h | 40 struct cache_set; 54 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d, 56 void bch_mark_cache_miss_collision(struct cache_set *c, 58 void bch_mark_sectors_bypassed(struct cache_set *c,
|
| H A D | extents.h | 9 struct cache_set; 12 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k); 13 bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
|
| H A D | debug.h | 7 struct cache_set; 30 void bch_debug_init_cache_set(struct cache_set *c); 32 static inline void bch_debug_init_cache_set(struct cache_set *c) {} in bch_debug_init_cache_set()
|
| H A D | features.c | 56 int bch_print_cache_set_feature_compat(struct cache_set *c, char *buf, int size) in bch_print_cache_set_feature_compat() 63 int bch_print_cache_set_feature_ro_compat(struct cache_set *c, char *buf, int size) in bch_print_cache_set_feature_ro_compat() 70 int bch_print_cache_set_feature_incompat(struct cache_set *c, char *buf, int size) in bch_print_cache_set_feature_incompat()
|
| H A D | super.c | 367 closure_type(c, struct cache_set, sb_write); in CLOSURE_CALLBACK() 372 void bcache_write_super(struct cache_set *c) in bcache_write_super() 402 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_endio() 411 closure_type(c, struct cache_set, uuid_write); in CLOSURE_CALLBACK() 416 static void uuid_io(struct cache_set *c, blk_opf_t opf, struct bkey *k, in uuid_io() 457 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read() 498 static int __uuid_write(struct cache_set *c) in __uuid_write() 524 int bch_uuid_write(struct cache_set *c) in bch_uuid_write() 534 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid) in uuid_find() 546 static struct uuid_entry *uuid_find_empty(struct cache_set *c) in uuid_find_empty() [all …]
|
| H A D | features.h | 109 int bch_print_cache_set_feature_compat(struct cache_set *c, char *buf, int size); 110 int bch_print_cache_set_feature_ro_compat(struct cache_set *c, char *buf, int size); 111 int bch_print_cache_set_feature_incompat(struct cache_set *c, char *buf, int size);
|
| H A D | request.h | 7 struct cache_set *c; 36 unsigned int bch_get_congested(const struct cache_set *c);
|
| H A D | stats.c | 198 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d, in bch_mark_cache_accounting() 207 void bch_mark_cache_miss_collision(struct cache_set *c, struct bcache_device *d) in bch_mark_cache_miss_collision() 215 void bch_mark_sectors_bypassed(struct cache_set *c, struct cached_dev *dc, in bch_mark_sectors_bypassed()
|
| H A D | writeback.h | 38 struct cache_set *c; 148 void bcache_dev_sectors_dirty_add(struct cache_set *c, unsigned int inode,
|
| H A D | extents.c | 47 static bool __ptr_invalid(struct cache_set *c, const struct bkey *k) in __ptr_invalid() 68 static const char *bch_ptr_status(struct cache_set *c, const struct bkey *k) in bch_ptr_status() 149 bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k) in __bch_btree_ptr_invalid() 314 struct cache_set *c, in bch_subtract_dirty() 328 struct cache_set *c = container_of(b, struct btree, keys)->c; in bch_extent_insert_fixup() 480 bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k) in __bch_extent_invalid()
|
| H A D | request.c | 91 struct cache_set *c) in bch_keylist_realloc() 324 unsigned int bch_get_congested(const struct cache_set *c) in bch_get_congested() 365 struct cache_set *c = dc->disk.c; in check_should_bypass() 1134 static void quit_max_writeback_rate(struct cache_set *c, in quit_max_writeback_rate()
|
| /linux/include/trace/events/ |
| H A D | bcache.h | 152 TP_PROTO(struct cache_set *c, u64 inode, struct bio *bio, 194 DECLARE_EVENT_CLASS(cache_set, 195 TP_PROTO(struct cache_set *c), 214 DEFINE_EVENT(cache_set, bcache_journal_full, 215 TP_PROTO(struct cache_set *c), 219 DEFINE_EVENT(cache_set, bcache_journal_entry_full, 220 TP_PROTO(struct cache_set *c), 252 DEFINE_EVENT(cache_set, bcache_btree_cache_cannibalize, 253 TP_PROTO(struct cache_set *c), 287 DEFINE_EVENT(cache_set, bcache_btree_node_alloc_fail, [all …]
|
| /linux/scripts/gendwarfksyms/ |
| H A D | gendwarfksyms.h | 214 void cache_set(struct cache *cache, unsigned long key, int value); 221 cache_set(cache, (unsigned long)addr, 1); in cache_mark_expanded()
|
| H A D | cache.c | 14 void cache_set(struct cache *cache, unsigned long key, int value) in cache_set() function
|
| H A D | dwarf.c | 142 cache_set(&srcfile_cache, filenum, res); in is_definition_private()
|