Lines Matching defs:fsc
18 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode);
21 if (!fsc->fscache)
35 fscache_acquire_cookie(fsc->fscache, 0,
86 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc)
88 const struct ceph_fsid *fsid = &fsc->client->fsid;
89 const char *fscache_uniq = fsc->mount_options->fscache_uniq;
99 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0);
100 if (IS_ERR_OR_NULL(fsc->fscache)) {
102 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP;
103 fsc->fscache = NULL;
109 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc)
111 fscache_relinquish_volume(fsc->fscache, NULL, false);