Home
last modified time | relevance | path

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

/fs/bcachefs/
A Dalloc_background.h31 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 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()
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 Dlru.c138 struct bch_alloc_v4 a_convert; in bkey_lru_type_idx()
139 const struct bch_alloc_v4 *a; in bkey_lru_type_idx()
A Dbtree_gc.c833 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 Dmovinggc.c85 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 Dbuckets.c599 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 Dec.c192 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 Dbackpointers.c884 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 Dalloc_foreground.c333 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