/linux-master/fs/xfs/scrub/ |
H A D | fscounters_repair.c | 51 struct xchk_fscounters *fsc = sc->buf; local 58 if (!fsc->frozen) { 59 ASSERT(fsc->frozen); 63 trace_xrep_reset_counters(mp, fsc); 65 percpu_counter_set(&mp->m_icount, fsc->icount); 66 percpu_counter_set(&mp->m_ifree, fsc->ifree); 67 percpu_counter_set(&mp->m_fdblocks, fsc->fdblocks); 68 percpu_counter_set(&mp->m_frextents, fsc->frextents); 69 mp->m_sb.sb_frextents = fsc->frextents;
|
H A D | fscounters.c | 155 struct xchk_fscounters *fsc = sc->buf; local 173 fsc->frozen = true; 182 struct xchk_fscounters *fsc = buf; local 183 struct xfs_scrub *sc = fsc->sc; 186 if (!fsc->frozen) 193 fsc->frozen = false; 200 struct xchk_fscounters *fsc; local 214 fsc = sc->buf; 215 fsc->sc = sc; 217 xfs_icount_range(sc->mp, &fsc 259 xchk_fscount_btreeblks( struct xfs_scrub *sc, struct xchk_fscounters *fsc, xfs_agnumber_t agno) argument 293 xchk_fscount_aggregate_agcounts( struct xfs_scrub *sc, struct xchk_fscounters *fsc) argument 396 struct xchk_fscounters *fsc = priv; local 407 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) argument 432 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) argument 503 struct xchk_fscounters *fsc = sc->buf; local [all...] |
/linux-master/fs/ceph/ |
H A D | super.c | 47 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(s); local 49 doutc(fsc->client, "begin\n"); 50 ceph_fscrypt_free_dummy_policy(fsc); 51 ceph_mdsc_close_sessions(fsc->mdsc); 52 doutc(fsc->client, "done\n"); 57 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(d_inode(dentry)); local 58 struct ceph_mon_client *monc = &fsc->client->monc; 63 doutc(fsc->client, "begin\n"); 64 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { 65 data_pool = fsc 123 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); local 647 compare_mount_options(struct ceph_mount_options *new_fsopt, struct ceph_options *new_opt, struct ceph_fs_client *fsc) argument 690 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(root->d_sb); local 786 struct ceph_fs_client *fsc = client->private; local 809 struct ceph_fs_client *fsc; local 879 flush_fs_workqueues(struct ceph_fs_client *fsc) argument 885 destroy_fs_client(struct ceph_fs_client *fsc) argument 1008 __ceph_umount_begin(struct ceph_fs_client *fsc) argument 1021 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); local 1047 open_root_dentry(struct ceph_fs_client *fsc, const char *path, unsigned long started) argument 1098 struct ceph_fs_client *fsc = sb->s_fs_info; local 1140 ceph_real_mount(struct ceph_fs_client *fsc, struct fs_context *fc) argument 1198 struct ceph_fs_client *fsc = s->s_fs_info; local 1235 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); local 1272 ceph_setup_bdi(struct super_block *sb, struct ceph_fs_client *fsc) argument 1295 struct ceph_fs_client *fsc; local 1388 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); local 1528 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(s); local 1591 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); local 1647 struct ceph_fs_client *fsc; local [all...] |
H A D | debugfs.c | 28 struct ceph_fs_client *fsc = s->private; local 31 if (!fsc->mdsc || !fsc->mdsc->mdsmap) 33 mdsmap = fsc->mdsc->mdsmap; 54 struct ceph_fs_client *fsc = s->private; local 55 struct ceph_mds_client *mdsc = fsc->mdsc; 151 struct ceph_fs_client *fsc = s->private; local 152 struct ceph_client_metric *m = &fsc->mdsc->metric; 175 struct ceph_fs_client *fsc = s->private; local 176 struct ceph_client_metric *cm = &fsc 201 struct ceph_fs_client *fsc = s->private; local 231 struct ceph_fs_client *fsc = s->private; local 270 struct ceph_fs_client *fsc = s->private; local 318 struct ceph_fs_client *fsc = s->private; local 354 struct ceph_fs_client *fsc = s->private; local 381 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; local 389 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; local 399 ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) argument 413 ceph_fs_debugfs_init(struct ceph_fs_client *fsc) argument 479 ceph_fs_debugfs_init(struct ceph_fs_client *fsc) argument 483 ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) argument [all...] |
H A D | cache.c | 18 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 21 if (!fsc->fscache) 35 fscache_acquire_cookie(fsc->fscache, 0, 86 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc) argument 88 const struct ceph_fsid *fsid = &fsc->client->fsid; 89 const char *fscache_uniq = fsc->mount_options->fscache_uniq; 99 fsc->fscache = fscache_acquire_volume(name, NULL, NULL, 0); 100 if (IS_ERR_OR_NULL(fsc->fscache)) { 102 err = fsc->fscache ? PTR_ERR(fsc 109 ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) argument [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); 60 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, argument 66 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) argument
|
H A D | addr.c | 211 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 219 subreq->len = min(xlen, fsc->mount_options->rsize); 226 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 227 struct ceph_client *cl = fsc->client; 234 ceph_update_read_metrics(&fsc->mdsc->metric, req->r_start_latency, 244 fsc->blocklisted = true; 268 ceph_dec_osd_stopping_blocker(fsc->mdsc); 331 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 332 struct ceph_client *cl = fsc->client; 338 bool sparse = IS_ENCRYPTED(inode) || ceph_test_mount_opt(fsc, SPARSEREA 646 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 834 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 927 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 1835 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 1990 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(&ci->netfs.inode); local [all...] |
H A D | quota.c | 44 struct super_block *sb = mdsc->fsc->sb; 46 struct ceph_client *cl = mdsc->fsc->client; 89 struct ceph_client *cl = mdsc->fsc->client; 134 struct ceph_client *cl = mdsc->fsc->client; 218 struct ceph_client *cl = mdsc->fsc->client; 330 struct ceph_client *cl = mdsc->fsc->client; 482 * @fsc: filesystem client instance 490 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) argument 492 struct ceph_mds_client *mdsc = fsc->mdsc; 500 get_quota_realm(mdsc, d_inode(fsc [all...] |
H A D | mds_client.c | 415 struct ceph_client *cl = req->r_mdsc->fsc->client; 575 struct ceph_client *cl = s->s_mdsc->fsc->client; 751 struct ceph_client *cl = s->s_mdsc->fsc->client; 838 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); local 839 struct ceph_client *cl = fsc->client; 851 hash_for_each_possible_rcu(fsc->async_unlink_conflict, di, 966 struct ceph_client *cl = mdsc->fsc->client; 969 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_FENCE_IO) 1002 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); 1039 doutc(mdsc->fsc 1924 struct ceph_fs_client *fsc = session->s_mdsc->fsc; local 5237 struct ceph_fs_client *fsc = mdsc->fsc; local 5371 ceph_mdsc_init(struct ceph_fs_client *fsc) argument 5749 ceph_mdsc_destroy(struct ceph_fs_client *fsc) argument 5771 struct ceph_fs_client *fsc = mdsc->fsc; local [all...] |
H A D | dir.c | 112 static int note_last_dentry(struct ceph_fs_client *fsc, argument 125 doutc(fsc->client, "'%s'\n", dfi->last_name); 191 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(dir); local 291 ret = note_last_dentry(fsc, dfi, last->d_name.name, 321 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 322 struct ceph_mds_client *mdsc = fsc->mdsc; 323 struct ceph_client *cl = fsc->client; 367 if (ceph_test_mount_opt(fsc, DCACHE) && 368 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && 510 err = note_last_dentry(fsc, df 726 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); local 799 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); local 1240 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); local 1333 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); local 2051 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); local [all...] |
H A D | export.c | 211 struct ceph_client *cl = mdsc->fsc->client; 300 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); local 314 doutc(fsc->client, "%llx\n", fh->ino); 419 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); local 433 doutc(fsc->client, "%llx\n", cfh->parent_ino); 445 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 455 strcpy(name, fsc->mount_options->snapdir_name); 468 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, 493 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); 532 doutc(fsc [all...] |
H A D | snap.c | 141 doutc(mdsc->fsc->client, "%llx %p\n", realm->ino, realm); 153 struct ceph_client *cl = mdsc->fsc->client; 192 struct ceph_client *cl = mdsc->fsc->client; 295 struct ceph_client *cl = mdsc->fsc->client; 340 struct ceph_client *cl = mdsc->fsc->client; 437 struct ceph_client *cl = mdsc->fsc->client; 667 struct ceph_client *cl = mdsc->fsc->client; 725 struct ceph_client *cl = mdsc->fsc->client; 783 struct ceph_client *cl = mdsc->fsc->client; 790 struct ceph_client *client = mdsc->fsc [all...] |
H A D | file.c | 25 struct ceph_client *cl = mdsc->fsc->client; 303 struct ceph_client *cl = mdsc->fsc->client; 362 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); local 363 struct ceph_client *cl = fsc->client; 364 struct ceph_mds_client *mdsc = fsc->mdsc; 570 struct ceph_client *cl = mdsc->fsc->client; 641 struct ceph_client *cl = mdsc->fsc->client; 752 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); local 753 struct ceph_client *cl = fsc->client; 754 struct ceph_mds_client *mdsc = fsc 991 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 1427 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 1655 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 2277 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 2513 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 2816 ceph_do_objects_copy(struct ceph_inode_info *src_ci, u64 *src_off, struct ceph_inode_info *dst_ci, u64 *dst_off, struct ceph_fs_client *fsc, size_t len, unsigned int flags) argument [all...] |
H A D | caps.c | 189 doutc(mdsc->fsc->client, 205 struct ceph_client *cl = mdsc->fsc->client; 311 struct ceph_client *cl = mdsc->fsc->client; 333 struct ceph_client *cl = mdsc->fsc->client; 388 struct ceph_client *cl = mdsc->fsc->client; 413 void ceph_reservation_status(struct ceph_fs_client *fsc, argument 417 struct ceph_mds_client *mdsc = fsc->mdsc; 500 struct ceph_mount_options *opt = mdsc->fsc->mount_options; 504 doutc(mdsc->fsc->client, "%p %llx.%llx %lu\n", inode, 521 doutc(mdsc->fsc 951 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); local 1214 struct ceph_fs_client *fsc; local 3048 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 4984 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local [all...] |
H A D | crypto.h | 99 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) argument
|
H A D | super.h | 54 #define ceph_set_mount_opt(fsc, opt) \ 55 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 56 #define ceph_clear_mount_opt(fsc, opt) \ 57 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 58 #define ceph_test_mount_opt(fsc, opt) \ 59 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 1116 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 1117 int state = READ_ONCE(fsc->mount_state); 1431 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); local 61 struct ceph_client *cl = fsc->client; 62 struct ceph_osd_client *osdc = &fsc->client->osdc; 165 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); local 166 struct ceph_osd_client *osdc = &fsc->client->osdc; 317 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); local 319 return ceph_fmt_xattr(val, size, "%pU", &fsc->client->fsid); 325 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); local 328 ceph_client_gid(fsc->client)); 1111 struct ceph_fs_client *fsc local [all...] |
H A D | ioctl.c | 248 struct ceph_client *cl = mdsc->fsc->client; 362 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); local 365 doutc(fsc->client, "file %p %p %llx.%llx cmd %s arg %lu\n", file,
|
H A D | mds_client.h | 417 struct ceph_fs_client *fsc; member in struct:ceph_mds_client 536 extern int ceph_mdsc_init(struct ceph_fs_client *fsc); 539 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
|
/linux-master/fs/fuse/ |
H A D | inode.c | 184 static int fuse_reconfigure(struct fs_context *fsc) argument 186 struct super_block *sb = fsc->root->d_sb; 189 if (fsc->sb_flags & SB_MANDLOCK) 753 static int fuse_parse_param(struct fs_context *fsc, struct fs_parameter *param) argument 756 struct fuse_fs_context *ctx = fsc->fs_private; 759 if (fsc->purpose == FS_CONTEXT_FOR_RECONFIGURE) { 764 if (fsc->oldapi) 767 return invalfc(fsc, "No changes allowed in reconfigure"); 770 opt = fs_parse(fsc, fuse_fs_parameters, param, &result); 776 if (fsc 840 fuse_free_fsc(struct fs_context *fsc) argument 1620 fuse_get_tree_submount(struct fs_context *fsc) argument 1661 fuse_init_fs_context_submount(struct fs_context *fsc) argument 1770 fuse_fill_super(struct super_block *sb, struct fs_context *fsc) argument 1801 fuse_set_no_super(struct super_block *sb, struct fs_context *fsc) argument 1806 fuse_test_super(struct super_block *sb, struct fs_context *fsc) argument 1812 fuse_get_tree(struct fs_context *fsc) argument 1883 fuse_init_fs_context(struct fs_context *fsc) argument [all...] |
H A D | control.c | 310 static int fuse_ctl_fill_super(struct super_block *sb, struct fs_context *fsc) argument 336 static int fuse_ctl_get_tree(struct fs_context *fsc) argument 338 return get_tree_single(fsc, fuse_ctl_fill_super); 345 static int fuse_ctl_init_fs_context(struct fs_context *fsc) argument 347 fsc->ops = &fuse_ctl_context_ops;
|
H A D | virtio_fs.c | 114 static int virtio_fs_parse_param(struct fs_context *fsc, argument 118 struct fuse_fs_context *ctx = fsc->fs_private; 121 opt = fs_parse(fsc, virtio_fs_parameters, param, &result); 139 static void virtio_fs_free_fsc(struct fs_context *fsc) argument 141 struct fuse_fs_context *ctx = fsc->fs_private; 1358 static int virtio_fs_fill_super(struct super_block *sb, struct fs_context *fsc) argument 1363 struct fuse_fs_context *ctx = fsc->fs_private; 1470 struct fs_context *fsc) 1472 struct fuse_mount *fsc_fm = fsc->s_fs_info; 1478 static int virtio_fs_get_tree(struct fs_context *fsc) argument 1469 virtio_fs_test_super(struct super_block *sb, struct fs_context *fsc) argument 1555 virtio_fs_init_fs_context(struct fs_context *fsc) argument [all...] |
/linux-master/net/sched/ |
H A D | sch_hfsc.c | 889 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) argument 891 sc2isc(fsc, &cl->cl_fsc); 929 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; local 948 fsc = nla_data(tb[TCA_HFSC_FSC]); 949 if (fsc->m1 == 0 && fsc->m2 == 0) 950 fsc = NULL; 986 if (fsc != NULL) 987 hfsc_change_fsc(cl, fsc); 1028 if (rsc == NULL && fsc [all...] |
/linux-master/fs/smb/client/ |
H A D | fs_context.h | 242 bool fsc:1; /* enable fscache */ member in struct:smb3_fs_context
|
/linux-master/drivers/net/fddi/skfp/ |
H A D | smt.c | 84 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. */ 1443 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) argument 1446 SMTSETPARA(fsc,SMT_P_FSC) ; 1447 fsc->fsc_pad0 = 0 ; 1448 fsc->fsc_mac_index = INDEX_MAC ; /* this is MIB ; MIB is NOT 1451 fsc->fsc_pad1 = 0 ; 1452 fsc->fsc_value = FSC_TYPE0 ; /* "normal" node */ 1454 fsc->fsc_mac_index = smt_swap_short(INDEX_MAC) ; 1455 fsc [all...] |