Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/ceph/
Dsuper.c40 struct ceph_fs_client *fsc = ceph_sb_to_client(s); in ceph_put_super() local
43 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super()
48 struct ceph_fs_client *fsc = ceph_inode_to_client(d_inode(dentry)); in ceph_statfs() local
49 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs()
55 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs()
56 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs()
86 if (ceph_test_mount_opt(fsc, NOQUOTADF) || in ceph_statfs()
87 !ceph_quota_update_statfs(fsc, buf)) { in ceph_statfs()
112 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_sync_fs() local
116 ceph_flush_dirty_caps(fsc->mdsc); in ceph_sync_fs()
[all …]
Ddebugfs.c25 struct ceph_fs_client *fsc = s->private; in mdsmap_show() local
28 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
30 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show()
51 struct ceph_fs_client *fsc = s->private; in mdsc_show() local
52 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
139 struct ceph_fs_client *fsc = s->private; in caps_show() local
140 struct ceph_mds_client *mdsc = fsc->mdsc; in caps_show()
143 ceph_reservation_status(fsc, &total, &avail, &used, &reserved, &min); in caps_show()
174 struct ceph_fs_client *fsc = s->private; in mds_sessions_show() local
175 struct ceph_mds_client *mdsc = fsc->mdsc; in mds_sessions_show()
[all …]
Dcache.c52 int ceph_fscache_register_fs(struct ceph_fs_client* fsc) in ceph_fscache_register_fs() argument
54 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs()
55 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs()
87 fsc->fscache = fscache_acquire_cookie(ceph_cache_netfs.primary_index, in ceph_fscache_register_fs()
91 fsc, 0, true); in ceph_fscache_register_fs()
93 if (fsc->fscache) { in ceph_fscache_register_fs()
94 ent->fscache = fsc->fscache; in ceph_fscache_register_fs()
140 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_fscache_register_inode_cookie() local
144 if (!fsc->fscache) in ceph_fscache_register_inode_cookie()
157 ci->fscache = fscache_acquire_cookie(fsc->fscache, in ceph_fscache_register_inode_cookie()
[all …]
Daddr.c192 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_do_readpage() local
221 err = ceph_osdc_readpages(&fsc->client->osdc, ceph_vino(inode), in ceph_do_readpage()
231 fsc->blacklisted = true; in ceph_do_readpage()
445 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readpages() local
461 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages()
583 struct ceph_fs_client *fsc; in writepage_nounlock() local
593 fsc = ceph_inode_to_client(inode); in writepage_nounlock()
626 if (atomic_long_inc_return(&fsc->writeback_count) > in writepage_nounlock()
627 CONGESTION_ON_THRESH(fsc->mount_options->congestion_kb)) in writepage_nounlock()
631 err = ceph_osdc_writepages(&fsc->client->osdc, ceph_vino(inode), in writepage_nounlock()
[all …]
Dcache.h19 int ceph_fscache_register_fs(struct ceph_fs_client* fsc);
20 void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc);
91 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc) in ceph_fscache_register_fs() argument
96 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
Dfile.c183 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in prepare_open_request() local
184 struct ceph_mds_client *mdsc = fsc->mdsc; in prepare_open_request()
347 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local
348 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
441 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local
442 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
588 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_read() local
589 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read()
707 fsc->blacklisted = true; in ceph_sync_read()
933 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_direct_read_write() local
[all …]
Dmds_client.c632 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
925 if (!dir || dir->i_sb != mdsc->fsc->sb) { in __choose_mds()
1078 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg()
1079 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg()
1381 struct ceph_fs_client *fsc = (struct ceph_fs_client *)arg; in remove_session_caps_cb() local
1395 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb()
1397 if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in remove_session_caps_cb()
1482 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local
1483 struct super_block *sb = fsc->sb; in remove_session_caps()
1487 ceph_iterate_session_caps(session, remove_session_caps_cb, fsc); in remove_session_caps()
[all …]
Ddir.c308 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readdir() local
309 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
340 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir()
341 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir()
668 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir() local
675 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir()
736 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local
737 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_lookup()
757 fsc->mount_options->snapdir_name, in ceph_lookup()
760 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup()
[all …]
Dquota.c25 struct super_block *sb = mdsc->fsc->sb; in ceph_has_realms_with_quotas()
41 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), true); in ceph_quota_update_statfs()
Dmds_client.h347 struct ceph_fs_client *fsc; member
459 extern int ceph_mdsc_init(struct ceph_fs_client *fsc);
462 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
Dexport.c407 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in __get_snap_name() local
417 strcpy(name, fsc->mount_options->snapdir_name); in __get_snap_name()
430 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, in __get_snap_name()
455 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); in __get_snap_name()
Dsuper.h51 #define ceph_set_mount_opt(fsc, opt) \ argument
52 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
53 #define ceph_test_mount_opt(fsc, opt) \ argument
54 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
1178 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
Dxattr.c59 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout() local
60 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout()
162 struct ceph_fs_client *fsc = ceph_sb_to_client(ci->vfs_inode.i_sb); in ceph_vxattrcb_layout_pool() local
163 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout_pool()
948 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_sync_setxattr() local
951 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_sync_setxattr()
Dinode.c1221 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_fill_trace() local
1327 fsc->mount_options->snapdir_name, in ceph_fill_trace()
1847 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_do_invalidate_pages() local
1853 if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in ceph_do_invalidate_pages()
2210 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_setattr() local
2221 attr->ia_size > max(inode->i_size, fsc->max_file_size)) in ceph_setattr()
2243 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in __ceph_do_getattr() local
2244 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr()
Dcaps.c406 void ceph_reservation_status(struct ceph_fs_client *fsc, in ceph_reservation_status() argument
410 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status()
492 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in __cap_set_timeouts()
1141 struct ceph_osd_client *osdc = &arg->session->s_mdsc->fsc->client->osdc; in send_cap_msg()
1820 struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode); in ceph_check_caps() local
1821 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_check_caps()
2660 if (READ_ONCE(mdsc->fsc->mount_state) == in try_get_cap_refs()
2745 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_get_caps() local
2753 fi->filp_gen != READ_ONCE(fsc->filp_gen)) in ceph_get_caps()
2786 fi->filp_gen != READ_ONCE(fsc->filp_gen)) { in ceph_get_caps()
[all …]
Dsnap.c846 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_snap()
/Linux-v5.4/fs/xfs/scrub/
Dfscounters.c125 struct xchk_fscounters *fsc; in xchk_setup_fscounters() local
131 fsc = sc->buf; in xchk_setup_fscounters()
133 xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); in xchk_setup_fscounters()
159 struct xchk_fscounters *fsc) in xchk_fscount_aggregate_agcounts() argument
168 fsc->icount = 0; in xchk_fscount_aggregate_agcounts()
169 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts()
170 fsc->fdblocks = 0; in xchk_fscount_aggregate_agcounts()
182 fsc->icount += pag->pagi_count; in xchk_fscount_aggregate_agcounts()
183 fsc->ifree += pag->pagi_freecount; in xchk_fscount_aggregate_agcounts()
186 fsc->fdblocks += pag->pagf_freeblks; in xchk_fscount_aggregate_agcounts()
[all …]
/Linux-v5.4/fs/fuse/
Dvirtio_fs.c1136 struct fs_context *fsc) in virtio_fs_test_super() argument
1138 struct fuse_conn *fc = fsc->s_fs_info; in virtio_fs_test_super()
1144 struct fs_context *fsc) in virtio_fs_set_super() argument
1150 fuse_conn_get(fsc->s_fs_info); in virtio_fs_set_super()
1155 static int virtio_fs_get_tree(struct fs_context *fsc) in virtio_fs_get_tree() argument
1166 fs = virtio_fs_find_instance(fsc->source); in virtio_fs_get_tree()
1168 pr_info("virtio-fs: tag <%s> not found\n", fsc->source); in virtio_fs_get_tree()
1185 fsc->s_fs_info = fc; in virtio_fs_get_tree()
1186 sb = sget_fc(fsc, virtio_fs_test_super, virtio_fs_set_super); in virtio_fs_get_tree()
1201 WARN_ON(fsc->root); in virtio_fs_get_tree()
[all …]
Dinode.c1222 static int fuse_fill_super(struct super_block *sb, struct fs_context *fsc) in fuse_fill_super() argument
1224 struct fuse_fs_context *ctx = fsc->fs_private; in fuse_fill_super()
/Linux-v5.4/net/sched/
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()
1048 if (fsc != NULL) in hfsc_change_class()
[all …]
/Linux-v5.4/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-v5.4/drivers/net/fddi/skfp/
Dsmt.c88 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc);
945 smt_fill_fsc(smc,&nif->fsc) ; /* set frame status cap. */ in smt_send_nif()
1447 static void smt_fill_fsc(struct s_smc *smc, struct smt_p_fsc *fsc) in smt_fill_fsc() argument
1450 SMTSETPARA(fsc,SMT_P_FSC) ; in smt_fill_fsc()
1451 fsc->fsc_pad0 = 0 ; in smt_fill_fsc()
1452 fsc->fsc_mac_index = INDEX_MAC ; /* this is MIB ; MIB is NOT in smt_fill_fsc()
1455 fsc->fsc_pad1 = 0 ; in smt_fill_fsc()
1456 fsc->fsc_value = FSC_TYPE0 ; /* "normal" node */ in smt_fill_fsc()
1458 fsc->fsc_mac_index = smt_swap_short(INDEX_MAC) ; in smt_fill_fsc()
1459 fsc->fsc_value = smt_swap_short(FSC_TYPE0) ; in smt_fill_fsc()
/Linux-v5.4/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-v5.4/drivers/net/fddi/skfp/h/
Dsmt.h730 struct smt_p_fsc fsc ; /* frame status cap. */ member
/Linux-v5.4/Documentation/sound/hd-audio/
Dmodels.rst37 fsc-h270
39 fsc-s7110

12