Lines Matching defs:c

95 static inline bool ptr_better(struct bch_fs *c,  in ptr_better()
128 int bch2_bkey_pick_read_device(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_pick_read_device()
239 int bch2_btree_ptr_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_btree_ptr_validate()
253 void bch2_btree_ptr_to_text(struct printbuf *out, struct bch_fs *c, in bch2_btree_ptr_to_text()
259 int bch2_btree_ptr_v2_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_btree_ptr_v2_validate()
285 void bch2_btree_ptr_v2_to_text(struct printbuf *out, struct bch_fs *c, in bch2_btree_ptr_v2_to_text()
318 bool bch2_extent_merge(struct bch_fs *c, struct bkey_s l, struct bkey_s_c r) in bch2_extent_merge()
466 int bch2_reservation_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_reservation_validate()
479 void bch2_reservation_to_text(struct printbuf *out, struct bch_fs *c, in bch2_reservation_to_text()
489 bool bch2_reservation_merge(struct bch_fs *c, struct bkey_s _l, struct bkey_s_c _r) in bch2_reservation_merge()
721 unsigned bch2_bkey_replicas(struct bch_fs *c, struct bkey_s_c k) in bch2_bkey_replicas()
752 unsigned bch2_extent_ptr_desired_durability(struct bch_fs *c, struct extent_ptr_decoded *p) in bch2_extent_ptr_desired_durability()
759 unsigned bch2_extent_ptr_durability(struct bch_fs *c, struct extent_ptr_decoded *p) in bch2_extent_ptr_durability()
769 unsigned bch2_bkey_durability(struct bch_fs *c, struct bkey_s_c k) in bch2_bkey_durability()
784 static unsigned bch2_bkey_durability_safe(struct bch_fs *c, struct bkey_s_c k) in bch2_bkey_durability_safe()
949 bool bch2_bkey_has_target(struct bch_fs *c, struct bkey_s_c k, unsigned target) in bch2_bkey_has_target()
969 bool bch2_bkey_matches_ptr(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_matches_ptr()
1056 static bool want_cached_ptr(struct bch_fs *c, struct bch_io_opts *opts, in want_cached_ptr()
1069 void bch2_extent_ptr_set_cached(struct bch_fs *c, in bch2_extent_ptr_set_cached()
1111 bool bch2_extent_normalize(struct bch_fs *c, struct bkey_s k) in bch2_extent_normalize()
1131 bool bch2_extent_normalize_by_opts(struct bch_fs *c, in bch2_extent_normalize_by_opts()
1156 void bch2_extent_ptr_to_text(struct printbuf *out, struct bch_fs *c, const struct bch_extent_ptr *p… in bch2_extent_ptr_to_text()
1199 static void bch2_extent_rebalance_to_text(struct printbuf *out, struct bch_fs *c, in bch2_extent_rebalance_to_text()
1250 void bch2_bkey_ptrs_to_text(struct printbuf *out, struct bch_fs *c, in bch2_bkey_ptrs_to_text()
1302 static int extent_ptr_validate(struct bch_fs *c, in extent_ptr_validate()
1345 int bch2_bkey_ptrs_validate(struct bch_fs *c, struct bkey_s_c k, in bch2_bkey_ptrs_validate()
1525 int bch2_bkey_extent_flags_set(struct bch_fs *c, struct bkey_i *k, u64 flags) in bch2_bkey_extent_flags_set()