Lines Matching refs:fsc

112 static int note_last_dentry(struct ceph_fs_client *fsc,  in note_last_dentry()  argument
125 doutc(fsc->client, "'%s'\n", dfi->last_name); in note_last_dentry()
192 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(dir); in __dcache_readdir() local
292 ret = note_last_dentry(fsc, dfi, last->d_name.name, in __dcache_readdir()
322 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_readdir() local
323 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
324 struct ceph_client *cl = fsc->client; in ceph_readdir()
368 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir()
369 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir()
510 err = note_last_dentry(fsc, dfi, rde->name, in ceph_readdir()
725 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_handle_snapdir() local
731 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
759 struct ceph_client *cl = req->r_mdsc->fsc->client; in ceph_finish_lookup()
798 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_lookup() local
800 struct ceph_client *cl = fsc->client; in ceph_lookup()
833 fsc->mount_options->snapdir_name, in ceph_lookup()
836 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup()
915 struct ceph_client *cl = mdsc->fsc->client; in ceph_mknod()
1025 struct ceph_client *cl = mdsc->fsc->client; in ceph_symlink()
1099 struct ceph_client *cl = mdsc->fsc->client; in ceph_mkdir()
1191 struct ceph_client *cl = mdsc->fsc->client; in ceph_link()
1247 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_async_unlink_cb() local
1248 struct ceph_client *cl = fsc->client; in ceph_async_unlink_cb()
1258 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1260 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1340 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_unlink() local
1341 struct ceph_client *cl = fsc->client; in ceph_unlink()
1342 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1345 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_unlink()
1419 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1420 hash_add_rcu(fsc->async_unlink_conflict, &di->hnode, in ceph_unlink()
1422 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1433 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1435 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1464 struct ceph_client *cl = mdsc->fsc->client; in ceph_rename()
1542 struct ceph_client *cl = mdsc->fsc->client; in __ceph_dentry_lease_touch()
1576 struct ceph_client *cl = mdsc->fsc->client; in __ceph_dentry_dir_lease_touch()
1789 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
1844 struct ceph_client *cl = mdsc->fsc->client; in dentry_lease_is_valid()
1920 struct ceph_client *cl = mdsc->fsc->client; in dir_lease_is_valid()
1955 struct ceph_client *cl = mdsc->fsc->client; in ceph_d_revalidate()
2075 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_d_release() local
2077 doutc(fsc->client, "dentry %p '%pd'\n", dentry, dentry); in ceph_d_release()
2079 atomic64_dec(&fsc->mdsc->metric.total_dentries); in ceph_d_release()
2099 struct ceph_client *cl = mdsc->fsc->client; in ceph_d_prune()