Lines Matching refs:bch_alloc_v4

244 	struct bch_alloc_v4 a;  in bch2_alloc_v4_validate()
272 offsetof(struct bch_alloc_v4, stripe_sectors) in bch2_alloc_v4_validate()
324 struct bch_alloc_v4 *a = bkey_s_to_alloc_v4(k).v; in bch2_alloc_v4_swab()
347 struct bch_alloc_v4 _a; in bch2_alloc_to_text()
348 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k, &_a); in bch2_alloc_to_text()
376 void __bch2_alloc_to_v4(struct bkey_s_c k, struct bch_alloc_v4 *out) in __bch2_alloc_to_v4()
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()
670 const struct bch_alloc_v4 *a, in bch2_bucket_do_index()
791 const struct bch_alloc_v4 *old, in bch2_alloc_key_to_dev_counters()
792 const struct bch_alloc_v4 *new, in bch2_alloc_key_to_dev_counters()
842 struct bch_alloc_v4 old_a_convert; in bch2_trigger_alloc()
843 const struct bch_alloc_v4 *old_a = bch2_alloc_to_v4(old, &old_a_convert); in bch2_trigger_alloc()
845 struct bch_alloc_v4 *new_a; in bch2_trigger_alloc()
938 struct bch_alloc_v4 *v = bkey_s_to_alloc_v4(new).v; in bch2_trigger_alloc()
975 #define eval_state(_a, expr) ({ const struct bch_alloc_v4 *a = _a; expr; }) 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()
1633 struct bch_alloc_v4 a_convert; in bch2_check_alloc_to_lru_ref()
1634 const struct bch_alloc_v4 *a; in bch2_check_alloc_to_lru_ref()
2231 struct bch_alloc_v4 a_convert; in bch2_dev_freespace_init()
2232 const struct bch_alloc_v4 *a = bch2_alloc_to_v4(k, &a_convert); in bch2_dev_freespace_init()