Searched refs:bch_extent_ptr (Results 1 – 21 of 21) sorted by relevance
| /linux-6.15/fs/bcachefs/ |
| H A D | extents.h | 23 (const struct bch_extent_ptr *) (_entry), \ 24 (struct bch_extent_ptr *) (_entry)); \ 31 !type_is(_entry, struct bch_extent_ptr *) && \ 36 type_is_exact(_entry, const struct bch_extent_ptr *) ||\ 620 struct bch_extent_ptr *dest; in bch2_bkey_append_ptr() 643 void bch2_bkey_drop_ptr(struct bkey_s, struct bch_extent_ptr *); 677 struct bch_extent_ptr, u64); 679 struct bch_extent_ptr * 683 struct bkey_s, struct bch_extent_ptr *); 694 static inline bool bch2_extent_ptr_eq(struct bch_extent_ptr ptr1, in bch2_extent_ptr_eq() [all …]
|
| H A D | extents_format.h | 171 struct bch_extent_ptr { struct 248 struct bch_extent_ptr start[]; 260 struct bch_extent_ptr start[]; 275 sizeof(struct bch_extent_ptr)) / sizeof(__u64)) 287 sizeof(struct bch_extent_ptr) * BCH_REPLICAS_MAX) / sizeof(__u64))
|
| H A D | buckets.h | 94 const struct bch_extent_ptr *ptr) in PTR_BUCKET_NR() 100 const struct bch_extent_ptr *ptr) in PTR_BUCKET_POS() 106 const struct bch_extent_ptr *ptr, in PTR_BUCKET_POS_OFFSET() 113 const struct bch_extent_ptr *ptr) in PTR_GC_BUCKET() 119 const struct bch_extent_ptr *ptr) in ptr_data_type() 147 static inline int dev_ptr_stale_rcu(struct bch_dev *ca, const struct bch_extent_ptr *ptr) in dev_ptr_stale_rcu() 157 static inline int dev_ptr_stale(struct bch_dev *ca, const struct bch_extent_ptr *ptr) in dev_ptr_stale() 250 struct bkey_s_c, const struct bch_extent_ptr *,
|
| H A D | ec.h | 39 sizeof(struct bch_extent_ptr) * s->nr_blocks + in stripe_csum_offset() 118 static inline bool __bch2_ptr_matches_stripe(const struct bch_extent_ptr *stripe_ptr, in __bch2_ptr_matches_stripe() 119 const struct bch_extent_ptr *data_ptr, in __bch2_ptr_matches_stripe()
|
| H A D | ec_format.h | 40 struct bch_extent_ptr ptrs[];
|
| H A D | btree_node_scan_types.h | 20 struct bch_extent_ptr ptrs[BCH_REPLICAS_MAX];
|
| H A D | extents_types.h | 27 struct bch_extent_ptr ptr;
|
| H A D | ec_types.h | 29 struct bch_extent_ptr ptrs[BCH_BKEY_PTRS_MAX];
|
| H A D | alloc_foreground.h | 192 struct bch_extent_ptr bch2_ob_ptr(struct bch_fs *, struct open_bucket *); 212 struct bch_extent_ptr ptr = bch2_ob_ptr(c, ob); in bch2_alloc_sectors_append_ptrs_inlined()
|
| H A D | extents.c | 856 void bch2_bkey_drop_ptr_noerror(struct bkey_s k, struct bch_extent_ptr *ptr) in bch2_bkey_drop_ptr_noerror() 894 void bch2_bkey_drop_ptr(struct bkey_s k, struct bch_extent_ptr *ptr) in bch2_bkey_drop_ptr() 938 const struct bch_extent_ptr *bch2_bkey_has_device_c(struct bkey_s_c k, unsigned dev) in bch2_bkey_has_device_c() 970 struct bch_extent_ptr m, u64 offset) in bch2_bkey_matches_ptr() 1039 struct bch_extent_ptr * 1057 struct bch_extent_ptr *ptr) in want_cached_ptr() 1072 struct bch_extent_ptr *ptr) in bch2_extent_ptr_set_cached() 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() 1305 const struct bch_extent_ptr *ptr, in extent_ptr_validate()
|
| H A D | ec.c | 169 const struct bch_extent_ptr *ptr = sp->ptrs + i; in bch2_stripe_to_text() 194 const struct bch_extent_ptr *ptr = s.v->ptrs + ptr_idx; in __mark_stripe_bucket() 290 const struct bch_extent_ptr *ptr = s.v->ptrs + ptr_idx; in mark_stripe_bucket() 422 new_s->nr_blocks * sizeof(struct bch_extent_ptr))) in bch2_trigger_stripe() 491 static const struct bch_extent_ptr *bkey_matches_stripe(struct bch_stripe *s, in bkey_matches_stripe() 699 struct bch_extent_ptr *ptr = &v->ptrs[ec_bio->idx]; in ec_block_endio() 733 struct bch_extent_ptr *ptr = &v->ptrs[idx]; in ec_block_io() 1103 const struct bch_extent_ptr *ptr_c; in ec_stripe_update_extent() 1104 struct bch_extent_ptr *ec_ptr = NULL; in ec_stripe_update_extent() 1186 struct bch_extent_ptr ptr = v->ptrs[block]; in ec_stripe_update_bucket()
|
| H A D | backpointers.h | 133 const struct bch_extent_ptr *ptr = &entry->ptr; in bch2_bkey_ptr_data_type()
|
| H A D | data_update.c | 145 struct bch_extent_ptr *ptr; in trace_io_move_fail2() 210 struct bch_extent_ptr *ptr; in __bch2_data_update_index_update() 211 const struct bch_extent_ptr *ptr_c; in __bch2_data_update_index_update()
|
| H A D | btree_node_scan.c | 65 memcpy(bp->v.start, f->ptrs, sizeof(struct bch_extent_ptr) * f->nr_ptrs); in found_btree_node_to_key()
|
| H A D | alloc_foreground.c | 1477 struct bch_extent_ptr bch2_ob_ptr(struct bch_fs *c, struct open_bucket *ob) in bch2_ob_ptr() 1481 return (struct bch_extent_ptr) { in bch2_ob_ptr()
|
| H A D | replicas.c | 164 const struct bch_extent_ptr *ptr; in stripe_to_replicas()
|
| H A D | bcachefs_format.h | 1477 struct bch_extent_ptr _ptr; /* not used anymore */
|
| H A D | buckets.c | 423 const struct bch_extent_ptr *ptr, in bch2_bucket_ref_update()
|
| H A D | io_read.c | 895 struct bch_extent_ptr ptr) in read_from_stale_dirty_pointer()
|
| H A D | journal_io.c | 1522 (struct bch_extent_ptr) { in __journal_write_alloc()
|
| H A D | fs.c | 1375 struct bch_extent_ptr ptr = {}; in bch2_next_fiemap_pagecache_extent()
|