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()
191 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(dir); in __dcache_readdir() local
291 ret = note_last_dentry(fsc, dfi, last->d_name.name, in __dcache_readdir()
321 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_readdir() local
322 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
323 struct ceph_client *cl = fsc->client; in ceph_readdir()
367 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir()
368 !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()
1183 struct ceph_client *cl = mdsc->fsc->client; in ceph_link()
1239 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_async_unlink_cb() local
1240 struct ceph_client *cl = fsc->client; in ceph_async_unlink_cb()
1250 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1252 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1332 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_unlink() local
1333 struct ceph_client *cl = fsc->client; in ceph_unlink()
1334 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1337 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_unlink()
1411 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1412 hash_add_rcu(fsc->async_unlink_conflict, &di->hnode, in ceph_unlink()
1414 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1425 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1427 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1456 struct ceph_client *cl = mdsc->fsc->client; in ceph_rename()
1534 struct ceph_client *cl = mdsc->fsc->client; in __ceph_dentry_lease_touch()
1568 struct ceph_client *cl = mdsc->fsc->client; in __ceph_dentry_dir_lease_touch()
1781 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; in ceph_trim_dentries()
1836 struct ceph_client *cl = mdsc->fsc->client; in dentry_lease_is_valid()
1912 struct ceph_client *cl = mdsc->fsc->client; in dir_lease_is_valid()
1946 struct ceph_client *cl = mdsc->fsc->client; in ceph_d_revalidate()
2078 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_d_release() local
2080 doutc(fsc->client, "dentry %p '%pd'\n", dentry, dentry); in ceph_d_release()
2082 atomic64_dec(&fsc->mdsc->metric.total_dentries); in ceph_d_release()
2102 struct ceph_client *cl = mdsc->fsc->client; in ceph_d_prune()