Lines Matching refs:fsc
183 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in prepare_open_request() local
184 struct ceph_mds_client *mdsc = fsc->mdsc; in prepare_open_request()
347 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local
348 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
441 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local
442 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
588 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_read() local
589 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read()
707 fsc->blacklisted = true; in ceph_sync_read()
933 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_direct_read_write() local
971 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
973 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
976 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1048 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_direct_read_write()
1135 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_write() local
1172 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1217 ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); in ceph_sync_write()
1219 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_sync_write()
1417 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_write_iter() local
1422 loff_t limit = max(i_size_read(inode), fsc->max_file_size); in ceph_write_iter()
1481 if (ceph_osdmap_flag(&fsc->client->osdc, CEPH_OSDMAP_FULL)) { in ceph_write_iter()
1573 if (ceph_osdmap_flag(&fsc->client->osdc, CEPH_OSDMAP_NEARFULL)) in ceph_write_iter()
1596 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_llseek() local
1641 ret = vfs_setpos(file, offset, max(i_size, fsc->max_file_size)); in ceph_llseek()
1689 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_zero_partial_object() local
1702 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
1714 ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); in ceph_zero_partial_object()
1716 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_zero_partial_object()