/linux/fs/bcachefs/ |
H A D | chardev.c | 31 struct bch_dev *ca; in bch2_device_lookup() local 41 char *path; in bch2_device_lookup() local 187 char *path; in bch2_ioctl_disk_add() local 210 struct bch_dev *ca; in bch2_ioctl_disk_remove() local 231 char *path; in bch2_ioctl_disk_online() local 252 struct bch_dev *ca; in bch2_ioctl_disk_offline() local 277 struct bch_dev *ca; in bch2_ioctl_disk_set_state() local 352 struct bch_dev *ca = bch2_dev_tryget(c, ctx->arg.scrub.dev); in bch2_data_job_read() local 492 struct bch_dev *ca; in bch2_ioctl_dev_usage() local 533 struct bch_dev *ca; in bch2_ioctl_dev_usage_v2() local [all …]
|
H A D | super-io.c | 715 int bch2_sb_from_fs(struct bch_fs *c, struct bch_dev *ca) in bch2_sb_from_fs() 784 static int __bch2_read_super(const char *path, struct bch_opts *opts, in __bch2_read_super() 942 int bch2_read_super(const char *path, struct bch_opts *opts, in bch2_read_super() 950 int bch2_read_super_silent(const char *path, struct bch_opts *opts, in bch2_read_super_silent() 960 struct bch_dev *ca = bio->bi_private; in write_super_endio() local 977 static void read_back_super(struct bch_fs *c, struct bch_dev *ca) in read_back_super() 996 static void write_one_super(struct bch_fs *c, struct bch_dev *ca, unsigned idx) in write_one_super() 1129 struct bch_dev *ca = *cap; in bch2_write_super() local 1174 struct bch_dev *ca = *cap; in bch2_write_super() local 1186 struct bch_dev *ca = *cap; in bch2_write_super() local
|
H A D | disk_groups.c | 180 struct bch_dev *ca = t.dev < c->sb.nr_devices in bch2_target_to_mask() local 339 u16 path[32]; in __bch2_disk_path_to_text() local 417 u16 path[32]; in bch2_disk_path_to_text_sb() local 452 int __bch2_dev_group_set(struct bch_fs *c, struct bch_dev *ca, const char *name) in __bch2_dev_group_set() 472 int bch2_dev_group_set(struct bch_fs *c, struct bch_dev *ca, const char *name) in bch2_dev_group_set() 487 struct bch_dev *ca; in bch2_opt_target_parse() local 532 struct bch_dev *ca = t.dev < c->sb.nr_devices in bch2_target_to_text() local
|
H A D | super.c | 681 struct bch_dev *ca = rcu_dereference_protected(c->devs[i], true); in __bch2_fs_stop() local 722 struct bch_dev *ca = rcu_dereference_protected(c->devs[i], true); in bch2_fs_free() local 1124 struct bch_dev *ca; in bch2_fs_may_start() local 1351 static void bch2_dev_io_ref_stop(struct bch_dev *ca, int rw) in bch2_dev_io_ref_stop() 1365 struct bch_dev *ca = container_of(kobj, struct bch_dev, kobj); in bch2_dev_release() local 1370 static void bch2_dev_free(struct bch_dev *ca) in bch2_dev_free() 1404 static void __bch2_dev_offline(struct bch_fs *c, struct bch_dev *ca) in __bch2_dev_offline() 1425 struct bch_dev *ca = container_of(ref, struct bch_dev, ref); in bch2_dev_ref_complete() local 1431 static void bch2_dev_unlink(struct bch_dev *ca) in bch2_dev_unlink() 1451 static int bch2_dev_sysfs_online(struct bch_fs *c, struct bch_dev *ca) in bch2_dev_sysfs_online() [all …]
|
H A D | btree_gc.c | 641 struct btree_path *path = btree_iter_path(trans, iter); in bch2_gc_mark_key() local 848 struct bch_dev *ca, in bch2_alloc_write_key() 1141 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in gc_btree_gens_key() local 1150 struct bch_dev *ca = bch2_dev_rcu(c, ptr->dev); in gc_btree_gens_key() local 1172 static int bch2_alloc_write_oldest_gen(struct btree_trans *trans, struct bch_dev *ca, in bch2_alloc_write_oldest_gen() 1247 struct bch_dev *ca = NULL; in bch2_gc_gens() local
|
H A D | alloc_background.c | 342 struct bch_dev *ca = c ? bch2_dev_tryget_noerror(c, dev) : NULL; in __bch2_alloc_v4_to_text() local 623 struct bch_dev *ca = NULL; in bch2_alloc_read() local 726 struct bch_dev *ca, in bch2_bucket_do_index() 804 static inline int bch2_dev_data_type_accounting_mod(struct btree_trans *trans, struct bch_dev *ca, in bch2_dev_data_type_accounting_mod() 818 int bch2_alloc_key_to_dev_counters(struct btree_trans *trans, struct bch_dev *ca, in bch2_alloc_key_to_dev_counters() 866 struct bch_dev *ca = bch2_dev_bucket_tryget(c, new.k->p); in bch2_trigger_alloc() local 1071 struct btree_path *path = btree_iter_path(trans, iter); in bch2_get_key_or_hole() local 1098 static bool next_bucket(struct bch_fs *c, struct bch_dev **ca, struct bpos *bucket) in next_bucket() 1125 struct bch_dev **ca, struct bkey *hole) in bch2_get_key_or_real_bucket_hole() 1170 struct bch_dev *ca = bch2_dev_bucket_tryget_noerror(c, alloc_k.k->p); in bch2_check_alloc_key() local [all …]
|
/linux/drivers/md/bcache/ |
H A D | super.c | 357 struct cache *ca = bio->bi_private; in write_super_endio() local 375 struct cache *ca = c->cache; in bcache_write_super() local 502 struct cache *ca = c->cache; in __uuid_write() local 583 struct cache *ca = bio->bi_private; in prio_endio() local 590 static void prio_io(struct cache *ca, uint64_t bucket, blk_opf_t opf) in prio_io() 610 int bch_prio_write(struct cache *ca, bool wait) in bch_prio_write() 691 static int prio_read(struct cache *ca, uint64_t bucket) in prio_read() 793 struct cache *ca = d->c->cache; in bcache_device_unlink() local 805 struct cache *ca = c->cache; in bcache_device_link() local 1669 struct cache *ca; in CLOSURE_CALLBACK() local [all …]
|
/linux/tools/testing/selftests/filesystems/nsfs/ |
H A D | pidns.c | 44 char path[] = "/proc/0123456789/ns/pid"; in main() local 45 struct cr_clone_arg ca; in main() local
|
/linux/tools/testing/selftests/move_mount_set_group/ |
H A D | move_mount_set_group_test.c | 59 static int write_file(const char *path, const void *buf, size_t count) in write_file() 149 static bool is_shared_mount(const char *path) in is_shared_mount() 311 struct child_args *ca = (struct child_args *)data; in get_nestedns_mount_cb() local
|
/linux/fs/nfsd/ |
H A D | nfs4state.c | 3864 static __be32 check_forechannel_attrs(struct nfsd4_channel_attrs *ca, struct nfsd_net *nn) in check_forechannel_attrs() 3899 static __be32 check_backchannel_attrs(struct nfsd4_channel_attrs *ca) in check_backchannel_attrs() 6142 struct path path; in nfs4_delegation_stat() local
|