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()
601 struct ceph_client *cl = mdsc->fsc->client; in ceph_async_create_cb()
672 struct ceph_client *cl = mdsc->fsc->client; in ceph_finish_async_create()
783 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_atomic_open() local
784 struct ceph_client *cl = fsc->client; in ceph_atomic_open()
785 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
790 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_atomic_open()
1053 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in __ceph_sync_read() local
1054 struct ceph_client *cl = fsc->client; in __ceph_sync_read()
1055 struct ceph_osd_client *osdc = &fsc->client->osdc; in __ceph_sync_read()
1060 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in __ceph_sync_read()
1145 ceph_update_read_metrics(&fsc->mdsc->metric, in __ceph_sync_read()
1166 fsc->blocklisted = true; in __ceph_sync_read()
1487 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_direct_read_write() local
1488 struct ceph_client *cl = fsc->client; in ceph_direct_read_write()
1489 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write()
1502 bool sparse = ceph_test_mount_opt(fsc, SPARSEREAD); in ceph_direct_read_write()
1536 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1538 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
1541 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1621 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_direct_read_write()
1716 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_sync_write() local
1717 struct ceph_client *cl = fsc->client; in ceph_sync_write()
1718 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_write()
1877 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_write()
2043 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
2337 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_write_iter() local
2338 struct ceph_client *cl = fsc->client; in ceph_write_iter()
2339 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_write_iter()
2347 loff_t limit = max(i_size_read(inode), fsc->max_file_size); in ceph_write_iter()
2573 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_zero_partial_object() local
2589 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2601 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2602 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2878 struct ceph_fs_client *fsc, in ceph_do_objects_copy() argument
2889 struct ceph_client *cl = fsc->client; in ceph_do_objects_copy()
2896 osdc = &fsc->client->osdc; in ceph_do_objects_copy()
2922 ceph_update_copyfrom_metrics(&fsc->mdsc->metric, in ceph_do_objects_copy()
2930 fsc->have_copy_from2 = false; in ceph_do_objects_copy()