Lines Matching refs:fsc
355 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb);
356 struct ceph_mds_client *mdsc = fsc->mdsc;
733 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb);
734 struct ceph_mds_client *mdsc = fsc->mdsc;
739 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS);
965 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
966 struct ceph_osd_client *osdc = &fsc->client->osdc;
971 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD);
1053 ceph_update_read_metrics(&fsc->mdsc->metric,
1136 fsc->blocklisted = true;
1392 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
1393 struct ceph_client_metric *metric = &fsc->mdsc->metric;
1406 bool sparse = ceph_test_mount_opt(fsc, SPARSEREAD);
1438 size = min_t(u64, size, fsc->mount_options->wsize);
1440 size = min_t(u64, size, fsc->mount_options->rsize);
1443 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
1521 ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
1616 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
1617 struct ceph_osd_client *osdc = &fsc->client->osdc;
1776 ceph_update_read_metrics(&fsc->mdsc->metric,
1943 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency,
2234 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
2235 struct ceph_osd_client *osdc = &fsc->client->osdc;
2243 loff_t limit = max(i_size_read(inode), fsc->max_file_size);
2468 struct ceph_fs_client *fsc = ceph_inode_to_client(inode);
2484 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout,
2496 ceph_osdc_start_request(&fsc->client->osdc, req);
2497 ret = ceph_osdc_wait_request(&fsc->client->osdc, req);
2771 struct ceph_fs_client *fsc,
2788 osdc = &fsc->client->osdc;
2814 ceph_update_copyfrom_metrics(&fsc->mdsc->metric,
2822 fsc->have_copy_from2 = false;