| /OK3568_Linux_fs/kernel/fs/ceph/ |
| H A D | super.c | 44 struct ceph_fs_client *fsc = ceph_sb_to_client(s); in ceph_put_super() local 47 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super() 52 struct ceph_fs_client *fsc = ceph_inode_to_client(d_inode(dentry)); in ceph_statfs() local 53 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs() 58 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs() 59 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs() 89 if (ceph_test_mount_opt(fsc, NOQUOTADF) || in ceph_statfs() 90 !ceph_quota_update_statfs(fsc, buf)) { in ceph_statfs() 115 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_sync_fs() local 119 ceph_flush_dirty_caps(fsc->mdsc); in ceph_sync_fs() [all …]
|
| H A D | debugfs.c | 28 struct ceph_fs_client *fsc = s->private; in mdsmap_show() local 31 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show() 33 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show() 54 struct ceph_fs_client *fsc = s->private; in mdsc_show() local 55 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show() 145 struct ceph_fs_client *fsc = s->private; in metric_show() local 146 struct ceph_mds_client *mdsc = fsc->mdsc; in metric_show() 225 struct ceph_fs_client *fsc = s->private; in caps_show() local 226 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show() 230 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show() [all …]
|
| H A D | cache.c | 53 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc) in ceph_fscache_register_fs() argument 55 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() 56 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs() 88 fsc->fscache = fscache_acquire_cookie(ceph_cache_netfs.primary_index, in ceph_fscache_register_fs() 92 fsc, 0, true); in ceph_fscache_register_fs() 94 if (fsc->fscache) { in ceph_fscache_register_fs() 95 ent->fscache = fsc->fscache; in ceph_fscache_register_fs() 141 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_fscache_register_inode_cookie() local 145 if (!fsc->fscache) in ceph_fscache_register_inode_cookie() 158 ci->fscache = fscache_acquire_cookie(fsc->fscache, in ceph_fscache_register_inode_cookie() [all …]
|
| H A D | addr.c | 182 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_do_readpage() local 183 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_do_readpage() 227 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency, in ceph_do_readpage() 238 fsc->blocklisted = true; in ceph_do_readpage() 270 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in finish_read() local 309 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency, in finish_read() 457 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readpages() local 473 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages() 595 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in writepage_nounlock() local 601 struct ceph_osd_client *osdc = &fsc->client->osdc; in writepage_nounlock() [all …]
|
| H A D | cache.h | 19 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc); 20 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); 91 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, in ceph_fscache_register_fs() argument 97 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
|
| H A D | file.c | 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() 690 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local 691 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() 695 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_atomic_open() 872 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_read() local 873 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read() 932 ceph_update_read_latency(&fsc->mdsc->metric, in ceph_sync_read() 974 fsc->blocklisted = true; in ceph_sync_read() 1211 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_direct_read_write() local [all …]
|
| H A D | mds_client.c | 747 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session() 1079 if (!dir || dir->i_sb != mdsc->fsc->sb) { in __choose_mds() 1290 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg() 1291 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg() 1640 struct ceph_fs_client *fsc = (struct ceph_fs_client *)arg; in remove_session_caps_cb() local 1641 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb() 1655 if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in remove_session_caps_cb() 1746 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local 1747 struct super_block *sb = fsc->sb; in remove_session_caps() 1751 ceph_iterate_session_caps(session, remove_session_caps_cb, fsc); in remove_session_caps() [all …]
|
| H A D | dir.c | 310 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readdir() local 311 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir() 348 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir() 349 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir() 680 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir() local 687 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 748 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local 769 fsc->mount_options->snapdir_name, in ceph_lookup() 772 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup() 1129 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_unlink() local [all …]
|
| H A D | quota.c | 41 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_quota() 476 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument 478 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs() 486 realm = get_quota_realm(mdsc, d_inode(fsc->sb->s_root), true); in ceph_quota_update_statfs()
|
| H A D | super.h | 52 #define ceph_set_mount_opt(fsc, opt) \ argument 53 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 54 #define ceph_clear_mount_opt(fsc, opt) \ argument 55 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 56 #define ceph_test_mount_opt(fsc, opt) \ argument 57 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 1257 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
|
| H A D | mds_client.h | 379 struct ceph_fs_client *fsc; member 491 extern int ceph_mdsc_init(struct ceph_fs_client *fsc); 494 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
|
| H A D | export.c | 429 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in __get_snap_name() local 439 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name() 452 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, in __get_snap_name() 477 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); in __get_snap_name()
|
| H A D | xattr.c | 59 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout() local 60 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout() 163 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout_pool() local 164 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout_pool() 957 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_sync_setxattr() local 960 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
|
| /OK3568_Linux_fs/kernel/fs/xfs/scrub/ |
| H A D | fscounters.c | 122 struct xchk_fscounters *fsc; in xchk_setup_fscounters() local 128 fsc = sc->buf; in xchk_setup_fscounters() 130 xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); in xchk_setup_fscounters() 156 struct xchk_fscounters *fsc) in xchk_fscount_aggregate_agcounts() argument 166 fsc->icount = 0; in xchk_fscount_aggregate_agcounts() 167 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts() 168 fsc->fdblocks = 0; in xchk_fscount_aggregate_agcounts() 180 fsc->icount += pag->pagi_count; in xchk_fscount_aggregate_agcounts() 181 fsc->ifree += pag->pagi_freecount; in xchk_fscount_aggregate_agcounts() 184 fsc->fdblocks += pag->pagf_freeblks; in xchk_fscount_aggregate_agcounts() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/ |
| H A D | 0001-Fix-imports-for-ptests.patch | 884 - fsc = utils.find_stat_by_name(stats, "c") 897 - self.assertEqual(fsb.children[fsc].ttot, fsc.ttot) 898 - self.assertEqual(fsb.children[fsc].tsub, fsc.tsub) 899 - self.assertEqual(fsc.tsub, 6) 900 - self.assertEqual(fsc.children[fsd].ttot, fsd.ttot) 901 - self.assertEqual(fsc.children[fsd].tsub, fsd.tsub) 1001 - fsc = utils.find_stat_by_name(stats, "c") 1003 - self.assertEqual(fsa.ncall, fsb.ncall, fsc.ncall) 1077 - fsc = utils.find_stat_by_name(stats, "c") 1083 - self.assertEqual(fsc.ttot, 8) [all …]
|
| /OK3568_Linux_fs/kernel/fs/fuse/ |
| H A D | virtio_fs.c | 1296 static int virtio_fs_fill_super(struct super_block *sb, struct fs_context *fsc) in virtio_fs_fill_super() argument 1301 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_fill_super() 1407 struct fs_context *fsc) in virtio_fs_test_super() argument 1409 struct fuse_mount *fsc_fm = fsc->s_fs_info; in virtio_fs_test_super() 1416 struct fs_context *fsc) in virtio_fs_set_super() argument 1422 fuse_mount_get(fsc->s_fs_info); in virtio_fs_set_super() 1427 static int virtio_fs_get_tree(struct fs_context *fsc) in virtio_fs_get_tree() argument 1439 fs = virtio_fs_find_instance(fsc->source); in virtio_fs_get_tree() 1441 pr_info("virtio-fs: tag <%s> not found\n", fsc->source); in virtio_fs_get_tree() 1462 fuse_conn_init(fc, fm, fsc->user_ns, &virtio_fs_fiq_ops, fs); in virtio_fs_get_tree() [all …]
|
| H A D | dir.c | 311 struct fs_context *fsc; in fuse_dentry_automount() local 320 fsc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry); in fuse_dentry_automount() 321 if (IS_ERR(fsc)) { in fuse_dentry_automount() 322 err = PTR_ERR(fsc); in fuse_dentry_automount() 332 fsc->s_fs_info = fm; in fuse_dentry_automount() 333 sb = sget_fc(fsc, NULL, set_anon_super_fc); in fuse_dentry_automount() 355 fsc->root = dget(sb->s_root); in fuse_dentry_automount() 371 mnt = vfs_create_mount(fsc); in fuse_dentry_automount() 377 put_fs_context(fsc); in fuse_dentry_automount() 387 put_fs_context(fsc); in fuse_dentry_automount()
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | imx335.c | 855 u32 fsc; in imx335_set_hdrae() local 912 fsc = imx335->cur_vts; in imx335_set_hdrae() 914 shr0 = fsc - l_exp_time; in imx335_set_hdrae() 918 rhs1_min = max(SHR1_MIN + 4u, rhs1_old + 2 * BRL - fsc + 2); in imx335_set_hdrae() 950 else if (shr0 > fsc - 4) in imx335_set_hdrae() 951 shr0 = fsc - 4; in imx335_set_hdrae() 957 fsc, RHS1_MAX, SHR1_MIN, rhs1_max); in imx335_set_hdrae() 1016 u32 fsc; in imx335_set_hdrae_3frame() local 1085 fsc = imx335->cur_vts; in imx335_set_hdrae_3frame() 1086 fsc = fsc / 6 * 6; in imx335_set_hdrae_3frame() [all …]
|
| H A D | imx415.c | 1265 u32 fsc; in imx415_set_hdrae_3frame() local 1335 fsc = imx415->cur_vts; in imx415_set_hdrae_3frame() 1336 fsc = fsc / 6 * 6; in imx415_set_hdrae_3frame() 1337 shr0 = fsc - l_exp_time; in imx415_set_hdrae_3frame() 1340 __LINE__, shr0, l_exp_time, fsc); in imx415_set_hdrae_3frame() 1357 rhs1_change_limit = rhs1_old + 3 * BRL_ALL - fsc + 3; in imx415_set_hdrae_3frame() 1359 rhs1_change_limit = rhs1_old + 3 * BRL_BINNING - fsc + 3; in imx415_set_hdrae_3frame() 1397 rhs2_change_limit = rhs2_old + 3 * BRL_ALL - fsc + 3; in imx415_set_hdrae_3frame() 1399 rhs2_change_limit = rhs2_old + 3 * BRL_BINNING - fsc + 3; in imx415_set_hdrae_3frame() 1426 else if (shr0 > fsc - 12) in imx415_set_hdrae_3frame() [all …]
|
| H A D | imx464.c | 1749 u32 fsc = IMX464->cur_vts; in IMX464_set_hdrae() local 1832 shr0 = fsc - l_exp_time; in IMX464_set_hdrae() 1843 rhs1_change_limit = rhs1_old + 2 * BRL - fsc + 2; in IMX464_set_hdrae() 1855 (rhs1_old + 2 * BRL - fsc + 2)); in IMX464_set_hdrae() 1874 else if (shr0 > (fsc - 2)) in IMX464_set_hdrae() 1875 shr0 = fsc - 2; in IMX464_set_hdrae() 1879 fsc, RHS1_MAX, SHR1_MIN, rhs1_max); in IMX464_set_hdrae() 1941 u32 fsc; in IMX464_set_hdrae_3frame() local 2028 fsc = IMX464->cur_vts; in IMX464_set_hdrae_3frame() 2029 shr0 = fsc - l_exp_time; in IMX464_set_hdrae_3frame() [all …]
|
| H A D | imx334.c | 890 u32 fsc = imx334->cur_vts; in imx334_set_hdrae() local 926 shr0 = fsc - l_exp_time; in imx334_set_hdrae() 938 rhs1_change_limit = rhs1_old + 2 * BRL - fsc + 2; in imx334_set_hdrae() 947 (rhs1_old + 2 * BRL - fsc + 2)); in imx334_set_hdrae() 959 else if (shr0 > (fsc - 2)) in imx334_set_hdrae() 960 shr0 = fsc - 2; in imx334_set_hdrae() 964 fsc, RHS1_MAX, SHR1_MIN, rhs1_max); in imx334_set_hdrae()
|
| H A D | imx347.c | 1074 u32 fsc = imx347->cur_vts; in imx347_set_hdrae() local 1135 shr0 = fsc - l_exp_time; in imx347_set_hdrae() 1146 rhs1_change_limit = rhs1_old + 2 * BRL - fsc + 2; in imx347_set_hdrae() 1154 (rhs1_old + 2 * BRL - fsc + 2)); in imx347_set_hdrae() 1173 else if (shr0 > (fsc - 2)) in imx347_set_hdrae() 1174 shr0 = fsc - 2; in imx347_set_hdrae() 1178 fsc, RHS1_MAX, SHR1_MIN, rhs1_max); in imx347_set_hdrae()
|
| /OK3568_Linux_fs/kernel/net/sched/ |
| H A D | sch_hfsc.c | 890 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc() argument 892 sc2isc(fsc, &cl->cl_fsc); in hfsc_change_fsc() 922 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_change_class() local 941 fsc = nla_data(tb[TCA_HFSC_FSC]); in hfsc_change_class() 942 if (fsc->m1 == 0 && fsc->m2 == 0) in hfsc_change_class() 943 fsc = NULL; in hfsc_change_class() 979 if (fsc != NULL) in hfsc_change_class() 980 hfsc_change_fsc(cl, fsc); in hfsc_change_class() 1021 if (rsc == NULL && fsc == NULL) in hfsc_change_class() 1048 if (fsc != NULL) in hfsc_change_class() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/esas2r/ |
| H A D | esas2r_flash.c | 851 struct esas2r_ioctlfs_command *fsc = &fs->command; in esas2r_process_fs_ioctl() local 863 if (fsc->command >= cmdcnt) { in esas2r_process_fs_ioctl() 868 func = cmd_to_fls_func[fsc->command]; in esas2r_process_fs_ioctl() 874 if (fsc->command != ESAS2R_FS_CMD_CANCEL) { in esas2r_process_fs_ioctl() 900 datalen = le32_to_cpu(fsc->length); in esas2r_process_fs_ioctl() 904 fsc->checksum, in esas2r_process_fs_ioctl() 905 le32_to_cpu(fsc->flash_addr), in esas2r_process_fs_ioctl()
|
| /OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/ |
| H A D | smt.c | 84 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc); 941 smt_fill_fsc(smc,&nif->fsc) ; /* set frame status cap. */ in smt_send_nif() 1443 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) in smt_fill_fsc() argument 1446 SMTSETPARA(fsc,SMT_P_FSC) ; in smt_fill_fsc() 1447 fsc->fsc_pad0 = 0 ; in smt_fill_fsc() 1448 fsc->fsc_mac_index = INDEX_MAC ; /* this is MIB ; MIB is NOT in smt_fill_fsc() 1451 fsc->fsc_pad1 = 0 ; in smt_fill_fsc() 1452 fsc->fsc_value = FSC_TYPE0 ; /* "normal" node */ in smt_fill_fsc() 1454 fsc->fsc_mac_index = smt_swap_short(INDEX_MAC) ; in smt_fill_fsc() 1455 fsc->fsc_value = smt_swap_short(FSC_TYPE0) ; in smt_fill_fsc()
|