Lines Matching defs:c
251 struct cache_set *c; member
683 #define btree_bytes(c) ((c)->btree_pages * PAGE_SIZE) argument
687 #define btree_default_blocks(c) \ argument
690 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS) argument
691 #define bucket_bytes(c) ((c)->sb.bucket_size << 9) argument
692 #define block_bytes(c) ((c)->sb.block_size << 9) argument
694 #define prios_per_bucket(c) \ argument
697 #define prio_buckets(c) \ argument
700 static inline size_t sector_to_bucket(struct cache_set *c, sector_t s) in sector_to_bucket()
705 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector()
710 static inline sector_t bucket_remainder(struct cache_set *c, sector_t s) in bucket_remainder()
715 static inline struct cache *PTR_CACHE(struct cache_set *c, in PTR_CACHE()
722 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR()
729 static inline struct bucket *PTR_BUCKET(struct cache_set *c, in PTR_BUCKET()
742 static inline uint8_t ptr_stale(struct cache_set *c, const struct bkey *k, in ptr_stale()
748 static inline bool ptr_available(struct cache_set *c, const struct bkey *k, in ptr_available()
773 #define cache_bug(c, ...) \ argument
785 #define cache_bug_on(cond, c, ...) \ argument
791 #define cache_set_err_on(cond, c, ...) \ argument
841 static inline void wake_up_allocators(struct cache_set *c) in wake_up_allocators()