Lines Matching refs:fsc
18 struct ceph_fs_client *fsc = ceph_inode_to_fs_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()
86 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc) in ceph_fscache_register_fs() argument
88 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs()
89 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
99 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); in ceph_fscache_register_fs()
100 if (IS_ERR_OR_NULL(fsc->fscache)) { in ceph_fscache_register_fs()
102 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs()
103 fsc->fscache = NULL; in ceph_fscache_register_fs()
109 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
111 fscache_relinquish_volume(fsc->fscache, NULL, false); in ceph_fscache_unregister_fs()