Home
last modified time | relevance | path

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

12

/linux/fs/ceph/
A Dsuper.c642 fsc = kzalloc(sizeof(*fsc), GFP_KERNEL); in create_fs_client()
643 if (!fsc) { in create_fs_client()
648 fsc->client = ceph_create_client(opt, fsc); in create_fs_client()
668 fsc->sb = NULL; in create_fs_client()
684 if (!fsc->cap_wq) in create_fs_client()
691 return fsc; in create_fs_client()
698 kfree(fsc); in create_fs_client()
727 kfree(fsc); in destroy_fs_client()
851 if (!fsc) in ceph_umount_begin()
981 fsc->sb = s; in ceph_set_super()
[all …]
A Ddebugfs.c31 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
416 fsc, in ceph_fs_debugfs_init()
421 fsc->debugfs_bdi = in ceph_fs_debugfs_init()
429 fsc, in ceph_fs_debugfs_init()
435 fsc, in ceph_fs_debugfs_init()
441 fsc, in ceph_fs_debugfs_init()
447 fsc, in ceph_fs_debugfs_init()
453 fsc, in ceph_fs_debugfs_init()
459 debugfs_create_file("file", 0400, fsc->debugfs_metrics_dir, fsc, in ceph_fs_debugfs_init()
463 debugfs_create_file("size", 0400, fsc->debugfs_metrics_dir, fsc, in ceph_fs_debugfs_init()
[all …]
A Dcache.c49 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs()
50 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
86 fsc, 0, true); in ceph_fscache_register_fs()
88 if (fsc->fscache) { in ceph_fscache_register_fs()
89 ent->fscache = fsc->fscache; in ceph_fscache_register_fs()
129 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_fscache_register_inode_cookie() local
132 if (!fsc->fscache) in ceph_fscache_register_inode_cookie()
141 ci->fscache = fscache_acquire_cookie(fsc->fscache, in ceph_fscache_register_inode_cookie()
191 if (fscache_cookie_valid(fsc->fscache)) { in ceph_fscache_unregister_fs()
197 if (ent->fscache == fsc->fscache) { in ceph_fscache_unregister_fs()
[all …]
A Daddr.c230 fsc->blocklisted = true; in finish_netfs_read()
574 fsc->blocklisted = true; in writepage_nounlock()
639 fsc->blocklisted = true; in writepages_finish()
671 fsc->mount_options->congestion_kb)) in writepages_finish()
737 if (fsc->mount_options->wsize < wsize) in ceph_writepages_start()
738 wsize = fsc->mount_options->wsize; in ceph_writepages_start()
917 fsc->mount_options->congestion_kb)) { in ceph_writepages_start()
956 req = ceph_osdc_new_request(&fsc->client->osdc, in ceph_writepages_start()
1757 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_pool_perm_get()
1883 fsc->blocklisted = true; in __ceph_pool_perm_get()
[all …]
A Dcache.h21 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc);
22 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc);
70 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, in ceph_fscache_register_fs() argument
76 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
A Dmds_client.c1619 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local
1620 struct super_block *sb = fsc->sb; in remove_session_caps()
3472 mdsc->fsc->blocklisted = true; in handle_session()
3970 if (mdsc->fsc->sb->s_root) in send_mds_reconnect()
4423 struct ceph_fs_client *fsc = mdsc->fsc; in maybe_recover_session() local
4435 ceph_force_reconnect(fsc->sb); in maybe_recover_session()
4440 struct ceph_fs_client *fsc = s->s_mdsc->fsc; in check_session_state() local
4568 mdsc->fsc = fsc; in ceph_mdsc_init()
4620 fsc->mdsc = mdsc; in ceph_mdsc_init()
4921 fsc->mdsc = NULL; in ceph_mdsc_destroy()
[all …]
A Dfile.c342 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
680 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
858 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read()
917 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_read()
959 fsc->blocklisted = true; in ceph_sync_read()
1237 size = min_t(u64, size, fsc->mount_options->wsize); in ceph_direct_read_write()
1691 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_write_iter()
2276 struct ceph_fs_client *fsc, in ceph_do_objects_copy() argument
2293 osdc = &fsc->client->osdc; in ceph_do_objects_copy()
2319 ceph_update_copyfrom_metrics(&fsc->mdsc->metric, in ceph_do_objects_copy()
[all …]
A Dsuper.h54 #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))
1038 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_inode_is_shutdown() local
1039 int state = READ_ONCE(fsc->mount_state); in ceph_inode_is_shutdown()
1302 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
A Ddir.c310 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()
741 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local
762 fsc->mount_options->snapdir_name, in ceph_lookup()
765 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup()
1139 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_unlink() local
1140 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_unlink()
1143 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_unlink()
[all …]
A Dquota.c41 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_quota()
473 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument
475 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs()
483 realm = get_quota_realm(mdsc, d_inode(fsc->sb->s_root), true); in ceph_quota_update_statfs()
A Dxattr.c60 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_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->vfs_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->vfs_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->vfs_inode.i_sb); in ceph_vxattrcb_client_id() local
327 ceph_client_gid(fsc->client)); in ceph_vxattrcb_client_id()
1047 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_sync_setxattr() local
1050 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
[all …]
A Dmds_client.h383 struct ceph_fs_client *fsc; member
495 extern int ceph_mdsc_init(struct ceph_fs_client *fsc);
498 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
A Dexport.c440 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in __get_snap_name() local
450 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
463 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, in __get_snap_name()
488 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); in __get_snap_name()
A Dcaps.c410 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status()
927 ceph_update_cap_hit(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
929 ceph_update_cap_mis(&fsc->mdsc->metric); in __ceph_caps_issued_mask_metric()
1181 struct ceph_fs_client *fsc; in ceph_remove_cap() local
1191 fsc = ceph_inode_to_client(&ci->vfs_inode); in ceph_remove_cap()
1194 !fsc->blocklisted && in ceph_remove_cap()
2870 fi->filp_gen != READ_ONCE(fsc->filp_gen)) in ceph_get_caps()
2884 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_get_caps()
2923 fi->filp_gen != READ_ONCE(fsc->filp_gen)) { in ceph_get_caps()
4135 inode = ceph_find_inode(mdsc->fsc->sb, vino); in ceph_handle_caps()
[all …]
A Dinode.c1271 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_fill_trace() local
1378 fsc->mount_options->snapdir_name, in ceph_fill_trace()
1827 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_queue_inode_work() local
1832 if (queue_work(fsc->inode_wq, &ci->i_work)) { in ceph_queue_inode_work()
2216 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_setattr() local
2230 attr->ia_size > max(i_size_read(inode), fsc->max_file_size)) in ceph_setattr()
2252 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in __ceph_do_getattr() local
2253 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
/linux/fs/xfs/scrub/
A Dfscounters.c122 fsc = sc->buf; in xchk_setup_fscounters()
124 xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); in xchk_setup_fscounters()
189 fsc->icount = 0; in xchk_fscount_aggregate_agcounts()
190 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
191 fsc->fdblocks = 0; in xchk_fscount_aggregate_agcounts()
245 trace_xchk_fscounters_calc(mp, fsc->icount, fsc->ifree, fsc->fdblocks, in xchk_fscount_aggregate_agcounts()
250 if (fsc->icount < fsc->icount_min || fsc->icount > fsc->icount_max || in xchk_fscount_aggregate_agcounts()
252 fsc->ifree > fsc->icount_max) in xchk_fscount_aggregate_agcounts()
260 if (fsc->ifree > fsc->icount) { in xchk_fscount_aggregate_agcounts()
349 if (icount < fsc->icount_min || icount > fsc->icount_max) in xchk_fscounters()
[all …]
/linux/fs/fuse/
A Dinode.c148 if (fsc->sb_flags & SB_MANDLOCK) in fuse_reconfigure()
664 if (fsc->oldapi) in fuse_parse_param()
676 if (fsc->source) in fuse_parse_param()
678 fsc->source = param->string; in fuse_parse_param()
1452 fsc->s_fs_info = fm; in fuse_get_tree_submount()
1454 if (fsc->s_fs_info) in fuse_get_tree_submount()
1471 fsc->root = dget(sb->s_root); in fuse_get_tree_submount()
1653 fsc->s_fs_info = fm; in fuse_get_tree()
1676 fsc->sget_key = fud->fc; in fuse_get_tree()
1685 if (fsc->s_fs_info) in fuse_get_tree()
[all …]
A Dvirtio_fs.c104 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_parse_param()
124 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_free_fsc()
1407 struct fs_context *fsc) in virtio_fs_test_super() argument
1428 fs = virtio_fs_find_instance(fsc->source); in virtio_fs_get_tree()
1457 fsc->s_fs_info = fm; in virtio_fs_get_tree()
1459 if (fsc->s_fs_info) in virtio_fs_get_tree()
1465 err = virtio_fs_fill_super(sb, fsc); in virtio_fs_get_tree()
1474 WARN_ON(fsc->root); in virtio_fs_get_tree()
1475 fsc->root = dget(sb->s_root); in virtio_fs_get_tree()
1502 fsc->fs_private = ctx; in virtio_fs_init_fs_context()
[all …]
A Dcontrol.c331 static int fuse_ctl_fill_super(struct super_block *sb, struct fs_context *fsc) in fuse_ctl_fill_super() argument
357 static int fuse_ctl_get_tree(struct fs_context *fsc) in fuse_ctl_get_tree() argument
359 return get_tree_single(fsc, fuse_ctl_fill_super); in fuse_ctl_get_tree()
366 static int fuse_ctl_init_fs_context(struct fs_context *fsc) in fuse_ctl_init_fs_context() argument
368 fsc->ops = &fuse_ctl_context_ops; in fuse_ctl_init_fs_context()
A Ddir.c311 struct fs_context *fsc; in fuse_dentry_automount() local
315 fsc = fs_context_for_submount(path->mnt->mnt_sb->s_type, path->dentry); in fuse_dentry_automount()
316 if (IS_ERR(fsc)) in fuse_dentry_automount()
317 return ERR_CAST(fsc); in fuse_dentry_automount()
320 fsc->fs_private = mp_fi; in fuse_dentry_automount()
323 mnt = fc_mount(fsc); in fuse_dentry_automount()
327 put_fs_context(fsc); in fuse_dentry_automount()
/linux/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/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/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/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/fs/cifs/
A Dfs_context.h225 bool fsc:1; /* enable fscache */ member

Completed in 87 milliseconds

12