Lines Matching defs:a
35 static inline u8 alloc_gc_gen(struct bch_alloc_v4 a) in alloc_gc_gen()
93 static inline s64 bch2_bucket_sectors_total(struct bch_alloc_v4 a) in bch2_bucket_sectors_total()
98 static inline s64 bch2_bucket_sectors_dirty(struct bch_alloc_v4 a) in bch2_bucket_sectors_dirty()
103 static inline s64 bch2_bucket_sectors(struct bch_alloc_v4 a) in bch2_bucket_sectors()
111 struct bch_alloc_v4 a) in bch2_bucket_sectors_fragmented()
118 static inline s64 bch2_gc_bucket_sectors_fragmented(struct bch_dev *ca, struct bucket a) in bch2_gc_bucket_sectors_fragmented()
125 static inline s64 bch2_bucket_sectors_unstriped(struct bch_alloc_v4 a) in bch2_bucket_sectors_unstriped()
130 static inline enum bch_data_type alloc_data_type(struct bch_alloc_v4 a, in alloc_data_type()
146 static inline void alloc_data_type_set(struct bch_alloc_v4 *a, enum bch_data_type data_type) in alloc_data_type_set()
151 static inline u64 alloc_lru_idx_read(struct bch_alloc_v4 a) in alloc_lru_idx_read()
168 static inline u64 alloc_lru_idx_fragmentation(struct bch_alloc_v4 a, in alloc_lru_idx_fragmentation()
188 static inline u64 alloc_freespace_genbits(struct bch_alloc_v4 a) in alloc_freespace_genbits()
193 static inline struct bpos alloc_freespace_pos(struct bpos pos, struct bch_alloc_v4 a) in alloc_freespace_pos()
199 static inline unsigned alloc_v4_u64s_noerror(const struct bch_alloc_v4 *a) in alloc_v4_u64s_noerror()
207 static inline unsigned alloc_v4_u64s(const struct bch_alloc_v4 *a) in alloc_v4_u64s()
214 static inline void set_alloc_v4_u64s(struct bkey_i_alloc_v4 *a) in set_alloc_v4_u64s()
330 static inline struct bch_backpointer *alloc_v4_backpointers(struct bch_alloc_v4 *a) in alloc_v4_backpointers()
337 static inline const struct bch_backpointer *alloc_v4_backpointers_c(const struct bch_alloc_v4 *a) in alloc_v4_backpointers_c()