Lines Matching refs:fsc
355 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local
356 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
733 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local
734 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
739 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_atomic_open()
965 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in __ceph_sync_read() local
966 struct ceph_osd_client *osdc = &fsc->client->osdc; in __ceph_sync_read()
971 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in __ceph_sync_read()
1053 ceph_update_read_metrics(&fsc->mdsc->metric, in __ceph_sync_read()
1131 fsc->blocklisted = true; in __ceph_sync_read()
1389 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_direct_read_write() local
1390 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write()
1403 bool sparse = ceph_test_mount_opt(fsc, SPARSEREAD); in ceph_direct_read_write()
1435 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1437 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
1440 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1518 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_direct_read_write()
1613 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_write() local
1614 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_write()
1773 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_write()
1940 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
2231 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_write_iter() local
2232 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_write_iter()
2240 loff_t limit = max(i_size_read(inode), fsc->max_file_size); in ceph_write_iter()
2465 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_zero_partial_object() local
2481 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2493 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2494 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2768 struct ceph_fs_client *fsc, in ceph_do_objects_copy() argument
2785 osdc = &fsc->client->osdc; in ceph_do_objects_copy()
2811 ceph_update_copyfrom_metrics(&fsc->mdsc->metric, in ceph_do_objects_copy()
2819 fsc->have_copy_from2 = false; in ceph_do_objects_copy()