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