Home
last modified time | relevance | path

Searched refs:fsc (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.6.21/fs/xfs/scrub/
Dfscounters.c165 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 …]
/linux-6.6.21/fs/ceph/
Ddebugfs.c28 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 …]
Dsuper.c47 struct ceph_fs_client *fsc = ceph_sb_to_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_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_client(sb); in ceph_sync_fs() local
[all …]
Dcache.c18 struct ceph_fs_client *fsc = ceph_inode_to_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 …]
Daddr.c232 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_netfs_clamp_length() local
240 subreq->len = min(xlen, fsc->mount_options->rsize); in ceph_netfs_clamp_length()
247 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in finish_netfs_read() local
254 ceph_update_read_metrics(&fsc->mdsc->metric, req->r_start_latency, in finish_netfs_read()
264 fsc->blocklisted = true; in finish_netfs_read()
288 ceph_dec_osd_stopping_blocker(fsc->mdsc); in finish_netfs_read()
351 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_netfs_issue_read() local
357 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 …]
Dcache.h17 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
Dmds_client.c833 struct ceph_fs_client *fsc = ceph_sb_to_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 …]
Ddir.c313 struct ceph_fs_client *fsc = ceph_inode_to_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_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_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_client(dentry->d_sb); in ceph_async_unlink_cb() local
[all …]
Dfile.c355 struct ceph_fs_client *fsc = ceph_sb_to_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_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_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()
1053 ceph_update_read_metrics(&fsc->mdsc->metric, in __ceph_sync_read()
1131 fsc->blocklisted = true; in __ceph_sync_read()
[all …]
Dsuper.h53 #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_client(inode); in ceph_inode_is_shutdown() local
1110 int state = READ_ONCE(fsc->mount_state); in ceph_inode_is_shutdown()
1412 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
Dquota.c44 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()
Dxattr.c60 struct ceph_fs_client *fsc = ceph_sb_to_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_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_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_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_client(inode->i_sb); in ceph_sync_setxattr() local
1100 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
[all …]
Dcrypto.h99 void ceph_fscrypt_free_dummy_policy(struct ceph_fs_client *fsc);
179 static inline void ceph_fscrypt_free_dummy_policy(struct ceph_fs_client *fsc) in ceph_fscrypt_free_dummy_policy() argument
Dmds_client.h413 struct ceph_fs_client *fsc; member
529 extern int ceph_mdsc_init(struct ceph_fs_client *fsc);
532 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
Dexport.c442 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in __get_snap_name() local
452 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
465 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, in __get_snap_name()
490 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); in __get_snap_name()
Dcaps.c408 void ceph_reservation_status(struct ceph_fs_client *fsc, in ceph_reservation_status() argument
412 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status()
494 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in __cap_set_timeouts()
925 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->netfs.inode.i_sb); in __ceph_caps_issued_mask_metric() local
930 ceph_update_cap_hit(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
932 ceph_update_cap_mis(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
1184 struct ceph_fs_client *fsc; in ceph_remove_cap() local
1194 fsc = ceph_inode_to_client(&ci->netfs.inode); in ceph_remove_cap()
1197 !fsc->blocklisted && in ceph_remove_cap()
1230 struct ceph_osd_client *osdc = &arg->session->s_mdsc->fsc->client->osdc; in encode_cap_msg()
[all …]
Dinode.c1492 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_fill_trace() local
1625 fsc->mount_options->snapdir_name, in ceph_fill_trace()
2082 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_queue_inode_work() local
2087 if (queue_work(fsc->inode_wq, &ci->i_work)) { in ceph_queue_inode_work()
2743 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_setattr() local
2761 attr->ia_size > max(i_size_read(inode), fsc->max_file_size)) in ceph_setattr()
2813 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in __ceph_do_getattr() local
2814 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
2859 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_do_getvxattr() local
2860 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_do_getvxattr()
/linux-6.6.21/fs/fuse/
Dinode.c177 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()
746 static int fuse_parse_param(struct fs_context *fsc, struct fs_parameter *param) in fuse_parse_param() argument
749 struct fuse_fs_context *ctx = fsc->fs_private; in fuse_parse_param()
752 if (fsc->purpose == FS_CONTEXT_FOR_RECONFIGURE) { in fuse_parse_param()
757 if (fsc->oldapi) in fuse_parse_param()
760 return invalfc(fsc, "No changes allowed in reconfigure"); in fuse_parse_param()
763 opt = fs_parse(fsc, fuse_fs_parameters, param, &result); in fuse_parse_param()
769 if (fsc->source) in fuse_parse_param()
[all …]
Dvirtio_fs.c110 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()
1294 static int virtio_fs_fill_super(struct super_block *sb, struct fs_context *fsc) in virtio_fs_fill_super() argument
1299 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_fill_super()
1406 struct fs_context *fsc) in virtio_fs_test_super() argument
1408 struct fuse_mount *fsc_fm = fsc->s_fs_info; in virtio_fs_test_super()
1414 static int virtio_fs_get_tree(struct fs_context *fsc) in virtio_fs_get_tree() argument
[all …]
Dcontrol.c314 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()
/linux-6.6.21/net/sched/
Dsch_hfsc.c889 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 …]
/linux-6.6.21/drivers/scsi/esas2r/
Desas2r_flash.c851 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()
/linux-6.6.21/drivers/net/fddi/skfp/
Dsmt.c84 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()
/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-av-core.c447 int fsc, pll; in cx18_av_std_setup() local
463 fsc = tmp >> 13; in cx18_av_std_setup()
466 fsc / 1000000, fsc % 1000000); in cx18_av_std_setup()
/linux-6.6.21/fs/smb/client/
Dfs_context.h229 bool fsc:1; /* enable fscache */ member

12