Searched defs:nr_replicas (Results 1 - 9 of 9) sorted by relevance

/linux-master/fs/bcachefs/
H A Dio_write_types.h51 unsigned nr_replicas:4; member in struct:bch_write_op
H A Dbuckets_types.h82 unsigned nr_replicas; member in struct:disk_reservation
H A Dfs-io-pagecache.h54 u8 nr_replicas:4, member in struct:bch_folio_sector
H A Dextents_format.h286 __u8 nr_replicas; member in struct:bch_reservation
H A Dfs-io-direct.c237 bch2_check_range_allocated(struct bch_fs *c, subvol_inum inum, u64 offset, u64 size, unsigned nr_replicas, bool compressed) argument
H A Dfs-io-pagecache.c385 unsigned nr_replicas = inode_nr_replicas(c, inode); local
372 sectors_to_reserve(struct bch_folio_sector *s, unsigned nr_replicas) argument
[all...]
H A Dfs-io-buffered.c475 bch2_writepage_io_alloc(struct bch_fs *c, struct writeback_control *wbc, struct bch_writepage_state *w, struct bch_inode_info *inode, u64 sector, unsigned nr_replicas) argument
[all...]
H A Dalloc_foreground.c672 add_new_bucket(struct bch_fs *c, struct open_buckets *ptrs, struct bch_devs_mask *devs_may_alloc, unsigned nr_replicas, unsigned *nr_effective, bool *have_cache, unsigned flags, struct open_bucket *ob) argument
699 bch2_bucket_alloc_set_trans(struct btree_trans *trans, struct open_buckets *ptrs, struct dev_stripe_state *stripe, struct bch_devs_mask *devs_may_alloc, unsigned nr_replicas, unsigned *nr_effective, bool *have_cache, unsigned flags, enum bch_data_type data_type, enum bch_watermark watermark, struct closure *cl) argument
774 bucket_alloc_from_stripe(struct btree_trans *trans, struct open_buckets *ptrs, struct write_point *wp, struct bch_devs_mask *devs_may_alloc, u16 target, unsigned nr_replicas, unsigned *nr_effective, bool *have_cache, enum bch_watermark watermark, unsigned flags, struct closure *cl) argument
857 bucket_alloc_set_writepoint(struct bch_fs *c, struct open_buckets *ptrs, struct write_point *wp, struct bch_devs_mask *devs_may_alloc, unsigned nr_replicas, unsigned *nr_effective, bool *have_cache, bool ec, unsigned flags) argument
885 bucket_alloc_set_partial(struct bch_fs *c, struct open_buckets *ptrs, struct write_point *wp, struct bch_devs_mask *devs_may_alloc, unsigned nr_replicas, unsigned *nr_effective, bool *have_cache, bool ec, enum bch_watermark watermark, unsigned flags) argument
935 __open_bucket_add_buckets(struct btree_trans *trans, struct open_buckets *ptrs, struct write_point *wp, struct bch_devs_list *devs_have, u16 target, bool erasure_code, unsigned nr_replicas, unsigned *nr_effective, bool *have_cache, enum bch_watermark watermark, unsigned flags, struct closure *_cl) argument
1006 open_bucket_add_buckets(struct btree_trans *trans, struct open_buckets *ptrs, struct write_point *wp, struct bch_devs_list *devs_have, u16 target, unsigned erasure_code, unsigned nr_replicas, unsigned *nr_effective, bool *have_cache, enum bch_watermark watermark, unsigned flags, struct closure *cl) argument
1310 bch2_alloc_sectors_start_trans(struct btree_trans *trans, unsigned target, unsigned erasure_code, struct write_point_specifier write_point, struct bch_devs_list *devs_have, unsigned nr_replicas, unsigned nr_replicas_required, enum bch_watermark watermark, unsigned flags, struct closure *cl, struct write_point **wp_ret) argument
[all...]
H A Dbuckets.c124 unsigned nr_replicas = READ_ONCE(c->replicas.nr); local

Completed in 294 milliseconds