/openbmc/linux/fs/xfs/scrub/ |
H A D | fscounters.c | 165 struct xchk_fscounters *fsc = sc->buf; in xchk_fscounters_freeze() local 183 fsc->frozen = true; in xchk_fscounters_freeze() 192 struct xchk_fscounters *fsc = buf; in xchk_fscounters_cleanup() local 193 struct xfs_scrub *sc = fsc->sc; in xchk_fscounters_cleanup() 196 if (!fsc->frozen) in xchk_fscounters_cleanup() 203 fsc->frozen = false; in xchk_fscounters_cleanup() 210 struct xchk_fscounters *fsc; in xchk_setup_fscounters() local 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() [all …]
|
/openbmc/linux/fs/ceph/ |
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() 151 struct ceph_fs_client *fsc = s->private; in metrics_file_show() local 152 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_file_show() 175 struct ceph_fs_client *fsc = s->private; in metrics_latency_show() local 176 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_latency_show() 201 struct ceph_fs_client *fsc = s->private; in metrics_size_show() local [all …]
|
H A D | super.c | 47 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(s); in ceph_put_super() local 50 ceph_fscrypt_free_dummy_policy(fsc); in ceph_put_super() 51 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super() 56 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(d_inode(dentry)); in ceph_statfs() local 57 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs() 62 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs() 63 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs() 87 if (ceph_test_mount_opt(fsc, NOQUOTADF) || in ceph_statfs() 88 !ceph_quota_update_statfs(fsc, buf)) { in ceph_statfs() 121 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); in ceph_sync_fs() local [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() 86 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc) in ceph_fscache_register_fs() argument 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() [all …]
|
H A D | addr.c | 231 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_netfs_clamp_length() local 239 subreq->len = min(xlen, fsc->mount_options->rsize); in ceph_netfs_clamp_length() 246 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in finish_netfs_read() local 253 ceph_update_read_metrics(&fsc->mdsc->metric, req->r_start_latency, in finish_netfs_read() 263 fsc->blocklisted = true; in finish_netfs_read() 287 ceph_dec_osd_stopping_blocker(fsc->mdsc); in finish_netfs_read() 350 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_netfs_issue_read() local 356 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in ceph_netfs_issue_read() 370 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, vino, in ceph_netfs_issue_read() 372 CEPH_OSD_FLAG_READ | fsc->client->osdc.client->options->read_from_replica, in ceph_netfs_issue_read() [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 | 833 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_wait_on_conflict_unlink() local 845 hash_for_each_possible_rcu(fsc->async_unlink_conflict, di, in ceph_wait_on_conflict_unlink() 962 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_FENCE_IO) in register_session() 995 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session() 1321 if (!dir || dir->i_sb != mdsc->fsc->sb) { in __choose_mds() 1530 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg() 1531 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg() 1640 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_FENCE_IO) in __open_session() 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() [all …]
|
H A D | dir.c | 313 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_readdir() local 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() 706 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_handle_snapdir() local 711 strcmp(dentry->d_name.name, fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 774 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_lookup() local 807 fsc->mount_options->snapdir_name, in ceph_lookup() 810 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup() 1202 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_async_unlink_cb() local [all …]
|
H A D | file.c | 355 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); in ceph_open() local 356 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() 733 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_atomic_open() local 734 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() 739 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_atomic_open() 965 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in __ceph_sync_read() local 966 struct ceph_osd_client *osdc = &fsc->client->osdc; in __ceph_sync_read() 971 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREAD); in __ceph_sync_read() 1055 ceph_update_read_metrics(&fsc->mdsc->metric, in __ceph_sync_read() 1076 fsc->blocklisted = true; in __ceph_sync_read() [all …]
|
H A D | super.h | 54 #define ceph_set_mount_opt(fsc, opt) \ argument 55 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 56 #define ceph_clear_mount_opt(fsc, opt) \ argument 57 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 58 #define ceph_test_mount_opt(fsc, opt) \ argument 59 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 1110 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_inode_is_shutdown() local 1111 int state = READ_ONCE(fsc->mount_state); in ceph_inode_is_shutdown() 1427 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
|
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 | 609 uint32_t fsc; in arm_fi_to_sfsc() local 615 fsc = fi->level == 1 ? 0x3 : 0x6; in arm_fi_to_sfsc() 618 fsc = 0x1; in arm_fi_to_sfsc() 621 fsc = fi->level == 1 ? 0xd : 0xf; in arm_fi_to_sfsc() 624 fsc = fi->level == 1 ? 0x9 : 0xb; in arm_fi_to_sfsc() 627 fsc = fi->level == 1 ? 0x5 : 0x7; in arm_fi_to_sfsc() 630 fsc = 0x8 | (fi->ea << 12); in arm_fi_to_sfsc() 633 fsc = fi->level == 1 ? 0xc : 0xe; in arm_fi_to_sfsc() 634 fsc |= (fi->ea << 12); in arm_fi_to_sfsc() 637 fsc = 0x409; in arm_fi_to_sfsc() [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() 64 fi->ea, 0, fi->s1ptw, is_write, fsc); in merge_syn_data_abort() 73 fi->ea, 0, fi->s1ptw, 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 198 fsr = compute_fsr_fsc(env, fi, target_el, mmu_idx, &fsc); in arm_deliver_fault() [all …]
|
/openbmc/linux/fs/fuse/ |
H A D | inode.c | 177 static int fuse_reconfigure(struct fs_context *fsc) in fuse_reconfigure() argument 179 struct super_block *sb = fsc->root->d_sb; in fuse_reconfigure() 182 if (fsc->sb_flags & SB_MANDLOCK) in fuse_reconfigure() 749 static int fuse_parse_param(struct fs_context *fsc, struct fs_parameter *param) in fuse_parse_param() argument 752 struct fuse_fs_context *ctx = fsc->fs_private; in fuse_parse_param() 757 if (fsc->purpose == FS_CONTEXT_FOR_RECONFIGURE) { in fuse_parse_param() 762 if (fsc->oldapi) in fuse_parse_param() 765 return invalfc(fsc, "No changes allowed in reconfigure"); in fuse_parse_param() 768 opt = fs_parse(fsc, fuse_fs_parameters, param, &result); in fuse_parse_param() 774 if (fsc->source) in fuse_parse_param() [all …]
|
H A D | virtio_fs.c | 110 static int virtio_fs_parse_param(struct fs_context *fsc, in virtio_fs_parse_param() argument 114 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_parse_param() 117 opt = fs_parse(fsc, virtio_fs_parameters, param, &result); in virtio_fs_parse_param() 135 static void virtio_fs_free_fsc(struct fs_context *fsc) in virtio_fs_free_fsc() argument 137 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_free_fsc() 1304 static int virtio_fs_fill_super(struct super_block *sb, struct fs_context *fsc) in virtio_fs_fill_super() argument 1309 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_fill_super() 1416 struct fs_context *fsc) in virtio_fs_test_super() argument 1418 struct fuse_mount *fsc_fm = fsc->s_fs_info; in virtio_fs_test_super() 1424 static int virtio_fs_get_tree(struct fs_context *fsc) in virtio_fs_get_tree() argument [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 462 fsc->register_io_adapter = qemu_s390_register_io_adapter; in qemu_s390_flic_class_init() 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() 465 fsc->release_adapter_routes = qemu_s390_release_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() [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 | 864 - fsc = utils.find_stat_by_name(stats, "c") 877 - self.assertEqual(fsb.children[fsc].ttot, fsc.ttot) 878 - self.assertEqual(fsb.children[fsc].tsub, fsc.tsub) 879 - self.assertEqual(fsc.tsub, 6) 880 - self.assertEqual(fsc.children[fsd].ttot, fsd.ttot) 881 - self.assertEqual(fsc.children[fsd].tsub, fsd.tsub) 981 - fsc = utils.find_stat_by_name(stats, "c") 983 - self.assertEqual(fsa.ncall, fsb.ncall, fsc.ncall) 1057 - fsc = utils.find_stat_by_name(stats, "c") 1063 - self.assertEqual(fsc.ttot, 8) [all …]
|
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-ventura/plat-svc/files/ |
H A D | ventura-schematic-init | 22 if [ "$rmc_source" = "hsc-ltc fsc-max p24vsen-ina gndsen-ina p12vbrick-delta" ]; then 24 elif [ "$rmc_source" = "hsc-xdp fsc-nct p24vsen-isl gndsen-isl p12vbrick-flex" ]; then
|
/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 …]
|