Lines Matching refs:fsc
310 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readdir() local
311 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
348 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir()
349 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir()
682 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir() local
687 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
750 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local
771 fsc->mount_options->snapdir_name, in ceph_lookup()
774 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup()
1092 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_async_unlink_cb() local
1101 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1103 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1183 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_unlink() local
1184 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1187 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_unlink()
1232 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1233 hash_add_rcu(fsc->async_unlink_conflict, &di->hnode, in ceph_unlink()
1235 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1246 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1248 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1591 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
1878 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_d_release() local
1882 atomic64_dec(&fsc->mdsc->metric.total_dentries); in ceph_d_release()