Lines Matching refs:fsc
313 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
314 struct ceph_mds_client *mdsc = fsc->mdsc;
355 if (ceph_test_mount_opt(fsc, DCACHE) &&
356 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) &&
706 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb);
711 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) {
774 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb);
807 fsc->mount_options->snapdir_name,
810 ceph_test_mount_opt(fsc, DCACHE) &&
1202 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb);
1211 spin_lock(&fsc->async_unlink_conflict_lock);
1213 spin_unlock(&fsc->async_unlink_conflict_lock);
1293 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb);
1294 struct ceph_mds_client *mdsc = fsc->mdsc;
1297 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS);
1342 spin_lock(&fsc->async_unlink_conflict_lock);
1343 hash_add_rcu(fsc->async_unlink_conflict, &di->hnode,
1345 spin_unlock(&fsc->async_unlink_conflict_lock);
1356 spin_lock(&fsc->async_unlink_conflict_lock);
1358 spin_unlock(&fsc->async_unlink_conflict_lock);
1706 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ;
1998 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb);
2002 atomic64_dec(&fsc->mdsc->metric.total_dentries);