/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | fscounters.c | 165 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 in xchk_setup_fscounters() 262 xchk_fscount_btreeblks( struct xfs_scrub *sc, struct xchk_fscounters *fsc, xfs_agnumber_t agno) xchk_fscount_btreeblks() argument 296 xchk_fscount_aggregate_agcounts( struct xfs_scrub *sc, struct xchk_fscounters *fsc) xchk_fscount_aggregate_agcounts() argument 399 struct xchk_fscounters *fsc = priv; xchk_fscount_add_frextent() local 410 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) xchk_fscount_count_frextents() argument 435 xchk_fscount_count_frextents( struct xfs_scrub *sc, struct xchk_fscounters *fsc) xchk_fscount_count_frextents() argument 502 struct xchk_fscounters *fsc = sc->buf; xchk_fscounters() local [all...] |
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | debugfs.c | 28 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 in metrics_latency_show() 201 struct ceph_fs_client *fsc = s->private; metrics_size_show() local 231 struct ceph_fs_client *fsc = s->private; metrics_caps_show() local 270 struct ceph_fs_client *fsc = s->private; caps_show() local 318 struct ceph_fs_client *fsc = s->private; mds_sessions_show() local 354 struct ceph_fs_client *fsc = s->private; status_show() local 381 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; congestion_kb_set() local 389 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; congestion_kb_get() local 399 ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) ceph_fs_debugfs_cleanup() argument 412 ceph_fs_debugfs_init(struct ceph_fs_client *fsc) ceph_fs_debugfs_init() argument 477 ceph_fs_debugfs_init(struct ceph_fs_client *fsc) ceph_fs_debugfs_init() argument 481 ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) ceph_fs_debugfs_cleanup() argument [all...] |
H A D | super.c | 47 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 in ceph_sync_fs() local 644 compare_mount_options(struct ceph_mount_options *new_fsopt, struct ceph_options *new_opt, struct ceph_fs_client *fsc) compare_mount_options() argument 687 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb); ceph_show_options() local 783 struct ceph_fs_client *fsc = client->private; extra_mon_dispatch() local 806 struct ceph_fs_client *fsc; create_fs_client() local 876 flush_fs_workqueues(struct ceph_fs_client *fsc) flush_fs_workqueues() argument 882 destroy_fs_client(struct ceph_fs_client *fsc) destroy_fs_client() argument 1005 __ceph_umount_begin(struct ceph_fs_client *fsc) __ceph_umount_begin() argument 1018 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); ceph_umount_begin() local 1044 open_root_dentry(struct ceph_fs_client *fsc, const char *path, unsigned long started) open_root_dentry() argument 1094 struct ceph_fs_client *fsc = sb->s_fs_info; ceph_apply_test_dummy_encryption() local 1136 ceph_real_mount(struct ceph_fs_client *fsc, struct fs_context *fc) ceph_real_mount() argument 1193 struct ceph_fs_client *fsc = s->s_fs_info; ceph_set_super() local 1229 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); ceph_compare_super() local 1265 ceph_setup_bdi(struct super_block *sb, struct ceph_fs_client *fsc) ceph_setup_bdi() argument 1288 struct ceph_fs_client *fsc; ceph_get_tree() local 1380 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); ceph_reconfigure_fc() local 1519 struct ceph_fs_client *fsc = ceph_sb_to_client(s); ceph_kill_sb() local 1581 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); ceph_force_reconnect() local 1637 struct ceph_fs_client *fsc; param_set_metrics() local [all...] |
H A D | cache.c | 18 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 in ceph_fscache_register_fs() 109 ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) ceph_fscache_unregister_fs() argument [all...] |
H A D | addr.c | 232 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 in ceph_netfs_issue_read() 661 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); writepage_nounlock() local 839 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); writepages_finish() local 929 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_writepages_start() local 1826 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_uninline_data() local 1980 struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->netfs.inode); __ceph_pool_perm_get() local [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); 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
|
H A D | mds_client.c | 833 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 5045 struct ceph_fs_client *fsc = mdsc->fsc; maybe_recover_session() local 5175 ceph_mdsc_init(struct ceph_fs_client *fsc) ceph_mdsc_init() argument 5546 ceph_mdsc_destroy(struct ceph_fs_client *fsc) ceph_mdsc_destroy() argument 5568 struct ceph_fs_client *fsc = mdsc->fsc; ceph_mdsc_handle_fsmap() local [all...] |
H A D | dir.c | 313 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 in ceph_async_unlink_cb() local 1293 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); ceph_unlink() local 1998 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); ceph_d_release() local [all...] |
H A D | file.c | 355 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() 1136 fsc in __ceph_sync_read() 1392 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_direct_read_write() local 1616 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_sync_write() local 2234 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_write_iter() local 2468 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_zero_partial_object() local 2769 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) ceph_do_objects_copy() argument [all...] |
H A D | super.h | 53 #define ceph_set_mount_opt(fsc, opt) \ 54 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 55 #define ceph_clear_mount_opt(fsc, opt) \ 56 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 57 #define ceph_test_mount_opt(fsc, opt) \ 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,
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | fscounters.c | 122 struct xchk_fscounters *fsc; in xchk_setup_fscounters() local 128 fsc = sc->buf; in xchk_setup_fscounters() 130 xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); in xchk_setup_fscounters() 156 struct xchk_fscounters *fsc) in xchk_fscount_aggregate_agcounts() 166 fsc->icount = 0; in xchk_fscount_aggregate_agcounts() 167 fsc->ifree = 0; in xchk_fscount_aggregate_agcounts() 168 fsc->fdblocks = 0; in xchk_fscount_aggregate_agcounts() 180 fsc->icount += pag->pagi_count; in xchk_fscount_aggregate_agcounts() 181 fsc in xchk_fscount_aggregate_agcounts() 154 xchk_fscount_aggregate_agcounts( struct xfs_scrub *sc, struct xchk_fscounters *fsc) xchk_fscount_aggregate_agcounts() argument 308 struct xchk_fscounters *fsc = sc->buf; xchk_fscounters() local [all...] |
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | super.c | 44 struct ceph_fs_client *fsc = ceph_sb_to_client(s); in ceph_put_super() local 47 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super() 52 struct ceph_fs_client *fsc = ceph_inode_to_client(d_inode(dentry)); in ceph_statfs() local 53 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs() 58 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs() 59 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs() 89 if (ceph_test_mount_opt(fsc, NOQUOTADF) || in ceph_statfs() 90 !ceph_quota_update_statfs(fsc, buf)) { in ceph_statfs() 115 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); in ceph_sync_fs() local 119 ceph_flush_dirty_caps(fsc in ceph_sync_fs() 491 compare_mount_options(struct ceph_mount_options *new_fsopt, struct ceph_options *new_opt, struct ceph_fs_client *fsc) compare_mount_options() argument 530 struct ceph_fs_client *fsc = ceph_sb_to_client(root->d_sb); ceph_show_options() local 616 struct ceph_fs_client *fsc = client->private; extra_mon_dispatch() local 639 struct ceph_fs_client *fsc; create_fs_client() local 705 flush_fs_workqueues(struct ceph_fs_client *fsc) flush_fs_workqueues() argument 711 destroy_fs_client(struct ceph_fs_client *fsc) destroy_fs_client() argument 841 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); ceph_umount_begin() local 869 open_root_dentry(struct ceph_fs_client *fsc, const char *path, unsigned long started) open_root_dentry() argument 917 ceph_real_mount(struct ceph_fs_client *fsc, struct fs_context *fc) ceph_real_mount() argument 968 struct ceph_fs_client *fsc = s->s_fs_info; ceph_set_super() local 1001 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); ceph_compare_super() local 1037 ceph_setup_bdi(struct super_block *sb, struct ceph_fs_client *fsc) ceph_setup_bdi() argument 1059 struct ceph_fs_client *fsc; ceph_get_tree() local 1147 struct ceph_fs_client *fsc = ceph_sb_to_client(fc->root->d_sb); ceph_reconfigure_fc() local 1218 struct ceph_fs_client *fsc = ceph_sb_to_client(s); ceph_kill_sb() local 1256 struct ceph_fs_client *fsc = ceph_sb_to_client(sb); ceph_force_reconnect() local 1311 struct ceph_fs_client *fsc; param_set_metrics() local [all...] |
H A D | debugfs.c | 28 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() 145 struct ceph_fs_client *fsc = s->private; in metric_show() local 146 struct ceph_mds_client *mdsc = fsc->mdsc; in metric_show() 225 struct ceph_fs_client *fsc = s->private; in caps_show() local 226 struct ceph_mds_client *mdsc = fsc in caps_show() 273 struct ceph_fs_client *fsc = s->private; mds_sessions_show() local 319 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; congestion_kb_set() local 327 struct ceph_fs_client *fsc = (struct ceph_fs_client *)data; congestion_kb_get() local 337 ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) ceph_fs_debugfs_cleanup() argument 349 ceph_fs_debugfs_init(struct ceph_fs_client *fsc) ceph_fs_debugfs_init() argument 402 ceph_fs_debugfs_init(struct ceph_fs_client *fsc) ceph_fs_debugfs_init() argument 406 ceph_fs_debugfs_cleanup(struct ceph_fs_client *fsc) ceph_fs_debugfs_cleanup() argument [all...] |
H A D | cache.c | 53 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc) in ceph_fscache_register_fs() argument 55 const struct ceph_fsid *fsid = &fsc->client->fsid; in ceph_fscache_register_fs() 56 const char *fscache_uniq = fsc->mount_options->fscache_uniq; in ceph_fscache_register_fs() 70 errorfc(fc, "fscache cookie already registered for fsid %pU, use fsc=<uniquifier> option", in ceph_fscache_register_fs() 88 fsc->fscache = fscache_acquire_cookie(ceph_cache_netfs.primary_index, in ceph_fscache_register_fs() 92 fsc, 0, true); in ceph_fscache_register_fs() 94 if (fsc->fscache) { in ceph_fscache_register_fs() 95 ent->fscache = fsc->fscache; in ceph_fscache_register_fs() 141 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_fscache_register_inode_cookie() local 145 if (!fsc in ceph_fscache_register_inode_cookie() 310 ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) ceph_fscache_unregister_fs() argument [all...] |
H A D | addr.c | 182 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_do_readpage() local 183 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_do_readpage() 227 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency, in ceph_do_readpage() 238 fsc->blocklisted = true; in ceph_do_readpage() 270 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in finish_read() local 309 ceph_update_read_latency(&fsc->mdsc->metric, req->r_start_latency, in finish_read() 457 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_readpages() local 473 max = fsc->mount_options->rsize >> PAGE_SHIFT; in ceph_readpages() 595 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in writepage_nounlock() local 601 struct ceph_osd_client *osdc = &fsc in writepage_nounlock() 737 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); writepages_finish() local 819 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_writepages_start() local 1256 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_find_incompatible() local 1743 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_uninline_data() local 1900 struct ceph_fs_client *fsc = ceph_inode_to_client(&ci->vfs_inode); __ceph_pool_perm_get() local [all...] |
H A D | cache.h | 19 int ceph_fscache_register_fs(struct ceph_fs_client* fsc, struct fs_context *fc); 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 97 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
|
H A D | file.c | 341 struct ceph_fs_client *fsc = ceph_sb_to_client(inode->i_sb); in ceph_open() local 342 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() 690 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_atomic_open() local 691 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() 695 bool try_async = ceph_test_mount_opt(fsc, ASYNC_DIROPS); in ceph_atomic_open() 872 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); in ceph_sync_read() local 873 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_sync_read() 932 ceph_update_read_latency(&fsc->mdsc->metric, in ceph_sync_read() 974 fsc->blocklisted = true; in ceph_sync_read() 1211 struct ceph_fs_client *fsc in ceph_direct_read_write() local 1421 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_sync_write() local 1706 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_write_iter() local 1900 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_llseek() local 1993 struct ceph_fs_client *fsc = ceph_inode_to_client(inode); ceph_zero_partial_object() local 2238 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) ceph_do_objects_copy() argument [all...] |
H A D | mds_client.c | 747 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session() 1079 if (!dir || dir->i_sb != mdsc->fsc->sb) { in __choose_mds() 1290 struct ceph_options *opt = mdsc->fsc->client->options; in create_session_open_msg() 1291 struct ceph_mount_options *fsopt = mdsc->fsc->mount_options; in create_session_open_msg() 1640 struct ceph_fs_client *fsc = (struct ceph_fs_client *)arg; in remove_session_caps_cb() local 1641 struct ceph_mds_client *mdsc = fsc->mdsc; in remove_session_caps_cb() 1655 if (READ_ONCE(fsc->mount_state) == CEPH_MOUNT_SHUTDOWN) { in remove_session_caps_cb() 1746 struct ceph_fs_client *fsc = session->s_mdsc->fsc; in remove_session_caps() local 1747 struct super_block *sb = fsc in remove_session_caps() 4423 struct ceph_fs_client *fsc = mdsc->fsc; maybe_recover_session() local 4561 ceph_mdsc_init(struct ceph_fs_client *fsc) ceph_mdsc_init() argument 4919 ceph_mdsc_destroy(struct ceph_fs_client *fsc) ceph_mdsc_destroy() argument 4941 struct ceph_fs_client *fsc = mdsc->fsc; ceph_mdsc_handle_fsmap() local [all...] |
H A D | dir.c | 310 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() 680 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); in ceph_handle_snapdir() local 687 fsc->mount_options->snapdir_name) == 0) { in ceph_handle_snapdir() 748 struct ceph_fs_client *fsc = ceph_sb_to_client(dir->i_sb); in ceph_lookup() local 769 fsc->mount_options->snapdir_name, in ceph_lookup() 772 ceph_test_mount_opt(fsc, DCACHE) && in ceph_lookup() 1129 struct ceph_fs_client *fsc in ceph_unlink() local 1798 struct ceph_fs_client *fsc = ceph_sb_to_client(dentry->d_sb); ceph_d_release() local [all...] |
H A D | super.h | 52 #define ceph_set_mount_opt(fsc, opt) \ 53 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt 54 #define ceph_clear_mount_opt(fsc, opt) \ 55 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt 56 #define ceph_test_mount_opt(fsc, opt) \ 57 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt)) 1256 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
|
H A D | quota.c | 41 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_quota() 468 * @fsc: filesystem client instance 476 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument 478 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs() 486 realm = get_quota_realm(mdsc, d_inode(fsc->sb->s_root), true); in ceph_quota_update_statfs()
|
/kernel/linux/linux-6.6/fs/fuse/ |
H A D | inode.c | 177 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() 749 static int fuse_parse_param(struct fs_context *fsc, struct fs_parameter *param) in fuse_parse_param() argument 752 struct fuse_fs_context *ctx = fsc->fs_private; in fuse_parse_param() 755 if (fsc->purpose == FS_CONTEXT_FOR_RECONFIGURE) { in fuse_parse_param() 760 if (fsc->oldapi) in fuse_parse_param() 763 return invalfc(fsc, "No changes allowed in reconfigure"); in fuse_parse_param() 766 opt = fs_parse(fsc, fuse_fs_parameters, param, &result); in fuse_parse_param() 772 if (fsc in fuse_parse_param() 836 fuse_free_fsc(struct fs_context *fsc) fuse_free_fsc() argument 1572 fuse_get_tree_submount(struct fs_context *fsc) fuse_get_tree_submount() argument 1613 fuse_init_fs_context_submount(struct fs_context *fsc) fuse_init_fs_context_submount() argument 1722 fuse_fill_super(struct super_block *sb, struct fs_context *fsc) fuse_fill_super() argument 1753 fuse_set_no_super(struct super_block *sb, struct fs_context *fsc) fuse_set_no_super() argument 1758 fuse_test_super(struct super_block *sb, struct fs_context *fsc) fuse_test_super() argument 1764 fuse_get_tree(struct fs_context *fsc) fuse_get_tree() argument 1835 fuse_init_fs_context(struct fs_context *fsc) fuse_init_fs_context() argument [all...] |
H A D | virtio_fs.c | 110 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() 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 1405 virtio_fs_test_super(struct super_block *sb, struct fs_context *fsc) virtio_fs_test_super() argument 1491 virtio_fs_init_fs_context(struct fs_context *fsc) virtio_fs_init_fs_context() argument [all...] |
H A D | control.c | 314 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()
|
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | virtio_fs.c | 1300 static int virtio_fs_fill_super(struct super_block *sb, struct fs_context *fsc) in virtio_fs_fill_super() argument 1305 struct fuse_fs_context *ctx = fsc->fs_private; in virtio_fs_fill_super() 1411 struct fs_context *fsc) in virtio_fs_test_super() 1413 struct fuse_mount *fsc_fm = fsc->s_fs_info; in virtio_fs_test_super() 1420 struct fs_context *fsc) in virtio_fs_set_super() 1426 fuse_mount_get(fsc->s_fs_info); in virtio_fs_set_super() 1431 static int virtio_fs_get_tree(struct fs_context *fsc) in virtio_fs_get_tree() argument 1444 fs = virtio_fs_find_instance(fsc->source); in virtio_fs_get_tree() 1446 pr_info("virtio-fs: tag <%s> not found\n", fsc->source); in virtio_fs_get_tree() 1463 fuse_conn_init(fc, fm, fsc in virtio_fs_get_tree() 1410 virtio_fs_test_super(struct super_block *sb, struct fs_context *fsc) virtio_fs_test_super() argument 1419 virtio_fs_set_super(struct super_block *sb, struct fs_context *fsc) virtio_fs_set_super() argument 1508 virtio_fs_init_fs_context(struct fs_context *fsc) virtio_fs_init_fs_context() argument [all...] |