Lines Matching defs:c
254 struct cache_set *c; member
751 #define btree_bytes(c) ((c)->btree_pages * PAGE_SIZE) argument
755 #define btree_default_blocks(c) \ argument
788 static inline size_t sector_to_bucket(struct cache_set *c, sector_t s) in sector_to_bucket()
793 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector()
798 static inline sector_t bucket_remainder(struct cache_set *c, sector_t s) in bucket_remainder()
803 static inline struct cache *PTR_CACHE(struct cache_set *c, in PTR_CACHE()
810 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR()
817 static inline struct bucket *PTR_BUCKET(struct cache_set *c, in PTR_BUCKET()
831 static inline uint8_t ptr_stale(struct cache_set *c, const struct bkey *k, in ptr_stale()
837 static inline bool ptr_available(struct cache_set *c, const struct bkey *k, in ptr_available()
862 #define cache_bug(c, ...) \ argument
874 #define cache_bug_on(cond, c, ...) \ argument
880 #define cache_set_err_on(cond, c, ...) \ argument
927 static inline void wake_up_allocators(struct cache_set *c) in wake_up_allocators()
934 static inline void closure_bio_submit(struct cache_set *c, in closure_bio_submit()