Lines Matching defs:c
264 struct cache_set *c; member
700 #define btree_bytes(c) ((c)->btree_pages * PAGE_SIZE) argument
704 #define btree_default_blocks(c) \ argument
707 #define bucket_pages(c) ((c)->sb.bucket_size / PAGE_SECTORS) argument
708 #define bucket_bytes(c) ((c)->sb.bucket_size << 9) argument
709 #define block_bytes(c) ((c)->sb.block_size << 9) argument
711 #define prios_per_bucket(c) \ argument
714 #define prio_buckets(c) \ argument
717 static inline size_t sector_to_bucket(struct cache_set *c, sector_t s) in sector_to_bucket()
722 static inline sector_t bucket_to_sector(struct cache_set *c, size_t b) in bucket_to_sector()
727 static inline sector_t bucket_remainder(struct cache_set *c, sector_t s) in bucket_remainder()
732 static inline struct cache *PTR_CACHE(struct cache_set *c, in PTR_CACHE()
739 static inline size_t PTR_BUCKET_NR(struct cache_set *c, in PTR_BUCKET_NR()
746 static inline struct bucket *PTR_BUCKET(struct cache_set *c, in PTR_BUCKET()
759 static inline uint8_t ptr_stale(struct cache_set *c, const struct bkey *k, in ptr_stale()
765 static inline bool ptr_available(struct cache_set *c, const struct bkey *k, in ptr_available()
790 #define cache_bug(c, ...) \ argument
802 #define cache_bug_on(cond, c, ...) \ argument
808 #define cache_set_err_on(cond, c, ...) \ argument
858 static inline void wake_up_allocators(struct cache_set *c) in wake_up_allocators()