/openbmc/linux/fs/xfs/scrub/ |
H A D | fscounters.c | 196 if (!fsc->frozen) in xchk_fscounters_cleanup() 224 fsc = sc->buf; in xchk_setup_fscounters() 225 fsc->sc = sc; in xchk_setup_fscounters() 227 xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); in xchk_setup_fscounters() 308 fsc->icount = 0; in xchk_fscount_aggregate_agcounts() 309 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts() 367 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts() 372 if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max || in xchk_fscount_aggregate_agcounts() 374 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts() 382 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts() [all …]
|
/openbmc/linux/fs/ceph/ |
H A D | debugfs.c | 31 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show() 421 fsc, in ceph_fs_debugfs_init() 426 fsc->debugfs_bdi = in ceph_fs_debugfs_init() 434 fsc, in ceph_fs_debugfs_init() 440 fsc, in ceph_fs_debugfs_init() 446 fsc, in ceph_fs_debugfs_init() 452 fsc, in ceph_fs_debugfs_init() 458 fsc, in ceph_fs_debugfs_init() 464 debugfs_create_file("file", 0400, fsc->debugfs_metrics_dir, fsc, in ceph_fs_debugfs_init() 468 debugfs_create_file("size", 0400, fsc->debugfs_metrics_dir, fsc, in ceph_fs_debugfs_init() [all …]
|
H A D | super.c | 809 fsc = kzalloc(sizeof(*fsc), GFP_KERNEL); in create_fs_client() 810 if (!fsc) { in create_fs_client() 815 fsc->client = ceph_create_client(opt, fsc); in create_fs_client() 835 fsc->sb = NULL; in create_fs_client() 852 if (!fsc->cap_wq) in create_fs_client() 862 return fsc; in create_fs_client() 869 kfree(fsc); in create_fs_client() 898 kfree(fsc); in destroy_fs_client() 1022 if (!fsc) in ceph_umount_begin() 1202 fsc->sb = s; in ceph_set_super() [all …]
|
H A D | cache.c | 18 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_fscache_register_inode_cookie() local 21 if (!fsc->fscache) in ceph_fscache_register_inode_cookie() 35 fscache_acquire_cookie(fsc->fscache, 0, in ceph_fscache_register_inode_cookie() 88 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() 89 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs() 99 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); in ceph_fscache_register_fs() 100 if (IS_ERR_OR_NULL(fsc->fscache)) { in ceph_fscache_register_fs() 102 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs() 103 fsc->fscache = NULL; in ceph_fscache_register_fs() 109 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument [all …]
|
H A D | addr.c | 263 fsc->blocklisted = true; in finish_netfs_read() 715 fsc->write_congested = true; in writepage_nounlock() 778 fsc->blocklisted = true; in writepage_nounlock() 795 fsc->write_congested = false; in writepage_nounlock() 852 fsc->blocklisted = true; in writepages_finish() 893 fsc->write_congested = false; in writepages_finish() 948 fsc->write_congested) in ceph_writepages_start() 1156 fsc->write_congested = true; in ceph_writepages_start() 1941 up_read(&fsc->mdsc->snap_rwsem); in ceph_uninline_data() 2109 fsc->blocklisted = true; in __ceph_pool_perm_get() [all …]
|
H A D | cache.h | 17 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc); 18 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc); 79 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, in ceph_fscache_register_fs() argument 85 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
|
H A D | mds_client.c | 1889 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local 1890 struct super_block *sb = fsc->sb; in remove_session_caps() 2381 if (queue_work(mdsc->fsc->cap_wq, in ceph_flush_cap_releases() 4093 mdsc->fsc->blocklisted = true; in handle_session() 4598 if (mdsc->fsc->sb->s_root) in send_mds_reconnect() 5050 struct ceph_fs_client *fsc = mdsc->fsc; in maybe_recover_session() local 5062 ceph_force_reconnect(fsc->sb); in maybe_recover_session() 5189 mdsc->fsc = fsc; in ceph_mdsc_init() 5244 fsc->mdsc = mdsc; in ceph_mdsc_init() 5566 fsc->mdsc = NULL; in ceph_mdsc_destroy() [all …]
|
H A D | dir.c | 314 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir() 355 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir() 356 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir() 807 fsc->mount_options->snapdir_name, in ceph_lookup() 810 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup() 1211 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb() 1213 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb() 1294 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink() 1342 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink() 1345 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink() [all …]
|
H A D | file.c | 356 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() 734 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() 966 struct ceph_osd_client *osdc = &fsc->client->osdc; in __ceph_sync_read() 1053 ceph_update_read_metrics(&fsc->mdsc->metric, in __ceph_sync_read() 1136 fsc->blocklisted = true; in __ceph_sync_read() 1617 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_write() 1776 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_write() 2496 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_zero_partial_object() 2771 struct ceph_fs_client *fsc, in ceph_do_objects_copy() argument 2788 osdc = &fsc->client->osdc; in ceph_do_objects_copy() [all …]
|
H A D | super.h | 53 #define ceph_set_mount_opt(fsc, opt) \ argument 54 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 55 #define ceph_clear_mount_opt(fsc, opt) \ argument 56 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 57 #define ceph_test_mount_opt(fsc, opt) \ argument 58 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 1109 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_inode_is_shutdown() local 1110 int state = READ_ONCE(fsc->mount_state); in ceph_inode_is_shutdown() 1413 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
|
H A D | quota.c | 44 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_quota() 483 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument 485 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs() 493 get_quota_realm(mdsc, d_inode(fsc->sb->s_root), QUOTA_GET_MAX_BYTES, in ceph_quota_update_statfs()
|
H A D | xattr.c | 60 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_layout() local 61 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout() 164 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_layout_pool() local 165 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout_pool() 316 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_cluster_fsid() local 318 return ceph_fmt_xattr(val, size, "%pU", &fsc->client->fsid); in ceph_vxattrcb_cluster_fsid() 324 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_client_id() local 327 ceph_client_gid(fsc->client)); in ceph_vxattrcb_client_id() 1097 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); in ceph_sync_setxattr() local 1100 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr() [all …]
|
/openbmc/qemu/target/arm/ |
H A D | internals.h | 590 uint32_t fsc; in arm_fi_to_sfsc() local 599 fsc = 0x1; in arm_fi_to_sfsc() 630 fsc = 0x2; in arm_fi_to_sfsc() 642 fsc = 0x4; in arm_fi_to_sfsc() 645 fsc = 0x0; in arm_fi_to_sfsc() 661 return fsc; in arm_fi_to_sfsc() 671 uint32_t fsc; in arm_fi_to_lfsc() local 713 fsc = 0x18; in arm_fi_to_lfsc() 724 fsc = 0x19; in arm_fi_to_lfsc() 765 fsc |= 1 << 9; in arm_fi_to_lfsc() [all …]
|
H A D | syndrome.h | 271 int cm, int s1ptw, int wnr, int fsc) in syn_gpc() argument 275 | (s1ptw << 7) | (wnr << 6) | fsc; in syn_gpc() 278 static inline uint32_t syn_insn_abort(int same_el, int ea, int s1ptw, int fsc) in syn_insn_abort() argument 281 | ARM_EL_IL | (ea << 9) | (s1ptw << 7) | fsc; in syn_insn_abort() 286 int wnr, int fsc) in syn_data_abort_no_iss() argument 291 | (wnr << 6) | fsc; in syn_data_abort_no_iss() 298 int wnr, int fsc, in syn_data_abort_with_iss() argument 305 | (ea << 9) | (cm << 8) | (s1ptw << 7) | (wnr << 6) | fsc; in syn_data_abort_with_iss() 312 static inline uint32_t syn_data_abort_vncr(int ea, int wnr, int fsc) in syn_data_abort_vncr() argument 315 | ARM_EL_IL | ARM_EL_VNCR | (wnr << 6) | fsc; in syn_data_abort_vncr()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | tlb_helper.c | 31 int fsc) in merge_syn_data_abort() argument 60 syn = syn_data_abort_vncr(fi->ea, is_write, fsc); in merge_syn_data_abort() 85 uint32_t fsr, fsc; in compute_fsr_fsc() local 103 fsc = extract32(fsr, 0, 6); in compute_fsr_fsc() 112 fsc = 0x3f; in compute_fsr_fsc() 115 *ret_fsc = fsc; in compute_fsr_fsc() 179 uint32_t syn, exc, fsr, fsc; in arm_deliver_fault() local 204 access_type == MMU_DATA_STORE, fsc); in arm_deliver_fault() 243 fsr = compute_fsr_fsc(env, fi, target_el, mmu_idx, &fsc); in arm_deliver_fault() 251 fsc); in arm_deliver_fault() [all …]
|
/openbmc/linux/fs/fuse/ |
H A D | inode.c | 182 if (fsc->sb_flags & SB_MANDLOCK) in fuse_reconfigure() 762 if (fsc->oldapi) in fuse_parse_param() 774 if (fsc->source) in fuse_parse_param() 776 fsc->source = param->string; in fuse_parse_param() 1608 fsc->s_fs_info = fm; in fuse_get_tree_submount() 1610 if (fsc->s_fs_info) in fuse_get_tree_submount() 1627 fsc->root = dget(sb->s_root); in fuse_get_tree_submount() 1809 fsc->s_fs_info = fm; in fuse_get_tree() 1832 fsc->sget_key = fud->fc; in fuse_get_tree() 1841 if (fsc->s_fs_info) in fuse_get_tree() [all …]
|
H A D | virtio_fs.c | 114 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_parse_param() 137 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_free_fsc() 1416 struct fs_context *fsc) in virtio_fs_test_super() argument 1437 fs = virtio_fs_find_instance(fsc->source); in virtio_fs_get_tree() 1466 fsc->s_fs_info = fm; in virtio_fs_get_tree() 1468 if (fsc->s_fs_info) in virtio_fs_get_tree() 1474 err = virtio_fs_fill_super(sb, fsc); in virtio_fs_get_tree() 1483 WARN_ON(fsc->root); in virtio_fs_get_tree() 1484 fsc->root = dget(sb->s_root); in virtio_fs_get_tree() 1511 fsc->fs_private = ctx; in virtio_fs_init_fs_context() [all …]
|
H A D | control.c | 314 static int fuse_ctl_fill_super(struct super_block *sb, struct fs_context *fsc) in fuse_ctl_fill_super() argument 340 static int fuse_ctl_get_tree(struct fs_context *fsc) in fuse_ctl_get_tree() argument 342 return get_tree_single(fsc, fuse_ctl_fill_super); in fuse_ctl_get_tree() 349 static int fuse_ctl_init_fs_context(struct fs_context *fsc) in fuse_ctl_init_fs_context() argument 351 fsc->ops = &fuse_ctl_context_ops; in fuse_ctl_init_fs_context()
|
/openbmc/qemu/hw/intc/ |
H A D | s390_flic.c | 161 S390FLICStateClass *fsc = s390_get_flic_class(fs); in qemu_s390_inject_airq() local 170 fsc->inject_io(fs, 0, 0, 0, io_int_word); in qemu_s390_inject_airq() 457 S390FLICStateClass *fsc = S390_FLIC_COMMON_CLASS(oc); in qemu_s390_flic_class_init() local 463 fsc->io_adapter_map = qemu_s390_io_adapter_map; in qemu_s390_flic_class_init() 464 fsc->add_adapter_routes = qemu_s390_add_adapter_routes; in qemu_s390_flic_class_init() 466 fsc->clear_io_irq = qemu_s390_clear_io_flic; in qemu_s390_flic_class_init() 467 fsc->modify_ais_mode = qemu_s390_modify_ais_mode; in qemu_s390_flic_class_init() 468 fsc->inject_airq = qemu_s390_inject_airq; in qemu_s390_flic_class_init() 469 fsc->inject_service = qemu_s390_inject_service; in qemu_s390_flic_class_init() 470 fsc->inject_io = qemu_s390_inject_io; in qemu_s390_flic_class_init() [all …]
|
H A D | s390_flic_kvm.c | 676 S390FLICStateClass *fsc = S390_FLIC_COMMON_CLASS(oc); in kvm_s390_flic_class_init() local 683 fsc->register_io_adapter = kvm_s390_register_io_adapter; in kvm_s390_flic_class_init() 684 fsc->io_adapter_map = kvm_s390_io_adapter_map; in kvm_s390_flic_class_init() 685 fsc->add_adapter_routes = kvm_s390_add_adapter_routes; in kvm_s390_flic_class_init() 686 fsc->release_adapter_routes = kvm_s390_release_adapter_routes; in kvm_s390_flic_class_init() 687 fsc->clear_io_irq = kvm_s390_clear_io_flic; in kvm_s390_flic_class_init() 688 fsc->modify_ais_mode = kvm_s390_modify_ais_mode; in kvm_s390_flic_class_init() 689 fsc->inject_airq = kvm_s390_inject_airq; in kvm_s390_flic_class_init() 690 fsc->inject_service = kvm_s390_inject_service; in kvm_s390_flic_class_init() 691 fsc->inject_io = kvm_s390_inject_io; in kvm_s390_flic_class_init() [all …]
|
/openbmc/qemu/target/s390x/ |
H A D | interrupt.c | 121 S390FLICStateClass *fsc = s390_get_flic_class(fs); in s390_sclp_extint() local 123 fsc->inject_service(fs, parm); in s390_sclp_extint() 130 S390FLICStateClass *fsc = s390_get_flic_class(fs); in s390_io_interrupt() local 132 fsc->inject_io(fs, subchannel_id, subchannel_nr, io_int_parm, io_int_word); in s390_io_interrupt() 138 S390FLICStateClass *fsc = s390_get_flic_class(fs); in s390_crw_mchk() local 140 fsc->inject_crw_mchk(fs); in s390_crw_mchk()
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-yappi/ |
H A D | 0001-test_functionality-convert-line-endings-to-Unix.patch | 877 - self.assertEqual(fsb.children[fsc].ttot, fsc.ttot) 878 - self.assertEqual(fsb.children[fsc].tsub, fsc.tsub) 1066 - self.assertEqual(fsc.nactualcall, fsc.ncall, 2) 1170 - self.assertEqual(fsc.ttot, fsc.tsub, 5) 1745 - cfscc = fsc.children[fsc] 2788 + self.assertEqual(fsb.children[fsc].ttot, fsc.ttot) 2789 + self.assertEqual(fsb.children[fsc].tsub, fsc.tsub) 2977 + self.assertEqual(fsc.nactualcall, fsc.ncall, 2) 3081 + self.assertEqual(fsc.ttot, fsc.tsub, 5) 3400 + cfsbc = fsb.children[fsc] [all …]
|
/openbmc/qemu/bsd-user/aarch64/ |
H A D | target_arch_cpu.h | 49 int trapnr, ec, fsc, si_code, si_signo; in target_cpu_loop() local 118 fsc = extract32(env->exception.syndrome, 0, 6); in target_cpu_loop() 119 switch (fsc) { in target_cpu_loop()
|
/openbmc/qemu/linux-user/aarch64/ |
H A D | cpu_loop.c | 82 int trapnr, ec, fsc, si_code, si_signo; in cpu_loop() local 123 fsc = extract32(env->exception.syndrome, 0, 6); in cpu_loop() 124 switch (fsc) { in cpu_loop()
|
/openbmc/linux/net/sched/ |
H A D | sch_hfsc.c | 889 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc() argument 891 sc2isc(fsc, &cl->cl_fsc); in hfsc_change_fsc() 929 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_change_class() local 948 fsc = nla_data(tb[TCA_HFSC_FSC]); in hfsc_change_class() 949 if (fsc->m1 == 0 && fsc->m2 == 0) in hfsc_change_class() 950 fsc = NULL; in hfsc_change_class() 986 if (fsc != NULL) in hfsc_change_class() 987 hfsc_change_fsc(cl, fsc); in hfsc_change_class() 1028 if (rsc == NULL && fsc == NULL) in hfsc_change_class() 1053 if (fsc != NULL) in hfsc_change_class() [all …]
|