Home
last modified time | relevance | path

Searched refs:bch_extent_ptr (Results 1 – 21 of 21) sorted by relevance

/fs/bcachefs/
A Dextents.h23 (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 *) ||\
623 struct bch_extent_ptr *dest; in bch2_bkey_append_ptr()
646 void bch2_bkey_drop_ptr(struct bkey_s, struct bch_extent_ptr *);
680 struct bch_extent_ptr, u64);
682 struct bch_extent_ptr *
686 struct bkey_s, struct bch_extent_ptr *);
697 static inline bool bch2_extent_ptr_eq(struct bch_extent_ptr ptr1, in bch2_extent_ptr_eq()
[all …]
A Dbuckets.h92 const struct bch_extent_ptr *ptr) in PTR_BUCKET_NR()
98 const struct bch_extent_ptr *ptr) in PTR_BUCKET_POS()
104 const struct bch_extent_ptr *ptr, in PTR_BUCKET_POS_OFFSET()
111 const struct bch_extent_ptr *ptr) in PTR_GC_BUCKET()
117 const struct bch_extent_ptr *ptr) in ptr_data_type()
145 static inline int dev_ptr_stale_rcu(struct bch_dev *ca, const struct bch_extent_ptr *ptr) in dev_ptr_stale_rcu()
155 static inline int dev_ptr_stale(struct bch_dev *ca, const struct bch_extent_ptr *ptr) in dev_ptr_stale()
246 struct bkey_s_c, const struct bch_extent_ptr *,
A Dextents_format.h171 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))
A Dec.h39 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()
A Dalloc_foreground.h239 static inline struct bch_extent_ptr bch2_ob_ptr(struct bch_fs *c, struct open_bucket *ob) in bch2_ob_ptr()
243 return (struct bch_extent_ptr) { in bch2_ob_ptr()
271 struct bch_extent_ptr ptr = bch2_ob_ptr(c, ob); in bch2_alloc_sectors_append_ptrs_inlined()
A Dec_format.h40 struct bch_extent_ptr ptrs[];
A Dbtree_node_scan_types.h20 struct bch_extent_ptr ptrs[BCH_REPLICAS_MAX];
A Dextents_types.h27 struct bch_extent_ptr ptr;
A Dextents.c917 void bch2_bkey_drop_ptr_noerror(struct bkey_s k, struct bch_extent_ptr *ptr) in bch2_bkey_drop_ptr_noerror()
955 void bch2_bkey_drop_ptr(struct bkey_s k, struct bch_extent_ptr *ptr) in bch2_bkey_drop_ptr()
999 const struct bch_extent_ptr *bch2_bkey_has_device_c(struct bkey_s_c k, unsigned dev) in bch2_bkey_has_device_c()
1027 struct bch_extent_ptr m, u64 offset) in bch2_bkey_matches_ptr()
1096 struct bch_extent_ptr *
1114 struct bch_extent_ptr *ptr) in want_cached_ptr()
1129 struct bch_extent_ptr *ptr) in bch2_extent_ptr_set_cached()
1226 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()
1374 const struct bch_extent_ptr *ptr, in extent_ptr_validate()
A Dec_types.h30 struct bch_extent_ptr ptrs[BCH_BKEY_PTRS_MAX];
A Dec.c170 const struct bch_extent_ptr *ptr = sp->ptrs + i; in bch2_stripe_to_text()
195 const struct bch_extent_ptr *ptr = s.v->ptrs + ptr_idx; in __mark_stripe_bucket()
291 const struct bch_extent_ptr *ptr = s.v->ptrs + ptr_idx; in mark_stripe_bucket()
423 new_s->nr_blocks * sizeof(struct bch_extent_ptr))) in bch2_trigger_stripe()
492 static const struct bch_extent_ptr *bkey_matches_stripe(struct bch_stripe *s, in bkey_matches_stripe()
701 struct bch_extent_ptr *ptr = &v->ptrs[ec_bio->idx]; in ec_block_endio()
738 struct bch_extent_ptr *ptr = &v->ptrs[idx]; in ec_block_io()
1111 const struct bch_extent_ptr *ptr_c; in ec_stripe_update_extent()
1112 struct bch_extent_ptr *ec_ptr = NULL; in ec_stripe_update_extent()
1194 struct bch_extent_ptr ptr = v->ptrs[block]; in ec_stripe_update_bucket()
A Ddata_update.c71 const struct bch_extent_ptr *start) in __bkey_nocow_lock()
156 struct bch_extent_ptr *ptr; in trace_io_move_fail2()
282 struct bch_extent_ptr *ptr; in __bch2_data_update_index_update()
283 const struct bch_extent_ptr *ptr_c; in __bch2_data_update_index_update()
A Dbackpointers.h132 const struct bch_extent_ptr *ptr = &entry->ptr; in bch2_bkey_ptr_data_type()
A Dbtree_node_scan.c65 memcpy(bp->v.start, f->ptrs, sizeof(struct bch_extent_ptr) * f->nr_ptrs); in found_btree_node_to_key()
A Dreplicas.c164 const struct bch_extent_ptr *ptr; in stripe_to_replicas()
A Dbcachefs_format.h1499 struct bch_extent_ptr _ptr; /* not used anymore */
A Dbuckets.c456 const struct bch_extent_ptr *ptr, in bch2_bucket_ref_update()
A Dio_read.c976 struct bch_extent_ptr ptr) in read_from_stale_dirty_pointer()
A Dio_write.c477 const struct bch_extent_ptr *last = NULL; in bch2_submit_wbio_replicas()
A Djournal_io.c1594 (struct bch_extent_ptr) { in __journal_write_alloc()
A Dfs.c1371 struct bch_extent_ptr ptr = {}; in bch2_next_fiemap_pagecache_extent()

Completed in 47 milliseconds