Lines Matching defs:fsc

112 static int note_last_dentry(struct ceph_fs_client *fsc,
125 doutc(fsc->client, "'%s'\n", dfi->last_name);
191 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(dir);
291 ret = note_last_dentry(fsc, dfi, last->d_name.name,
321 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode);
322 struct ceph_mds_client *mdsc = fsc->mdsc;
323 struct ceph_client *cl = fsc->client;
367 if (ceph_test_mount_opt(fsc, DCACHE) &&
368 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) &&
510 err = note_last_dentry(fsc, dfi, rde->name,
726 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb);
732 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) {
760 struct ceph_client *cl = req->r_mdsc->fsc->client;
799 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb);
801 struct ceph_client *cl = fsc->client;
834 fsc->mount_options->snapdir_name,
837 ceph_test_mount_opt(fsc, DCACHE) &&
916 struct ceph_client *cl = mdsc->fsc->client;
1026 struct ceph_client *cl = mdsc->fsc->client;
1100 struct ceph_client *cl = mdsc->fsc->client;
1184 struct ceph_client *cl = mdsc->fsc->client;
1240 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb);
1241 struct ceph_client *cl = fsc->client;
1251 spin_lock(&fsc->async_unlink_conflict_lock);
1253 spin_unlock(&fsc->async_unlink_conflict_lock);
1333 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb);
1334 struct ceph_client *cl = fsc->client;
1335 struct ceph_mds_client *mdsc = fsc->mdsc;
1338 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS);
1384 spin_lock(&fsc->async_unlink_conflict_lock);
1385 hash_add_rcu(fsc->async_unlink_conflict, &di->hnode,
1387 spin_unlock(&fsc->async_unlink_conflict_lock);
1398 spin_lock(&fsc->async_unlink_conflict_lock);
1400 spin_unlock(&fsc->async_unlink_conflict_lock);
1429 struct ceph_client *cl = mdsc->fsc->client;
1507 struct ceph_client *cl = mdsc->fsc->client;
1541 struct ceph_client *cl = mdsc->fsc->client;
1754 lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ;
1809 struct ceph_client *cl = mdsc->fsc->client;
1885 struct ceph_client *cl = mdsc->fsc->client;
1919 struct ceph_client *cl = mdsc->fsc->client;
2051 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb);
2053 doutc(fsc->client, "dentry %p '%pd'\n", dentry, dentry);
2055 atomic64_dec(&fsc->mdsc->metric.total_dentries);
2075 struct ceph_client *cl = mdsc->fsc->client;