Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/fs/xfs/scrub/
A Dfscounters.c136 fsc = sc->buf; in xchk_setup_fscounters()
137 fsc->sc = sc; in xchk_setup_fscounters()
139 xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); in xchk_setup_fscounters()
216 fsc->icount = 0; in xchk_fscount_aggregate_agcounts()
217 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
218 fsc->fdblocks = 0; in xchk_fscount_aggregate_agcounts()
275 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
280 if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max || in xchk_fscount_aggregate_agcounts()
282 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts()
290 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
[all …]
/linux-6.3-rc2/fs/ceph/
A Dsuper.c775 fsc = kzalloc(sizeof(*fsc), GFP_KERNEL); in create_fs_client()
776 if (!fsc) { in create_fs_client()
781 fsc->client = ceph_create_client(opt, fsc); in create_fs_client()
801 fsc->sb = NULL; in create_fs_client()
818 if (!fsc->cap_wq) in create_fs_client()
828 return fsc; in create_fs_client()
835 kfree(fsc); in create_fs_client()
864 kfree(fsc); in destroy_fs_client()
987 if (!fsc) in ceph_umount_begin()
1117 fsc->sb = s; in ceph_set_super()
[all …]
A Ddebugfs.c31 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
415 fsc, in ceph_fs_debugfs_init()
420 fsc->debugfs_bdi = in ceph_fs_debugfs_init()
428 fsc, 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 debugfs_create_file("file", 0400, fsc->debugfs_metrics_dir, fsc, in ceph_fs_debugfs_init()
462 debugfs_create_file("size", 0400, fsc->debugfs_metrics_dir, fsc, in ceph_fs_debugfs_init()
[all …]
A 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 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs()
87 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
97 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); in ceph_fscache_register_fs()
98 if (IS_ERR_OR_NULL(fsc->fscache)) { in ceph_fscache_register_fs()
100 err = fsc->fscache ? PTR_ERR(fsc->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs()
101 fsc->fscache = NULL; in ceph_fscache_register_fs()
107 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
[all …]
A Daddr.c235 fsc->blocklisted = true; in finish_netfs_read()
608 fsc->write_congested = true; in writepage_nounlock()
652 fsc->blocklisted = true; in writepage_nounlock()
669 fsc->write_congested = false; in writepage_nounlock()
724 fsc->blocklisted = true; in writepages_finish()
760 fsc->write_congested = false; in writepages_finish()
813 fsc->write_congested) in ceph_writepages_start()
1013 fsc->write_congested = true; in ceph_writepages_start()
1765 up_read(&fsc->mdsc->snap_rwsem); in ceph_uninline_data()
1933 fsc->blocklisted = true; in __ceph_pool_perm_get()
[all …]
A 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
A Dmds_client.c1725 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local
1726 struct super_block *sb = fsc->sb; in remove_session_caps()
2209 if (queue_work(mdsc->fsc->cap_wq, in ceph_flush_cap_releases()
3712 mdsc->fsc->blocklisted = true; in handle_session()
4210 if (mdsc->fsc->sb->s_root) in send_mds_reconnect()
4657 struct ceph_fs_client *fsc = mdsc->fsc; in maybe_recover_session() local
4669 ceph_force_reconnect(fsc->sb); in maybe_recover_session()
4796 mdsc->fsc = fsc; in ceph_mdsc_init()
4848 fsc->mdsc = mdsc; in ceph_mdsc_init()
5170 fsc->mdsc = NULL; in ceph_mdsc_destroy()
[all …]
A Ddir.c311 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()
771 fsc->mount_options->snapdir_name, in ceph_lookup()
774 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup()
1101 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1103 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_async_unlink_cb()
1184 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1232 spin_lock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
1235 spin_unlock(&fsc->async_unlink_conflict_lock); in ceph_unlink()
[all …]
A Dfile.c356 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
734 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
933 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read()
991 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_read()
1033 fsc->blocklisted = true; in ceph_sync_read()
1565 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_sync_write()
1765 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_write_iter()
2032 ceph_osdc_start_request(&fsc->client->osdc, req); in ceph_zero_partial_object()
2304 struct ceph_fs_client *fsc, in ceph_do_objects_copy() argument
2321 osdc = &fsc->client->osdc; in ceph_do_objects_copy()
[all …]
A Dsuper.h51 #define ceph_set_mount_opt(fsc, opt) \ argument
52 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt
53 #define ceph_clear_mount_opt(fsc, opt) \ argument
54 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt
55 #define ceph_test_mount_opt(fsc, opt) \ argument
56 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
1066 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_inode_is_shutdown() local
1067 int state = READ_ONCE(fsc->mount_state); in ceph_inode_is_shutdown()
1359 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
A Dquota.c44 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_quota()
478 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument
480 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs()
488 realm = get_quota_realm(mdsc, d_inode(fsc->sb->s_root), in ceph_quota_update_statfs()
A 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()
1064 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_sync_setxattr() local
1067 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
[all …]
A Dmds_client.h387 struct ceph_fs_client *fsc; member
499 extern int ceph_mdsc_init(struct ceph_fs_client *fsc);
502 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
A Dexport.c441 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in __get_snap_name() local
451 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
464 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, in __get_snap_name()
489 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); in __get_snap_name()
A Dcaps.c411 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status()
929 ceph_update_cap_hit(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
931 ceph_update_cap_mis(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
1183 struct ceph_fs_client *fsc; in ceph_remove_cap() local
1193 fsc = ceph_inode_to_client(&ci->netfs.inode); in ceph_remove_cap()
1196 !fsc->blocklisted && in ceph_remove_cap()
2910 fi->filp_gen != READ_ONCE(fsc->filp_gen)) in ceph_get_caps()
2924 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_get_caps()
2963 fi->filp_gen != READ_ONCE(fsc->filp_gen)) { in ceph_get_caps()
4177 inode = ceph_find_inode(mdsc->fsc->sb, vino); in ceph_handle_caps()
[all …]
A Dinode.c1283 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_fill_trace() local
1390 fsc->mount_options->snapdir_name, in ceph_fill_trace()
1843 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_queue_inode_work() local
1848 if (queue_work(fsc->inode_wq, &ci->i_work)) { in ceph_queue_inode_work()
2234 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_setattr() local
2248 attr->ia_size > max(i_size_read(inode), fsc->max_file_size)) in ceph_setattr()
2300 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in __ceph_do_getattr() local
2301 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
2346 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_do_getvxattr() local
2347 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_do_getvxattr()
/linux-6.3-rc2/fs/fuse/
A Dinode.c147 if (fsc->sb_flags & SB_MANDLOCK) in fuse_reconfigure()
685 if (fsc->oldapi) in fuse_parse_param()
697 if (fsc->source) in fuse_parse_param()
699 fsc->source = param->string; in fuse_parse_param()
1485 fsc->s_fs_info = fm; in fuse_get_tree_submount()
1487 if (fsc->s_fs_info) in fuse_get_tree_submount()
1504 fsc->root = dget(sb->s_root); in fuse_get_tree_submount()
1686 fsc->s_fs_info = fm; in fuse_get_tree()
1709 fsc->sget_key = fud->fc; in fuse_get_tree()
1718 if (fsc->s_fs_info) in fuse_get_tree()
[all …]
A Dvirtio_fs.c114 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()
1405 struct fs_context *fsc) in virtio_fs_test_super() argument
1426 fs = virtio_fs_find_instance(fsc->source); in virtio_fs_get_tree()
1455 fsc->s_fs_info = fm; in virtio_fs_get_tree()
1457 if (fsc->s_fs_info) in virtio_fs_get_tree()
1463 err = virtio_fs_fill_super(sb, fsc); in virtio_fs_get_tree()
1472 WARN_ON(fsc->root); in virtio_fs_get_tree()
1473 fsc->root = dget(sb->s_root); in virtio_fs_get_tree()
1500 fsc->fs_private = ctx; in virtio_fs_init_fs_context()
[all …]
A 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()
A Ddir.c320 struct fs_context *fsc; in fuse_dentry_automount() local
324 fsc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry); in fuse_dentry_automount()
325 if (IS_ERR(fsc)) in fuse_dentry_automount()
326 return ERR_CAST(fsc); in fuse_dentry_automount()
329 fsc->fs_private = mp_fi; in fuse_dentry_automount()
332 mnt = fc_mount(fsc); in fuse_dentry_automount()
336 put_fs_context(fsc); in fuse_dentry_automount()
/linux-6.3-rc2/net/sched/
A Dsch_hfsc.c890 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()
1046 if (fsc != NULL) in hfsc_change_class()
[all …]
/linux-6.3-rc2/drivers/scsi/esas2r/
A 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.3-rc2/drivers/net/fddi/skfp/
A 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.3-rc2/drivers/media/pci/cx18/
A 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.3-rc2/fs/cifs/
A Dfs_context.h228 bool fsc:1; /* enable fscache */ member

Completed in 85 milliseconds

12