fsc 1211 drivers/media/i2c/cx25840/cx25840-core.c int fin, fsc; fsc 1227 drivers/media/i2c/cx25840/cx25840-core.c fsc = (((u64)sc) * pll) >> 24L; fsc 1230 drivers/media/i2c/cx25840/cx25840-core.c fsc / 1000000, fsc % 1000000); fsc 851 drivers/media/pci/bt8xx/bttv-driver.c int fsc = bttv_tvnorms[btv->tvnorm].Fsc; fsc 871 drivers/media/pci/bt8xx/bttv-driver.c btv->pll.pll_ofreq = fsc; fsc 447 drivers/media/pci/cx18/cx18-av-core.c int fsc, pll; fsc 463 drivers/media/pci/cx18/cx18-av-core.c fsc = tmp >> 13; fsc 466 drivers/media/pci/cx18/cx18-av-core.c fsc / 1000000, fsc % 1000000); fsc 2857 drivers/media/pci/ttpci/av7110.c MAKE_AV7110_INFO(fsc, "Fujitsu Siemens DVB-C"); fsc 2862 drivers/media/pci/ttpci/av7110.c MAKE_EXTENSION_PCI(fsc, 0x110a, 0x0000), fsc 730 drivers/net/fddi/skfp/h/smt.h struct smt_p_fsc fsc ; /* frame status cap. */ fsc 88 drivers/net/fddi/skfp/smt.c static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc); fsc 945 drivers/net/fddi/skfp/smt.c smt_fill_fsc(smc,&nif->fsc) ; /* set frame status cap. */ fsc 1447 drivers/net/fddi/skfp/smt.c static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) fsc 1450 drivers/net/fddi/skfp/smt.c SMTSETPARA(fsc,SMT_P_FSC) ; fsc 1451 drivers/net/fddi/skfp/smt.c fsc->fsc_pad0 = 0 ; fsc 1452 drivers/net/fddi/skfp/smt.c fsc->fsc_mac_index = INDEX_MAC ; /* this is MIB ; MIB is NOT fsc 1455 drivers/net/fddi/skfp/smt.c fsc->fsc_pad1 = 0 ; fsc 1456 drivers/net/fddi/skfp/smt.c fsc->fsc_value = FSC_TYPE0 ; /* "normal" node */ fsc 1458 drivers/net/fddi/skfp/smt.c fsc->fsc_mac_index = smt_swap_short(INDEX_MAC) ; fsc 1459 drivers/net/fddi/skfp/smt.c fsc->fsc_value = smt_swap_short(FSC_TYPE0) ; fsc 851 drivers/scsi/esas2r/esas2r_flash.c struct esas2r_ioctlfs_command *fsc = &fs->command; fsc 863 drivers/scsi/esas2r/esas2r_flash.c if (fsc->command >= cmdcnt) { fsc 868 drivers/scsi/esas2r/esas2r_flash.c func = cmd_to_fls_func[fsc->command]; fsc 874 drivers/scsi/esas2r/esas2r_flash.c if (fsc->command != ESAS2R_FS_CMD_CANCEL) { fsc 900 drivers/scsi/esas2r/esas2r_flash.c datalen = le32_to_cpu(fsc->length); fsc 904 drivers/scsi/esas2r/esas2r_flash.c fsc->checksum, fsc 905 drivers/scsi/esas2r/esas2r_flash.c le32_to_cpu(fsc->flash_addr), fsc 192 fs/ceph/addr.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 221 fs/ceph/addr.c err = ceph_osdc_readpages(&fsc->client->osdc, ceph_vino(inode), fsc 231 fs/ceph/addr.c fsc->blacklisted = true; fsc 445 fs/ceph/addr.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 461 fs/ceph/addr.c max = fsc->mount_options->rsize >> PAGE_SHIFT; fsc 583 fs/ceph/addr.c struct ceph_fs_client *fsc; fsc 593 fs/ceph/addr.c fsc = ceph_inode_to_client(inode); fsc 626 fs/ceph/addr.c if (atomic_long_inc_return(&fsc->writeback_count) > fsc 627 fs/ceph/addr.c CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) fsc 631 fs/ceph/addr.c err = ceph_osdc_writepages(&fsc->client->osdc, ceph_vino(inode), fsc 648 fs/ceph/addr.c fsc->blacklisted = true; fsc 663 fs/ceph/addr.c if (atomic_long_dec_return(&fsc->writeback_count) < fsc 664 fs/ceph/addr.c CONGESTION_OFF_THRESH(fsc->mount_options->congestion_kb)) fsc 704 fs/ceph/addr.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 712 fs/ceph/addr.c fsc->blacklisted = true; fsc 741 fs/ceph/addr.c if (atomic_long_dec_return(&fsc->writeback_count) < fsc 743 fs/ceph/addr.c fsc->mount_options->congestion_kb)) fsc 784 fs/ceph/addr.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 800 fs/ceph/addr.c if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { fsc 809 fs/ceph/addr.c if (fsc->mount_options->wsize < wsize) fsc 810 fs/ceph/addr.c wsize = fsc->mount_options->wsize; fsc 964 fs/ceph/addr.c pool = fsc->wb_pagevec_pool; fsc 988 fs/ceph/addr.c if (atomic_long_inc_return(&fsc->writeback_count) > fsc 990 fs/ceph/addr.c fsc->mount_options->congestion_kb)) { fsc 1029 fs/ceph/addr.c req = ceph_osdc_new_request(&fsc->client->osdc, fsc 1036 fs/ceph/addr.c req = ceph_osdc_new_request(&fsc->client->osdc, fsc 1111 fs/ceph/addr.c pool = fsc->wb_pagevec_pool; fsc 1127 fs/ceph/addr.c rc = ceph_osdc_start_request(&fsc->client->osdc, req, true); fsc 1220 fs/ceph/addr.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 1229 fs/ceph/addr.c if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { fsc 1664 fs/ceph/addr.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 1720 fs/ceph/addr.c req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, fsc 1730 fs/ceph/addr.c err = ceph_osdc_start_request(&fsc->client->osdc, req, false); fsc 1732 fs/ceph/addr.c err = ceph_osdc_wait_request(&fsc->client->osdc, req); fsc 1737 fs/ceph/addr.c req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, fsc 1772 fs/ceph/addr.c err = ceph_osdc_start_request(&fsc->client->osdc, req, false); fsc 1774 fs/ceph/addr.c err = ceph_osdc_wait_request(&fsc->client->osdc, req); fsc 1817 fs/ceph/addr.c struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode); fsc 1818 fs/ceph/addr.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 1887 fs/ceph/addr.c rd_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL, fsc 1905 fs/ceph/addr.c wr_req = ceph_osdc_alloc_request(&fsc->client->osdc, NULL, fsc 1930 fs/ceph/addr.c err = ceph_osdc_start_request(&fsc->client->osdc, rd_req, false); fsc 1933 fs/ceph/addr.c err2 = ceph_osdc_start_request(&fsc->client->osdc, wr_req, false); fsc 1936 fs/ceph/addr.c err = ceph_osdc_wait_request(&fsc->client->osdc, rd_req); fsc 1938 fs/ceph/addr.c err2 = ceph_osdc_wait_request(&fsc->client->osdc, wr_req); fsc 1944 fs/ceph/addr.c fsc->blacklisted = true; fsc 1952 fs/ceph/addr.c fsc->blacklisted = true; fsc 52 fs/ceph/cache.c int ceph_fscache_register_fs(struct ceph_fs_client* fsc) fsc 54 fs/ceph/cache.c const struct ceph_fsid *fsid = &fsc->client->fsid; fsc 55 fs/ceph/cache.c const char *fscache_uniq = fsc->mount_options->fscache_uniq; fsc 87 fs/ceph/cache.c fsc->fscache = fscache_acquire_cookie(ceph_cache_netfs.primary_index, fsc 91 fs/ceph/cache.c fsc, 0, true); fsc 93 fs/ceph/cache.c if (fsc->fscache) { fsc 94 fs/ceph/cache.c ent->fscache = fsc->fscache; fsc 140 fs/ceph/cache.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 144 fs/ceph/cache.c if (!fsc->fscache) fsc 157 fs/ceph/cache.c ci->fscache = fscache_acquire_cookie(fsc->fscache, fsc 309 fs/ceph/cache.c void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) fsc 311 fs/ceph/cache.c if (fscache_cookie_valid(fsc->fscache)) { fsc 317 fs/ceph/cache.c if (ent->fscache == fsc->fscache) { fsc 327 fs/ceph/cache.c __fscache_relinquish_cookie(fsc->fscache, NULL, false); fsc 329 fs/ceph/cache.c fsc->fscache = NULL; fsc 19 fs/ceph/cache.h int ceph_fscache_register_fs(struct ceph_fs_client* fsc); fsc 20 fs/ceph/cache.h void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); fsc 91 fs/ceph/cache.h static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc) fsc 96 fs/ceph/cache.h static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) fsc 406 fs/ceph/caps.c void ceph_reservation_status(struct ceph_fs_client *fsc, fsc 410 fs/ceph/caps.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 492 fs/ceph/caps.c struct ceph_mount_options *opt = mdsc->fsc->mount_options; fsc 1141 fs/ceph/caps.c struct ceph_osd_client *osdc = &arg->session->s_mdsc->fsc->client->osdc; fsc 1820 fs/ceph/caps.c struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode); fsc 1821 fs/ceph/caps.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 2664 fs/ceph/caps.c if (READ_ONCE(mdsc->fsc->mount_state) == fsc 2749 fs/ceph/caps.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 2757 fs/ceph/caps.c fi->filp_gen != READ_ONCE(fsc->filp_gen)) fsc 2790 fs/ceph/caps.c fi->filp_gen != READ_ONCE(fsc->filp_gen)) { fsc 3867 fs/ceph/caps.c struct ceph_osd_client *osdc = &mdsc->fsc->client->osdc; fsc 3916 fs/ceph/caps.c inode = ceph_find_inode(mdsc->fsc->sb, vino); fsc 25 fs/ceph/debugfs.c struct ceph_fs_client *fsc = s->private; fsc 28 fs/ceph/debugfs.c if (!fsc->mdsc || !fsc->mdsc->mdsmap) fsc 30 fs/ceph/debugfs.c mdsmap = fsc->mdsc->mdsmap; fsc 51 fs/ceph/debugfs.c struct ceph_fs_client *fsc = s->private; fsc 52 fs/ceph/debugfs.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 139 fs/ceph/debugfs.c struct ceph_fs_client *fsc = s->private; fsc 140 fs/ceph/debugfs.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 143 fs/ceph/debugfs.c ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); fsc 174 fs/ceph/debugfs.c struct ceph_fs_client *fsc = s->private; fsc 175 fs/ceph/debugfs.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 176 fs/ceph/debugfs.c struct ceph_auth_client *ac = fsc->client->monc.auth; fsc 177 fs/ceph/debugfs.c struct ceph_options *opt = fsc->client->options; fsc 219 fs/ceph/debugfs.c struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; fsc 221 fs/ceph/debugfs.c fsc->mount_options->congestion_kb = (int)val; fsc 227 fs/ceph/debugfs.c struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; fsc 229 fs/ceph/debugfs.c *val = (u64)fsc->mount_options->congestion_kb; fsc 237 fs/ceph/debugfs.c void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) fsc 240 fs/ceph/debugfs.c debugfs_remove(fsc->debugfs_bdi); fsc 241 fs/ceph/debugfs.c debugfs_remove(fsc->debugfs_congestion_kb); fsc 242 fs/ceph/debugfs.c debugfs_remove(fsc->debugfs_mdsmap); fsc 243 fs/ceph/debugfs.c debugfs_remove(fsc->debugfs_mds_sessions); fsc 244 fs/ceph/debugfs.c debugfs_remove(fsc->debugfs_caps); fsc 245 fs/ceph/debugfs.c debugfs_remove(fsc->debugfs_mdsc); fsc 248 fs/ceph/debugfs.c void ceph_fs_debugfs_init(struct ceph_fs_client *fsc) fsc 253 fs/ceph/debugfs.c fsc->debugfs_congestion_kb = fsc 256 fs/ceph/debugfs.c fsc->client->debugfs_dir, fsc 257 fs/ceph/debugfs.c fsc, fsc 261 fs/ceph/debugfs.c dev_name(fsc->sb->s_bdi->dev)); fsc 262 fs/ceph/debugfs.c fsc->debugfs_bdi = fsc 264 fs/ceph/debugfs.c fsc->client->debugfs_dir, fsc 267 fs/ceph/debugfs.c fsc->debugfs_mdsmap = debugfs_create_file("mdsmap", fsc 269 fs/ceph/debugfs.c fsc->client->debugfs_dir, fsc 270 fs/ceph/debugfs.c fsc, fsc 273 fs/ceph/debugfs.c fsc->debugfs_mds_sessions = debugfs_create_file("mds_sessions", fsc 275 fs/ceph/debugfs.c fsc->client->debugfs_dir, fsc 276 fs/ceph/debugfs.c fsc, fsc 279 fs/ceph/debugfs.c fsc->debugfs_mdsc = debugfs_create_file("mdsc", fsc 281 fs/ceph/debugfs.c fsc->client->debugfs_dir, fsc 282 fs/ceph/debugfs.c fsc, fsc 285 fs/ceph/debugfs.c fsc->debugfs_caps = debugfs_create_file("caps", fsc 287 fs/ceph/debugfs.c fsc->client->debugfs_dir, fsc 288 fs/ceph/debugfs.c fsc, fsc 295 fs/ceph/debugfs.c void ceph_fs_debugfs_init(struct ceph_fs_client *fsc) fsc 299 fs/ceph/debugfs.c void ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) fsc 308 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 309 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 340 fs/ceph/dir.c if (ceph_test_mount_opt(fsc, DCACHE) && fsc 341 fs/ceph/dir.c !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && fsc 668 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); fsc 675 fs/ceph/dir.c fsc->mount_options->snapdir_name) == 0) { fsc 736 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); fsc 737 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 757 fs/ceph/dir.c fsc->mount_options->snapdir_name, fsc 760 fs/ceph/dir.c ceph_test_mount_opt(fsc, DCACHE) && fsc 825 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); fsc 826 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 887 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); fsc 888 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 936 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); fsc 937 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 1004 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); fsc 1005 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 1044 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); fsc 1045 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 1086 fs/ceph/dir.c struct ceph_fs_client *fsc = ceph_sb_to_client(old_dir->i_sb); fsc 1087 fs/ceph/dir.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 1397 fs/ceph/dir.c lwc.dir_lease_ttl = mdsc->fsc->mount_options->caps_wanted_delay_max * HZ; fsc 412 fs/ceph/export.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 422 fs/ceph/export.c strcpy(name, fsc->mount_options->snapdir_name); fsc 435 fs/ceph/export.c req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, fsc 460 fs/ceph/export.c err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); fsc 183 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_sb_to_client(sb); fsc 184 fs/ceph/file.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 347 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); fsc 348 fs/ceph/file.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 441 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); fsc 442 fs/ceph/file.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 588 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 589 fs/ceph/file.c struct ceph_osd_client *osdc = &fsc->client->osdc; fsc 707 fs/ceph/file.c fsc->blacklisted = true; fsc 933 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 971 fs/ceph/file.c size = min_t(u64, size, fsc->mount_options->wsize); fsc 973 fs/ceph/file.c size = min_t(u64, size, fsc->mount_options->rsize); fsc 976 fs/ceph/file.c req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, fsc 1048 fs/ceph/file.c ret = ceph_osdc_wait_request(&fsc->client->osdc, req); fsc 1135 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 1172 fs/ceph/file.c req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, fsc 1217 fs/ceph/file.c ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); fsc 1219 fs/ceph/file.c ret = ceph_osdc_wait_request(&fsc->client->osdc, req); fsc 1417 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 1418 fs/ceph/file.c struct ceph_osd_client *osdc = &fsc->client->osdc; fsc 1426 fs/ceph/file.c loff_t limit = max(i_size_read(inode), fsc->max_file_size); fsc 1609 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 1654 fs/ceph/file.c ret = vfs_setpos(file, offset, max(i_size, fsc->max_file_size)); fsc 1702 fs/ceph/file.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 1715 fs/ceph/file.c req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, fsc 1727 fs/ceph/file.c ret = ceph_osdc_start_request(&fsc->client->osdc, req, false); fsc 1729 fs/ceph/file.c ret = ceph_osdc_wait_request(&fsc->client->osdc, req); fsc 1221 fs/ceph/inode.c struct ceph_fs_client *fsc = ceph_sb_to_client(sb); fsc 1327 fs/ceph/inode.c fsc->mount_options->snapdir_name, fsc 1847 fs/ceph/inode.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 1853 fs/ceph/inode.c if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { fsc 2210 fs/ceph/inode.c struct ceph_fs_client *fsc = ceph_inode_to_client(inode); fsc 2221 fs/ceph/inode.c attr->ia_size > max(inode->i_size, fsc->max_file_size)) fsc 2243 fs/ceph/inode.c struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); fsc 2244 fs/ceph/inode.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 632 fs/ceph/mds_client.c ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); fsc 927 fs/ceph/mds_client.c if (!dir || dir->i_sb != mdsc->fsc->sb) { fsc 1080 fs/ceph/mds_client.c struct ceph_options *opt = mdsc->fsc->client->options; fsc 1081 fs/ceph/mds_client.c struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; fsc 1383 fs/ceph/mds_client.c struct ceph_fs_client *fsc = (struct ceph_fs_client *)arg; fsc 1397 fs/ceph/mds_client.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 1399 fs/ceph/mds_client.c if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { fsc 1484 fs/ceph/mds_client.c struct ceph_fs_client *fsc = session->s_mdsc->fsc; fsc 1485 fs/ceph/mds_client.c struct super_block *sb = fsc->sb; fsc 1489 fs/ceph/mds_client.c ceph_iterate_session_caps(session, remove_session_caps_cb, fsc); fsc 1491 fs/ceph/mds_client.c wake_up_all(&fsc->mdsc->cap_flushing_wq); fsc 1863 fs/ceph/mds_client.c struct ceph_osd_client *osdc = &mdsc->fsc->client->osdc; fsc 1971 fs/ceph/mds_client.c if (queue_work(mdsc->fsc->cap_wq, fsc 2007 fs/ceph/mds_client.c if (queue_work(mdsc->fsc->cap_wq, &mdsc->cap_reclaim_work)) { fsc 2035 fs/ceph/mds_client.c struct ceph_mount_options *opt = req->r_mdsc->fsc->mount_options; fsc 2094 fs/ceph/mds_client.c req->r_stamp = timespec64_trunc(ts, mdsc->fsc->sb->s_time_gran); fsc 2536 fs/ceph/mds_client.c if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { fsc 2541 fs/ceph/mds_client.c if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_MOUNTING) { fsc 2552 fs/ceph/mds_client.c if (!(mdsc->fsc->mount_options->flags & fsc 2935 fs/ceph/mds_client.c err = ceph_fill_trace(mdsc->fsc->sb, req); fsc 3177 fs/ceph/mds_client.c mdsc->fsc->blacklisted = true; fsc 3621 fs/ceph/mds_client.c if (mdsc->fsc->sb->s_root) fsc 3622 fs/ceph/mds_client.c shrink_dcache_parent(mdsc->fsc->sb->s_root); fsc 3866 fs/ceph/mds_client.c struct super_block *sb = mdsc->fsc->sb; fsc 4029 fs/ceph/mds_client.c struct ceph_fs_client *fsc = mdsc->fsc; fsc 4031 fs/ceph/mds_client.c if (!ceph_test_mount_opt(fsc, CLEANRECOVER)) fsc 4034 fs/ceph/mds_client.c if (READ_ONCE(fsc->mount_state) != CEPH_MOUNT_MOUNTED) fsc 4037 fs/ceph/mds_client.c if (!READ_ONCE(fsc->blacklisted)) fsc 4040 fs/ceph/mds_client.c if (fsc->last_auto_reconnect && fsc 4041 fs/ceph/mds_client.c time_before(jiffies, fsc->last_auto_reconnect + HZ * 60 * 30)) fsc 4045 fs/ceph/mds_client.c fsc->last_auto_reconnect = jiffies; fsc 4046 fs/ceph/mds_client.c ceph_force_reconnect(fsc->sb); fsc 4128 fs/ceph/mds_client.c int ceph_mdsc_init(struct ceph_fs_client *fsc) fsc 4136 fs/ceph/mds_client.c mdsc->fsc = fsc; fsc 4144 fs/ceph/mds_client.c fsc->mdsc = mdsc; fsc 4185 fs/ceph/mds_client.c ceph_adjust_caps_max_min(mdsc, fsc->mount_options); fsc 4205 fs/ceph/mds_client.c struct ceph_options *opts = mdsc->fsc->client->options; fsc 4301 fs/ceph/mds_client.c if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) fsc 4332 fs/ceph/mds_client.c if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) fsc 4342 fs/ceph/mds_client.c struct ceph_options *opts = mdsc->fsc->client->options; fsc 4441 fs/ceph/mds_client.c void ceph_mdsc_destroy(struct ceph_fs_client *fsc) fsc 4443 fs/ceph/mds_client.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 4454 fs/ceph/mds_client.c fsc->mdsc = NULL; fsc 4461 fs/ceph/mds_client.c struct ceph_fs_client *fsc = mdsc->fsc; fsc 4462 fs/ceph/mds_client.c const char *mds_namespace = fsc->mount_options->mds_namespace; fsc 4514 fs/ceph/mds_client.c ceph_monc_got_map(&fsc->client->monc, CEPH_SUB_FSMAP, epoch); fsc 4516 fs/ceph/mds_client.c fsc->client->monc.fs_cluster_id = mount_fscid; fsc 4517 fs/ceph/mds_client.c ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, fsc 4519 fs/ceph/mds_client.c ceph_monc_renew_subs(&fsc->client->monc); fsc 4550 fs/ceph/mds_client.c if (ceph_check_fsid(mdsc->fsc->client, &fsid) < 0) fsc 4580 fs/ceph/mds_client.c mdsc->fsc->max_file_size = min((loff_t)mdsc->mdsmap->m_max_file_size, fsc 4584 fs/ceph/mds_client.c ceph_monc_got_map(&mdsc->fsc->client->monc, CEPH_SUB_MDSMAP, fsc 4694 fs/ceph/mds_client.c struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; fsc 4722 fs/ceph/mds_client.c struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; fsc 4732 fs/ceph/mds_client.c struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; fsc 4741 fs/ceph/mds_client.c struct ceph_auth_client *ac = mdsc->fsc->client->monc.auth; fsc 4745 fs/ceph/mds_client.c return ceph_monc_validate_auth(&mdsc->fsc->client->monc); fsc 347 fs/ceph/mds_client.h struct ceph_fs_client *fsc; fsc 459 fs/ceph/mds_client.h extern int ceph_mdsc_init(struct ceph_fs_client *fsc); fsc 462 fs/ceph/mds_client.h extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc); fsc 25 fs/ceph/quota.c struct super_block *sb = mdsc->fsc->sb; fsc 41 fs/ceph/quota.c struct super_block *sb = mdsc->fsc->sb; fsc 478 fs/ceph/quota.c bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) fsc 480 fs/ceph/quota.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 488 fs/ceph/quota.c realm = get_quota_realm(mdsc, d_inode(fsc->sb->s_root), true); fsc 846 fs/ceph/snap.c struct super_block *sb = mdsc->fsc->sb; fsc 40 fs/ceph/super.c struct ceph_fs_client *fsc = ceph_sb_to_client(s); fsc 43 fs/ceph/super.c ceph_mdsc_close_sessions(fsc->mdsc); fsc 48 fs/ceph/super.c struct ceph_fs_client *fsc = ceph_inode_to_client(d_inode(dentry)); fsc 49 fs/ceph/super.c struct ceph_mon_client *monc = &fsc->client->monc; fsc 55 fs/ceph/super.c if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { fsc 56 fs/ceph/super.c data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; fsc 86 fs/ceph/super.c if (ceph_test_mount_opt(fsc, NOQUOTADF) || fsc 87 fs/ceph/super.c !ceph_quota_update_statfs(fsc, buf)) { fsc 111 fs/ceph/super.c struct ceph_fs_client *fsc = ceph_sb_to_client(sb); fsc 115 fs/ceph/super.c ceph_flush_dirty_caps(fsc->mdsc); fsc 121 fs/ceph/super.c ceph_osdc_sync(&fsc->client->osdc); fsc 122 fs/ceph/super.c ceph_mdsc_sync(fsc->mdsc); fsc 454 fs/ceph/super.c struct ceph_fs_client *fsc) fsc 457 fs/ceph/super.c struct ceph_mount_options *fsopt2 = fsc->mount_options; fsc 481 fs/ceph/super.c return ceph_compare_options(new_opt, fsc->client); fsc 580 fs/ceph/super.c struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb); fsc 581 fs/ceph/super.c struct ceph_mount_options *fsopt = fsc->mount_options; fsc 589 fs/ceph/super.c ret = ceph_print_client_options(m, fsc->client, false); fsc 663 fs/ceph/super.c struct ceph_fs_client *fsc = client->private; fsc 668 fs/ceph/super.c ceph_mdsc_handle_mdsmap(fsc->mdsc, msg); fsc 671 fs/ceph/super.c ceph_mdsc_handle_fsmap(fsc->mdsc, msg); fsc 686 fs/ceph/super.c struct ceph_fs_client *fsc; fsc 691 fs/ceph/super.c fsc = kzalloc(sizeof(*fsc), GFP_KERNEL); fsc 692 fs/ceph/super.c if (!fsc) { fsc 697 fs/ceph/super.c fsc->client = ceph_create_client(opt, fsc); fsc 698 fs/ceph/super.c if (IS_ERR(fsc->client)) { fsc 699 fs/ceph/super.c err = PTR_ERR(fsc->client); fsc 704 fs/ceph/super.c fsc->client->extra_mon_dispatch = extra_mon_dispatch; fsc 705 fs/ceph/super.c ceph_set_opt(fsc->client, ABORT_ON_FULL); fsc 708 fs/ceph/super.c ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_MDSMAP, fsc 711 fs/ceph/super.c ceph_monc_want_map(&fsc->client->monc, CEPH_SUB_FSMAP, fsc 715 fs/ceph/super.c fsc->mount_options = fsopt; fsc 717 fs/ceph/super.c fsc->sb = NULL; fsc 718 fs/ceph/super.c fsc->mount_state = CEPH_MOUNT_MOUNTING; fsc 719 fs/ceph/super.c fsc->filp_gen = 1; fsc 721 fs/ceph/super.c atomic_long_set(&fsc->writeback_count, 0); fsc 728 fs/ceph/super.c fsc->inode_wq = alloc_workqueue("ceph-inode", WQ_UNBOUND, 0); fsc 729 fs/ceph/super.c if (!fsc->inode_wq) fsc 731 fs/ceph/super.c fsc->cap_wq = alloc_workqueue("ceph-cap", 0, 1); fsc 732 fs/ceph/super.c if (!fsc->cap_wq) fsc 737 fs/ceph/super.c page_count = fsc->mount_options->wsize >> PAGE_SHIFT; fsc 739 fs/ceph/super.c fsc->wb_pagevec_pool = mempool_create_kmalloc_pool(10, size); fsc 740 fs/ceph/super.c if (!fsc->wb_pagevec_pool) fsc 743 fs/ceph/super.c return fsc; fsc 746 fs/ceph/super.c destroy_workqueue(fsc->cap_wq); fsc 748 fs/ceph/super.c destroy_workqueue(fsc->inode_wq); fsc 750 fs/ceph/super.c ceph_destroy_client(fsc->client); fsc 752 fs/ceph/super.c kfree(fsc); fsc 759 fs/ceph/super.c static void flush_fs_workqueues(struct ceph_fs_client *fsc) fsc 761 fs/ceph/super.c flush_workqueue(fsc->inode_wq); fsc 762 fs/ceph/super.c flush_workqueue(fsc->cap_wq); fsc 765 fs/ceph/super.c static void destroy_fs_client(struct ceph_fs_client *fsc) fsc 767 fs/ceph/super.c dout("destroy_fs_client %p\n", fsc); fsc 769 fs/ceph/super.c ceph_mdsc_destroy(fsc); fsc 770 fs/ceph/super.c destroy_workqueue(fsc->inode_wq); fsc 771 fs/ceph/super.c destroy_workqueue(fsc->cap_wq); fsc 773 fs/ceph/super.c mempool_destroy(fsc->wb_pagevec_pool); fsc 775 fs/ceph/super.c destroy_mount_options(fsc->mount_options); fsc 777 fs/ceph/super.c ceph_destroy_client(fsc->client); fsc 779 fs/ceph/super.c kfree(fsc); fsc 780 fs/ceph/super.c dout("destroy_fs_client %p done\n", fsc); fsc 877 fs/ceph/super.c struct ceph_fs_client *fsc = ceph_sb_to_client(sb); fsc 880 fs/ceph/super.c if (!fsc) fsc 882 fs/ceph/super.c fsc->mount_state = CEPH_MOUNT_SHUTDOWN; fsc 883 fs/ceph/super.c ceph_osdc_abort_requests(&fsc->client->osdc, -EIO); fsc 884 fs/ceph/super.c ceph_mdsc_force_umount(fsc->mdsc); fsc 885 fs/ceph/super.c fsc->filp_gen++; // invalidate open files fsc 912 fs/ceph/super.c static struct dentry *open_root_dentry(struct ceph_fs_client *fsc, fsc 916 fs/ceph/super.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 935 fs/ceph/super.c req->r_timeout = fsc->client->options->mount_timeout; fsc 960 fs/ceph/super.c static struct dentry *ceph_real_mount(struct ceph_fs_client *fsc) fsc 966 fs/ceph/super.c dout("mount start %p\n", fsc); fsc 967 fs/ceph/super.c mutex_lock(&fsc->client->mount_mutex); fsc 969 fs/ceph/super.c if (!fsc->sb->s_root) { fsc 970 fs/ceph/super.c const char *path = fsc->mount_options->server_path ? fsc 971 fs/ceph/super.c fsc->mount_options->server_path + 1 : ""; fsc 973 fs/ceph/super.c err = __ceph_open_session(fsc->client, started); fsc 978 fs/ceph/super.c if (fsc->mount_options->flags & CEPH_MOUNT_OPT_FSCACHE) { fsc 979 fs/ceph/super.c err = ceph_fscache_register_fs(fsc); fsc 986 fs/ceph/super.c ceph_fs_debugfs_init(fsc); fsc 988 fs/ceph/super.c root = open_root_dentry(fsc, path, started); fsc 993 fs/ceph/super.c fsc->sb->s_root = dget(root); fsc 995 fs/ceph/super.c root = dget(fsc->sb->s_root); fsc 998 fs/ceph/super.c fsc->mount_state = CEPH_MOUNT_MOUNTED; fsc 1000 fs/ceph/super.c mutex_unlock(&fsc->client->mount_mutex); fsc 1004 fs/ceph/super.c mutex_unlock(&fsc->client->mount_mutex); fsc 1010 fs/ceph/super.c struct ceph_fs_client *fsc = data; fsc 1015 fs/ceph/super.c s->s_flags = fsc->mount_options->sb_flags; fsc 1019 fs/ceph/super.c s->s_fs_info = fsc; fsc 1020 fs/ceph/super.c fsc->sb = s; fsc 1021 fs/ceph/super.c fsc->max_file_size = 1ULL << 40; /* temp value until we get mdsmap */ fsc 1039 fs/ceph/super.c fsc->sb = NULL; fsc 1076 fs/ceph/super.c static int ceph_setup_bdi(struct super_block *sb, struct ceph_fs_client *fsc) fsc 1086 fs/ceph/super.c sb->s_bdi->ra_pages = fsc->mount_options->rasize >> PAGE_SHIFT; fsc 1089 fs/ceph/super.c sb->s_bdi->io_pages = fsc->mount_options->rsize >> PAGE_SHIFT; fsc 1098 fs/ceph/super.c struct ceph_fs_client *fsc; fsc 1117 fs/ceph/super.c fsc = create_fs_client(fsopt, opt); fsc 1118 fs/ceph/super.c if (IS_ERR(fsc)) { fsc 1119 fs/ceph/super.c res = ERR_CAST(fsc); fsc 1123 fs/ceph/super.c err = ceph_mdsc_init(fsc); fsc 1129 fs/ceph/super.c if (ceph_test_opt(fsc->client, NOSHARE)) fsc 1131 fs/ceph/super.c sb = sget(fs_type, compare_super, ceph_set_super, flags, fsc); fsc 1137 fs/ceph/super.c if (ceph_sb_to_client(sb) != fsc) { fsc 1138 fs/ceph/super.c destroy_fs_client(fsc); fsc 1139 fs/ceph/super.c fsc = ceph_sb_to_client(sb); fsc 1140 fs/ceph/super.c dout("get_sb got existing client %p\n", fsc); fsc 1142 fs/ceph/super.c dout("get_sb using new client %p\n", fsc); fsc 1143 fs/ceph/super.c err = ceph_setup_bdi(sb, fsc); fsc 1150 fs/ceph/super.c res = ceph_real_mount(fsc); fsc 1158 fs/ceph/super.c if (!ceph_mdsmap_is_cluster_available(fsc->mdsc->mdsmap)) { fsc 1163 fs/ceph/super.c ceph_mdsc_close_sessions(fsc->mdsc); fsc 1168 fs/ceph/super.c destroy_fs_client(fsc); fsc 1176 fs/ceph/super.c struct ceph_fs_client *fsc = ceph_sb_to_client(s); fsc 1181 fs/ceph/super.c ceph_mdsc_pre_umount(fsc->mdsc); fsc 1182 fs/ceph/super.c flush_fs_workqueues(fsc); fsc 1186 fs/ceph/super.c fsc->client->extra_mon_dispatch = NULL; fsc 1187 fs/ceph/super.c ceph_fs_debugfs_cleanup(fsc); fsc 1189 fs/ceph/super.c ceph_fscache_unregister_fs(fsc); fsc 1191 fs/ceph/super.c destroy_fs_client(fsc); fsc 1206 fs/ceph/super.c struct ceph_fs_client *fsc = ceph_sb_to_client(sb); fsc 1213 fs/ceph/super.c flush_workqueue(fsc->inode_wq); fsc 1217 fs/ceph/super.c ceph_reset_client_addr(fsc->client); fsc 1219 fs/ceph/super.c ceph_osdc_clear_abort_err(&fsc->client->osdc); fsc 1221 fs/ceph/super.c fsc->blacklisted = false; fsc 1222 fs/ceph/super.c fsc->mount_state = CEPH_MOUNT_MOUNTED; fsc 51 fs/ceph/super.h #define ceph_set_mount_opt(fsc, opt) \ fsc 52 fs/ceph/super.h (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt; fsc 53 fs/ceph/super.h #define ceph_test_mount_opt(fsc, opt) \ fsc 54 fs/ceph/super.h (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) fsc 1178 fs/ceph/super.h extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, fsc 59 fs/ceph/xattr.c struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); fsc 60 fs/ceph/xattr.c struct ceph_osd_client *osdc = &fsc->client->osdc; fsc 162 fs/ceph/xattr.c struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); fsc 163 fs/ceph/xattr.c struct ceph_osd_client *osdc = &fsc->client->osdc; fsc 948 fs/ceph/xattr.c struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); fsc 951 fs/ceph/xattr.c struct ceph_mds_client *mdsc = fsc->mdsc; fsc 584 fs/cifs/cifsglob.h bool fsc:1; /* enable fscache */ fsc 1956 fs/cifs/connect.c vol->fsc = true; fsc 4155 fs/cifs/connect.c if (pvolume_info->fsc) fsc 1222 fs/fuse/inode.c static int fuse_fill_super(struct super_block *sb, struct fs_context *fsc) fsc 1224 fs/fuse/inode.c struct fuse_fs_context *ctx = fsc->fs_private; fsc 1136 fs/fuse/virtio_fs.c struct fs_context *fsc) fsc 1138 fs/fuse/virtio_fs.c struct fuse_conn *fc = fsc->s_fs_info; fsc 1144 fs/fuse/virtio_fs.c struct fs_context *fsc) fsc 1150 fs/fuse/virtio_fs.c fuse_conn_get(fsc->s_fs_info); fsc 1155 fs/fuse/virtio_fs.c static int virtio_fs_get_tree(struct fs_context *fsc) fsc 1166 fs/fuse/virtio_fs.c fs = virtio_fs_find_instance(fsc->source); fsc 1168 fs/fuse/virtio_fs.c pr_info("virtio-fs: tag <%s> not found\n", fsc->source); fsc 1185 fs/fuse/virtio_fs.c fsc->s_fs_info = fc; fsc 1186 fs/fuse/virtio_fs.c sb = sget_fc(fsc, virtio_fs_test_super, virtio_fs_set_super); fsc 1201 fs/fuse/virtio_fs.c WARN_ON(fsc->root); fsc 1202 fs/fuse/virtio_fs.c fsc->root = dget(sb->s_root); fsc 1210 fs/fuse/virtio_fs.c static int virtio_fs_init_fs_context(struct fs_context *fsc) fsc 1212 fs/fuse/virtio_fs.c fsc->ops = &virtio_fs_context_ops; fsc 125 fs/xfs/scrub/fscounters.c struct xchk_fscounters *fsc; fsc 131 fs/xfs/scrub/fscounters.c fsc = sc->buf; fsc 133 fs/xfs/scrub/fscounters.c xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); fsc 159 fs/xfs/scrub/fscounters.c struct xchk_fscounters *fsc) fsc 168 fs/xfs/scrub/fscounters.c fsc->icount = 0; fsc 169 fs/xfs/scrub/fscounters.c fsc->ifree = 0; fsc 170 fs/xfs/scrub/fscounters.c fsc->fdblocks = 0; fsc 182 fs/xfs/scrub/fscounters.c fsc->icount += pag->pagi_count; fsc 183 fs/xfs/scrub/fscounters.c fsc->ifree += pag->pagi_freecount; fsc 186 fs/xfs/scrub/fscounters.c fsc->fdblocks += pag->pagf_freeblks; fsc 187 fs/xfs/scrub/fscounters.c fsc->fdblocks += pag->pagf_flcount; fsc 188 fs/xfs/scrub/fscounters.c fsc->fdblocks += pag->pagf_btreeblks; fsc 194 fs/xfs/scrub/fscounters.c fsc->fdblocks -= pag->pag_meta_resv.ar_reserved; fsc 195 fs/xfs/scrub/fscounters.c fsc->fdblocks -= pag->pag_rmapbt_resv.ar_orig_reserved; fsc 207 fs/xfs/scrub/fscounters.c fsc->fdblocks -= mp->m_resblks_avail; fsc 215 fs/xfs/scrub/fscounters.c fsc->fdblocks -= delayed; fsc 217 fs/xfs/scrub/fscounters.c trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, fsc 222 fs/xfs/scrub/fscounters.c if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max || fsc 223 fs/xfs/scrub/fscounters.c fsc->fdblocks > mp->m_sb.sb_dblocks || fsc 224 fs/xfs/scrub/fscounters.c fsc->ifree > fsc->icount_max) fsc 232 fs/xfs/scrub/fscounters.c if (fsc->ifree > fsc->icount) { fsc 307 fs/xfs/scrub/fscounters.c struct xchk_fscounters *fsc = sc->buf; fsc 321 fs/xfs/scrub/fscounters.c if (icount < fsc->icount_min || icount > fsc->icount_max) fsc 336 fs/xfs/scrub/fscounters.c error = xchk_fscount_aggregate_agcounts(sc, fsc); fsc 343 fs/xfs/scrub/fscounters.c if (!xchk_fscount_within_range(sc, icount, &mp->m_icount, fsc->icount)) fsc 346 fs/xfs/scrub/fscounters.c if (!xchk_fscount_within_range(sc, ifree, &mp->m_ifree, fsc->ifree)) fsc 350 fs/xfs/scrub/fscounters.c fsc->fdblocks)) fsc 890 net/sched/sch_hfsc.c hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) fsc 892 net/sched/sch_hfsc.c sc2isc(fsc, &cl->cl_fsc); fsc 922 net/sched/sch_hfsc.c struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; fsc 941 net/sched/sch_hfsc.c fsc = nla_data(tb[TCA_HFSC_FSC]); fsc 942 net/sched/sch_hfsc.c if (fsc->m1 == 0 && fsc->m2 == 0) fsc 943 net/sched/sch_hfsc.c fsc = NULL; fsc 979 net/sched/sch_hfsc.c if (fsc != NULL) fsc 980 net/sched/sch_hfsc.c hfsc_change_fsc(cl, fsc); fsc 1021 net/sched/sch_hfsc.c if (rsc == NULL && fsc == NULL) fsc 1048 net/sched/sch_hfsc.c if (fsc != NULL) fsc 1049 net/sched/sch_hfsc.c hfsc_change_fsc(cl, fsc);