Searched refs:bch_alloc_v4 (Results 1 – 10 of 10) sorted by relevance
| /fs/bcachefs/ |
| A D | alloc_background.h | 31 static inline u8 alloc_gc_gen(struct bch_alloc_v4 a) in alloc_gc_gen() 58 struct bch_alloc_v4 ret = {}; in bucket_m_to_alloc() 89 static inline s64 bch2_bucket_sectors_total(struct bch_alloc_v4 a) in bch2_bucket_sectors_total() 99 static inline s64 bch2_bucket_sectors(struct bch_alloc_v4 a) in bch2_bucket_sectors() 107 struct bch_alloc_v4 a) in bch2_bucket_sectors_fragmented() 147 static inline u64 alloc_lru_idx_read(struct bch_alloc_v4 a) in alloc_lru_idx_read() 184 static inline u64 alloc_freespace_genbits(struct bch_alloc_v4 a) in alloc_freespace_genbits() 223 static inline const struct bch_alloc_v4 *bch2_alloc_to_v4(struct bkey_s_c k, struct bch_alloc_v4 *c… in bch2_alloc_to_v4() 225 const struct bch_alloc_v4 *ret; in bch2_alloc_to_v4() 306 const struct bch_alloc_v4 *, [all …]
|
| A D | alloc_background_format.h | 59 struct bch_alloc_v4 { struct 79 #define BCH_ALLOC_V4_U64s (sizeof(struct bch_alloc_v4) / sizeof(__u64)) argument 81 BITMASK(BCH_ALLOC_V4_NEED_DISCARD, struct bch_alloc_v4, flags, 0, 1) 82 BITMASK(BCH_ALLOC_V4_NEED_INC_GEN, struct bch_alloc_v4, flags, 1, 2) 83 BITMASK(BCH_ALLOC_V4_BACKPOINTERS_START,struct bch_alloc_v4, flags, 2, 8) 84 BITMASK(BCH_ALLOC_V4_NR_BACKPOINTERS, struct bch_alloc_v4, flags, 8, 14)
|
| A D | alloc_background.c | 244 struct bch_alloc_v4 a; in bch2_alloc_v4_validate() 372 struct bch_alloc_v4 _a; in bch2_alloc_to_text() 401 *out = (struct bch_alloc_v4) { in __bch2_alloc_to_v4() 582 struct bch_alloc_v4 a; in bch2_bucket_gens_init() 676 struct bch_alloc_v4 a; in bch2_alloc_read() 873 struct bch_alloc_v4 *new_a; in bch2_trigger_alloc() 1163 struct bch_alloc_v4 a_convert; in bch2_check_alloc_key() 1164 const struct bch_alloc_v4 *a; in bch2_check_alloc_key() 1434 struct bch_alloc_v4 a_convert; in bch2_check_discard_freespace_key() 1703 struct bch_alloc_v4 a_convert; in bch2_check_alloc_to_lru_ref() [all …]
|
| A D | lru.c | 138 struct bch_alloc_v4 a_convert; in bkey_lru_type_idx() 139 const struct bch_alloc_v4 *a; in bkey_lru_type_idx()
|
| A D | btree_gc.c | 833 static inline bool bch2_alloc_v4_cmp(struct bch_alloc_v4 l, in bch2_alloc_v4_cmp() 834 struct bch_alloc_v4 r) in bch2_alloc_v4_cmp() 853 struct bch_alloc_v4 old_gc, gc, old_convert, new; in bch2_alloc_write_key() 854 const struct bch_alloc_v4 *old; in bch2_alloc_write_key() 1175 struct bch_alloc_v4 a_convert; in bch2_alloc_write_oldest_gen() 1176 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k, &a_convert); in bch2_alloc_write_oldest_gen()
|
| A D | movinggc.c | 85 struct bch_alloc_v4 _a; in bch2_bucket_is_movable() 86 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k, &_a); in bch2_bucket_is_movable()
|
| A D | buckets.c | 599 struct bch_alloc_v4 *a, in __mark_pointer() 670 struct bch_alloc_v4 old = bucket_m_to_alloc(*g), new = old; in bch2_trigger_pointer() 1045 struct bch_alloc_v4 old = bucket_m_to_alloc(*g); in bch2_mark_metadata_bucket() 1063 struct bch_alloc_v4 new = bucket_m_to_alloc(*g); in bch2_mark_metadata_bucket()
|
| A D | ec.c | 192 struct bch_alloc_v4 *a, in __mark_stripe_bucket() 333 struct bch_alloc_v4 old = bucket_m_to_alloc(*g), new = old; in mark_stripe_bucket() 2175 struct bch_alloc_v4 a_convert; in bch2_invalidate_stripe_to_dev_from_alloc() 2176 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k_a, &a_convert); in bch2_invalidate_stripe_to_dev_from_alloc()
|
| A D | backpointers.c | 884 struct bch_alloc_v4 a_convert; in check_bucket_backpointer_mismatch() 885 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(alloc_k, &a_convert); in check_bucket_backpointer_mismatch()
|
| A D | alloc_foreground.c | 333 struct bch_alloc_v4 a_convert; in bch2_bucket_alloc_early() 334 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k, &a_convert); in bch2_bucket_alloc_early()
|
Completed in 33 milliseconds