Lines Matching refs:fsc

25 	struct ceph_client *cl = mdsc->fsc->client;  in ceph_flags_sys2wire()
303 struct ceph_client *cl = mdsc->fsc->client; in ceph_renew_caps()
362 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); in ceph_open() local
363 struct ceph_client *cl = fsc->client; in ceph_open()
364 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
599 struct ceph_client *cl = mdsc->fsc->client; in ceph_async_create_cb()
668 struct ceph_client *cl = mdsc->fsc->client; in ceph_finish_async_create()
778 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_atomic_open() local
779 struct ceph_client *cl = fsc->client; in ceph_atomic_open()
780 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
785 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_atomic_open()
1047 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in __ceph_sync_read() local
1048 struct ceph_client *cl = fsc->client; in __ceph_sync_read()
1049 struct ceph_osd_client *osdc = &fsc->client->osdc; in __ceph_sync_read()
1054 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in __ceph_sync_read()
1139 ceph_update_read_metrics(&fsc->mdsc->metric, in __ceph_sync_read()
1160 fsc->blocklisted = true; in __ceph_sync_read()
1481 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_direct_read_write() local
1482 struct ceph_client *cl = fsc->client; in ceph_direct_read_write()
1483 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write()
1496 bool sparse = ceph_test_mount_opt(fsc, SPARSEREAD); in ceph_direct_read_write()
1530 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1532 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
1535 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1615 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_direct_read_write()
1710 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_sync_write() local
1711 struct ceph_client *cl = fsc->client; in ceph_sync_write()
1712 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_write()
1871 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_write()
2037 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
2333 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_write_iter() local
2334 struct ceph_client *cl = fsc->client; in ceph_write_iter()
2335 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_write_iter()
2343 loff_t limit = max(i_size_read(inode), fsc->max_file_size); in ceph_write_iter()
2569 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_zero_partial_object() local
2585 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2597 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2598 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2874 struct ceph_fs_client *fsc, in ceph_do_objects_copy() argument
2885 struct ceph_client *cl = fsc->client; in ceph_do_objects_copy()
2892 osdc = &fsc->client->osdc; in ceph_do_objects_copy()
2918 ceph_update_copyfrom_metrics(&fsc->mdsc->metric, in ceph_do_objects_copy()
2926 fsc->have_copy_from2 = false; in ceph_do_objects_copy()