Lines Matching refs:fsc
341 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local
342 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
665 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local
666 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
670 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_atomic_open()
843 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_read() local
844 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read()
903 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_read()
945 fsc->blocklisted = true; in ceph_sync_read()
1181 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_direct_read_write() local
1182 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write()
1220 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1222 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
1225 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1297 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_direct_read_write()
1391 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_write() local
1428 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1473 ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); in ceph_sync_write()
1475 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_sync_write()
1477 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
1670 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_write_iter() local
1671 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_write_iter()
1679 loff_t limit = max(i_size_read(inode), fsc->max_file_size); in ceph_write_iter()
1863 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_llseek() local
1908 ret = vfs_setpos(file, offset, max(i_size, fsc->max_file_size)); in ceph_llseek()
1956 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_zero_partial_object() local
1969 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
1981 ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); in ceph_zero_partial_object()
1983 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2205 struct ceph_fs_client *fsc, in ceph_do_objects_copy() argument
2235 ret = ceph_osdc_copy_from(&fsc->client->osdc, in ceph_do_objects_copy()
2248 fsc->have_copy_from2 = false; in ceph_do_objects_copy()