Lines Matching defs:fsc

25 	struct ceph_client *cl = mdsc->fsc->client;
303 struct ceph_client *cl = mdsc->fsc->client;
362 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb);
363 struct ceph_client *cl = fsc->client;
364 struct ceph_mds_client *mdsc = fsc->mdsc;
570 struct ceph_client *cl = mdsc->fsc->client;
641 struct ceph_client *cl = mdsc->fsc->client;
752 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb);
753 struct ceph_client *cl = fsc->client;
754 struct ceph_mds_client *mdsc = fsc->mdsc;
759 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS);
991 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode);
992 struct ceph_client *cl = fsc->client;
993 struct ceph_osd_client *osdc = &fsc->client->osdc;
998 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD);
1083 ceph_update_read_metrics(&fsc->mdsc->metric,
1166 fsc->blocklisted = true;
1427 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode);
1428 struct ceph_client *cl = fsc->client;
1429 struct ceph_client_metric *metric = &fsc->mdsc->metric;
1442 bool sparse = ceph_test_mount_opt(fsc, SPARSEREAD);
1476 size = min_t(u64, size, fsc->mount_options->wsize);
1478 size = min_t(u64, size, fsc->mount_options->rsize);
1481 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
1560 ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
1655 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode);
1656 struct ceph_client *cl = fsc->client;
1657 struct ceph_osd_client *osdc = &fsc->client->osdc;
1816 ceph_update_read_metrics(&fsc->mdsc->metric,
1983 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency,
2277 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode);
2278 struct ceph_client *cl = fsc->client;
2279 struct ceph_osd_client *osdc = &fsc->client->osdc;
2287 loff_t limit = max(i_size_read(inode), fsc->max_file_size);
2513 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode);
2529 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
2541 ceph_osdc_start_request(&fsc->client->osdc, req);
2542 ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
2818 struct ceph_fs_client *fsc,
2829 struct ceph_client *cl = fsc->client;
2836 osdc = &fsc->client->osdc;
2862 ceph_update_copyfrom_metrics(&fsc->mdsc->metric,
2870 fsc->have_copy_from2 = false;