/linux-master/fs/bcachefs/ |
H A D | super.c | 665 struct bch_dev *ca = rcu_dereference_protected(c->devs[i], true); local 1187 struct bch_dev *ca = container_of(kobj, struct bch_dev, kobj); local 1192 bch2_dev_free(struct bch_dev *ca) argument 1219 __bch2_dev_offline(struct bch_fs *c, struct bch_dev *ca) argument 1244 struct bch_dev *ca = container_of(ref, struct bch_dev, ref); local 1251 struct bch_dev *ca = container_of(ref, struct bch_dev, io_ref); local 1256 bch2_dev_sysfs_online(struct bch_fs *c, struct bch_dev *ca) argument 1288 struct bch_dev *ca; local 1333 bch2_dev_attach(struct bch_fs *c, struct bch_dev *ca, unsigned dev_idx) argument 1350 struct bch_dev *ca = NULL; local 1370 __bch2_dev_attach_bdev(struct bch_dev *ca, struct bch_sb_handle *sb) argument 1405 struct bch_dev *ca; local 1449 bch2_dev_state_allowed(struct bch_fs *c, struct bch_dev *ca, enum bch_member_state new_state, int flags) argument 1495 struct bch_dev *ca; local 1527 __bch2_dev_read_only(struct bch_fs *c, struct bch_dev *ca) argument 1536 __bch2_dev_read_write(struct bch_fs *c, struct bch_dev *ca) argument 1546 __bch2_dev_set_state(struct bch_fs *c, struct bch_dev *ca, enum bch_member_state new_state, int flags) argument 1577 bch2_dev_set_state(struct bch_fs *c, struct bch_dev *ca, enum bch_member_state new_state, int flags) argument 1591 bch2_dev_remove_alloc(struct bch_fs *c, struct bch_dev *ca) argument 1617 bch2_dev_remove(struct bch_fs *c, struct bch_dev *ca, int flags) argument 1725 struct bch_dev *ca = NULL; local 1864 struct bch_dev *ca; local 1925 bch2_dev_offline(struct bch_fs *c, struct bch_dev *ca, int flags) argument 1947 bch2_dev_resize(struct bch_fs *c, struct bch_dev *ca, u64 nbuckets) argument [all...] |
H A D | sb-members.c | 378 void bch2_dev_io_errors_to_text(struct printbuf *out, struct bch_dev *ca) argument 416 bch2_dev_errors_reset(struct bch_dev *ca) argument [all...] |
H A D | sb-members.h | 21 static inline bool bch2_dev_is_online(struct bch_dev *ca) argument 26 static inline bool bch2_dev_is_readable(struct bch_dev *ca) argument 32 static inline bool bch2_dev_get_ioref(struct bch_dev *ca, int rw) argument 86 struct bch_dev *ca = NULL; local 98 __bch2_next_dev(struct bch_fs *c, struct bch_dev *ca, const struct bch_devs_mask *mask) argument 108 bch2_get_next_dev(struct bch_fs *c, struct bch_dev *ca) argument 131 bch2_get_next_online_dev(struct bch_fs *c, struct bch_dev *ca, unsigned state_mask) argument 234 bch2_dev_btree_bitmap_marked_sectors(struct bch_dev *ca, u64 start, unsigned sectors) argument [all...] |
H A D | journal_io.c | 24 struct bch_dev *ca = bch_dev_bkey_exists(c, i->dev); local 114 static int journal_entry_add(struct bch_fs *c, struct bch_dev *ca, argument 863 jset_validate(struct bch_fs *c, struct bch_dev *ca, struct jset *jset, u64 sector, enum bkey_invalid_flags flags) argument 913 jset_validate_early(struct bch_fs *c, struct bch_dev *ca, struct jset *jset, u64 sector, unsigned bucket_sectors_left, unsigned sectors_read) argument 981 journal_read_bucket(struct bch_dev *ca, struct journal_read_buf *buf, struct journal_list *jlist, unsigned bucket) argument 1124 struct bch_dev *ca = container_of(ja, struct bch_dev, journal); local 1393 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 1446 struct bch_dev *ca; local 1504 struct bch_dev *ca; local 1706 struct bch_dev *ca = jbio->ca; local 1734 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local [all...] |
H A D | recovery.c | 364 struct bch_dev *ca = bch_dev_bkey_exists(c, le32_to_cpu(u->dev)); local
|
H A D | chardev.c | 29 struct bch_dev *ca; local 334 struct bch_dev *ca; local 376 struct bch_dev *ca; local 401 struct bch_dev *ca; local 587 struct bch_dev *ca; local 628 struct bch_dev *ca; local 677 struct bch_dev *ca = NULL; local 740 struct bch_dev *ca; local 763 struct bch_dev *ca; local [all...] |
H A D | btree_node_scan.c | 20 struct bch_dev *ca; member in struct:find_btree_nodes_worker 118 static void try_read_btree_node(struct find_btree_nodes *f, struct bch_dev *ca, argument 184 struct bch_dev *ca = w->ca; local [all...] |
H A D | btree_io.c | 668 static int validate_bset(struct bch_fs *c, struct bch_dev *ca, argument 713 c, ca, local 513 btree_err_msg(struct printbuf *out, struct bch_fs *c, struct bch_dev *ca, struct btree *b, struct bset *i, unsigned offset, int write) argument 535 __btree_err(int ret, struct bch_fs *c, struct bch_dev *ca, struct btree *b, struct bset *i, int write, bool have_retry, enum bch_sb_error_id err_type, const char *fmt, ...) argument 735 c, ca, b, i, local 758 c, ca, b, i, local 764 c, ca, b, i, local 806 c, ca, b, i, local 975 bch2_btree_node_read_done(struct bch_fs *c, struct bch_dev *ca, struct btree *b, bool have_retry, bool *saw_error) argument 1007 c, ca, b, NULL, local 1283 struct bch_dev *ca = bch_dev_bkey_exists(c, rb->pick.ptr.dev); local 1366 struct bch_dev *ca = bch_dev_bkey_exists(c, rb->pick.ptr.dev); local 1563 struct bch_dev *ca = bch_dev_bkey_exists(c, rb->pick.ptr.dev); local 1605 struct bch_dev *ca = bch_dev_bkey_exists(c, pick.ptr.dev); local 1650 struct bch_dev *ca; local 1899 struct bch_dev *ca = bch_dev_bkey_exists(c, wbio->dev); local [all...] |
H A D | btree_gc.c | 606 struct bch_dev *ca = bch_dev_bkey_exists(c, p.ptr.dev); local 739 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 750 struct bch_dev *ca local 1117 mark_metadata_sectors(struct bch_fs *c, struct bch_dev *ca, u64 start, u64 end, enum bch_data_type type, unsigned flags) argument 1135 bch2_mark_dev_superblock(struct bch_fs *c, struct bch_dev *ca, unsigned flags) argument 1210 struct bch_dev *ca = NULL; local 1368 struct bch_dev *ca = bch_dev_bkey_exists(c, iter->pos.inode); local 1857 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 1866 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 1887 struct bch_dev *ca = bch_dev_bkey_exists(trans->c, iter->pos.inode); local [all...] |
H A D | backpointers.c | 52 struct bch_dev *ca = bch_dev_bkey_exists(c, bp.k->p.inode); local 463 struct bch_dev *ca = bch_dev_bkey_exists(c, dev); local
|
H A D | sysfs.c | 795 static void dev_alloc_debug_to_text(struct printbuf *out, struct bch_dev *ca) argument 883 static void dev_io_done_to_text(struct printbuf *out, struct bch_dev *ca) argument 899 struct bch_dev *ca = container_of(kobj, struct bch_dev, kobj); local 953 struct bch_dev *ca = container_of(kobj, struct bch_dev, kobj); local [all...] |
H A D | super-io.c | 616 int bch2_sb_from_fs(struct bch_fs *c, struct bch_dev *ca) argument 857 struct bch_dev *ca = bio->bi_private; local 874 read_back_super(struct bch_fs *c, struct bch_dev *ca) argument 892 write_one_super(struct bch_fs *c, struct bch_dev *ca, unsigned idx) argument [all...] |
H A D | fs-io.c | 41 struct bch_dev *ca; member in struct:nocow_flush 60 struct bch_dev *ca; local [all...] |
H A D | ec.c | 101 struct bch_dev *ca; member in struct:ec_bio 256 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 612 struct bch_dev *ca = bch_dev_bkey_exists(c, v->ptrs[i].dev); local 678 struct bch_dev *ca = ec_bio->ca; local 708 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 1324 struct bch_dev *ca = bch_dev_bkey_exists(c, ob->dev); local 1522 struct bch_dev *ca; local 2067 __bch2_ec_stop(struct bch_fs *c, struct bch_dev *ca) argument 2100 bch2_ec_stop_dev(struct bch_fs *c, struct bch_dev *ca) argument [all...] |
H A D | extents.c | 112 struct bch_dev *ca; local 250 struct bch_dev *ca; local 658 static inline unsigned __extent_ptr_durability(struct bch_dev *ca, struct extent_ptr_decoded *p) argument 670 struct bch_dev *ca = bch_dev_bkey_exists(c, p->ptr.dev); local 677 struct bch_dev *ca = bch_dev_bkey_exists(c, p->ptr.dev); local 983 struct bch_dev *ca = c && ptr->dev < c->sb.nr_devices && c->devs[ptr->dev] local 1081 struct bch_dev *ca; local [all...] |
H A D | buckets.h | 15 static inline size_t sector_to_bucket(const struct bch_dev *ca, sector_t s) argument 20 static inline sector_t bucket_to_sector(const struct bch_dev *ca, size_t b) argument 25 static inline sector_t bucket_remainder(const struct bch_dev *ca, sector_t s) argument 33 static inline size_t sector_to_bucket_and_offset(const struct bch_dev *ca, sector_t s, argument 84 static inline struct bucket_array *gc_bucket_array(struct bch_dev *ca) argument 93 gc_bucket(struct bch_dev *ca, size_t b) argument 101 bucket_gens(struct bch_dev *ca) argument 110 bucket_gen(struct bch_dev *ca, size_t b) argument 118 PTR_BUCKET_NR(const struct bch_dev *ca, const struct bch_extent_ptr *ptr) argument 127 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 136 struct bch_dev *ca = bch_dev_bkey_exists(c, ptr->dev); local 141 PTR_GC_BUCKET(struct bch_dev *ca, const struct bch_extent_ptr *ptr) argument [all...] |
H A D | bcachefs.h | 1207 bucket_bytes(const struct bch_dev *ca) argument [all...] |
H A D | backpointers.h | 42 struct bch_dev *ca = bch_dev_bkey_exists(c, bp_pos.inode); local 55 struct bch_dev *ca = bch_dev_bkey_exists(c, bucket.inode); local
|
H A D | journal_types.h | 160 struct bch_dev *ca; member in struct:journal_bio
|
H A D | journal_reclaim.c | 78 journal_dev_space_available(struct journal *j, struct bch_dev *ca, argument [all...] |
H A D | debug.c | 40 struct bch_dev *ca = bch_dev_bkey_exists(c, pick.ptr.dev); local 187 struct bch_dev *ca; local [all...] |
H A D | replicas.c | 957 struct bch_dev *ca = bch_dev_bkey_exists(c, e->devs[i]); local 1024 unsigned bch2_dev_has_data(struct bch_fs *c, struct bch_dev *ca) argument
|
H A D | alloc_background.c | 633 struct bch_dev *ca = bch_dev_bkey_exists(c, alloc_k.k->p.inode); local 746 struct bch_dev *ca = bch_dev_bkey_exists(c, new.k->p.inode); local 963 struct bch_dev *ca; local 1010 struct bch_dev *ca = bch_dev_bkey_exists(c, bucket.inode); local 1028 struct bch_dev *ca; local 1157 struct bch_dev *ca; local 1340 struct bch_dev *ca; local 1646 struct bch_dev *ca; member in struct:discard_buckets_state 1650 discard_buckets_next_dev(struct bch_fs *c, struct discard_buckets_state *s, struct bch_dev *ca) argument 1676 struct bch_dev *ca; local 1858 struct bch_dev *ca; local 1906 struct bch_dev *ca = bch_dev_bkey_exists(c, bucket.inode); local 2037 bch2_dev_freespace_init(struct bch_fs *c, struct bch_dev *ca, u64 bucket_start, u64 bucket_end) argument 2284 bch2_dev_has_open_write_point(struct bch_fs *c, struct bch_dev *ca) argument 2303 bch2_dev_allocator_remove(struct bch_fs *c, struct bch_dev *ca) argument 2338 bch2_dev_allocator_add(struct bch_fs *c, struct bch_dev *ca) argument [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4xdr.c | 1662 nfsd4_decode_channel_attrs4(struct nfsd4_compoundargs *argp, struct nfsd4_channel_attrs *ca) argument
|
H A D | nfs4state.c | 1907 static inline u32 slot_bytes(struct nfsd4_channel_attrs *ca) argument 1923 static u32 nfsd4_get_drc_mem(struct nfsd4_channel_attrs *ca, struct nfsd_net *nn) argument 1962 static void nfsd4_put_drc_mem(struct nfsd4_channel_attrs *ca) argument 3703 static __be32 check_forechannel_attrs(struct nfsd4_channel_attrs *ca, struc argument 3749 check_backchannel_attrs(struct nfsd4_channel_attrs *ca) argument [all...] |