Home
last modified time | relevance | path

Searched refs:bch_alloc_v4 (Results 1 – 10 of 10) sorted by relevance

/linux/fs/bcachefs/
A Dalloc_background.h35 static inline u8 alloc_gc_gen(struct bch_alloc_v4 a) in alloc_gc_gen()
62 struct bch_alloc_v4 ret = {}; in bucket_m_to_alloc()
93 static inline s64 bch2_bucket_sectors_total(struct bch_alloc_v4 a) in bch2_bucket_sectors_total()
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()
151 static inline u64 alloc_lru_idx_read(struct bch_alloc_v4 a) in alloc_lru_idx_read()
188 static inline u64 alloc_freespace_genbits(struct bch_alloc_v4 a) in alloc_freespace_genbits()
227 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()
229 const struct bch_alloc_v4 *ret; in bch2_alloc_to_v4()
305 const struct bch_alloc_v4 *,
[all …]
A Dalloc_background_format.h59 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 Dalloc_background.c244 struct bch_alloc_v4 a; in bch2_alloc_v4_validate()
347 struct bch_alloc_v4 _a; in bch2_alloc_to_text()
394 *out = (struct bch_alloc_v4) { in __bch2_alloc_to_v4()
560 struct bch_alloc_v4 a; in bch2_bucket_gens_init()
652 struct bch_alloc_v4 a; in bch2_alloc_read()
845 struct bch_alloc_v4 *new_a; in bch2_trigger_alloc()
1130 struct bch_alloc_v4 a_convert; in bch2_check_alloc_key()
1131 const struct bch_alloc_v4 *a; in bch2_check_alloc_key()
1377 struct bch_alloc_v4 a_convert; in bch2_check_discard_freespace_key()
1378 const struct bch_alloc_v4 *a; in bch2_check_discard_freespace_key()
[all …]
A Dlru.c127 struct bch_alloc_v4 a_convert; in bch2_check_lru_key()
128 const struct bch_alloc_v4 *a; in bch2_check_lru_key()
A Dbtree_gc.c775 static inline bool bch2_alloc_v4_cmp(struct bch_alloc_v4 l, in bch2_alloc_v4_cmp()
776 struct bch_alloc_v4 r) in bch2_alloc_v4_cmp()
795 struct bch_alloc_v4 old_gc, gc, old_convert, new; in bch2_alloc_write_key()
796 const struct bch_alloc_v4 *old; in bch2_alloc_write_key()
1213 struct bch_alloc_v4 a_convert; in bch2_alloc_write_oldest_gen()
1214 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k, &a_convert); in bch2_alloc_write_oldest_gen()
A Dmovinggc.c79 struct bch_alloc_v4 _a; in bch2_bucket_is_movable()
80 const struct bch_alloc_v4 *a; in bch2_bucket_is_movable()
A Dbuckets.c546 struct bch_alloc_v4 *a) in __mark_pointer()
612 struct bch_alloc_v4 old = bucket_m_to_alloc(*g), new = old; in bch2_trigger_pointer()
1000 struct bch_alloc_v4 old = bucket_m_to_alloc(*g); in bch2_mark_metadata_bucket()
1018 struct bch_alloc_v4 new = bucket_m_to_alloc(*g); in bch2_mark_metadata_bucket()
A Dalloc_foreground.c212 const struct bch_alloc_v4 *a, in __try_alloc_bucket()
288 struct bch_alloc_v4 a_convert; in try_alloc_bucket()
289 const struct bch_alloc_v4 *a; in try_alloc_bucket()
438 struct bch_alloc_v4 a_convert; in bch2_bucket_alloc_early()
439 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k, &a_convert); in bch2_bucket_alloc_early()
A Dmove.c660 struct bch_alloc_v4 a_convert; in bch2_evacuate_bucket()
661 const struct bch_alloc_v4 *a; in bch2_evacuate_bucket()
A Dec.c187 struct bch_alloc_v4 *a, in __mark_stripe_bucket()
317 struct bch_alloc_v4 old = bucket_m_to_alloc(*g), new = old; in mark_stripe_bucket()
2245 struct bch_alloc_v4 a_convert; in bch2_invalidate_stripe_to_dev()
2246 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k_a, &a_convert); in bch2_invalidate_stripe_to_dev()

Completed in 26 milliseconds