Lines Matching refs:fsc
18 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_fscache_register_inode_cookie() local
21 if (!fsc->fscache) in ceph_fscache_register_inode_cookie()
35 fscache_acquire_cookie(fsc->fscache, 0, in ceph_fscache_register_inode_cookie()
84 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc) in ceph_fscache_register_fs() argument
86 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs()
87 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
97 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); in ceph_fscache_register_fs()
98 if (IS_ERR_OR_NULL(fsc->fscache)) { in ceph_fscache_register_fs()
100 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs()
101 fsc->fscache = NULL; in ceph_fscache_register_fs()
107 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
109 fscache_relinquish_volume(fsc->fscache, NULL, false); in ceph_fscache_unregister_fs()