Lines Matching refs:fsc

180 	struct ceph_fs_client *fsc = ceph_sb_to_client(sb);  in prepare_open_request()  local
181 struct ceph_mds_client *mdsc = fsc->mdsc; in prepare_open_request()
340 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local
341 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
434 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local
435 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
571 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in striped_read() local
585 ret = ceph_osdc_readpages(&fsc->client->osdc, ceph_vino(inode), in striped_read()
917 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_direct_read_write() local
959 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
961 size = min_t(u64, size, fsc->mount_options->rsize); in ceph_direct_read_write()
964 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1036 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_direct_read_write()
1123 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_write() local
1159 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1204 ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); in ceph_sync_write()
1206 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_sync_write()
1386 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_write_iter() local
1391 loff_t limit = max(i_size_read(inode), fsc->max_file_size); in ceph_write_iter()
1445 if (ceph_osdmap_flag(&fsc->client->osdc, CEPH_OSDMAP_FULL)) { in ceph_write_iter()
1535 if (ceph_osdmap_flag(&fsc->client->osdc, CEPH_OSDMAP_NEARFULL)) in ceph_write_iter()
1556 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_llseek() local
1601 ret = vfs_setpos(file, offset, max(i_size, fsc->max_file_size)); in ceph_llseek()
1649 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_zero_partial_object() local
1662 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
1674 ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); in ceph_zero_partial_object()
1676 ret = ceph_osdc_wait_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
1738 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_fallocate() local
1746 if ((offset + length) > max(i_size_read(inode), fsc->max_file_size)) in ceph_fallocate()
1772 if (ceph_osdmap_flag(&fsc->client->osdc, CEPH_OSDMAP_FULL) && in ceph_fallocate()