Home
last modified time | relevance | path

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

12

/linux/fs/xfs/scrub/
H A Dfscounters.c155 struct xchk_fscounters *fsc = sc->buf; in xchk_fscounters_freeze() local
173 fsc->frozen = true; in xchk_fscounters_freeze()
182 struct xchk_fscounters *fsc = buf; in xchk_fscounters_cleanup() local
183 struct xfs_scrub *sc = fsc->sc; in xchk_fscounters_cleanup()
186 if (!fsc->frozen) in xchk_fscounters_cleanup()
193 fsc->frozen = false; in xchk_fscounters_cleanup()
200 struct xchk_fscounters *fsc; in xchk_setup_fscounters() local
214 fsc = sc->buf; in xchk_setup_fscounters()
215 fsc->sc = sc; in xchk_setup_fscounters()
217 xfs_icount_range(sc->mp, &fsc->icount_min, &fsc->icount_max); in xchk_setup_fscounters()
[all …]
/linux/fs/ceph/
H A Ddebugfs.c61 struct ceph_fs_client *fsc = s->private; in mdsmap_show() local
64 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show()
66 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show()
87 struct ceph_fs_client *fsc = s->private; in mdsc_show() local
88 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show()
182 struct ceph_fs_client *fsc = s->private; in metrics_file_show() local
183 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_file_show()
206 struct ceph_fs_client *fsc = s->private; in metrics_latency_show() local
207 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_latency_show()
232 struct ceph_fs_client *fsc = s->private; in metrics_size_show() local
[all …]
H A Dsuper.c51 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(s); in ceph_put_super() local
53 doutc(fsc->client, "begin\n"); in ceph_put_super()
54 ceph_fscrypt_free_dummy_policy(fsc); in ceph_put_super()
55 ceph_mdsc_close_sessions(fsc->mdsc); in ceph_put_super()
56 doutc(fsc->client, "done\n"); in ceph_put_super()
61 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(d_inode(dentry)); in ceph_statfs() local
62 struct ceph_mon_client *monc = &fsc->client->monc; in ceph_statfs()
67 doutc(fsc->client, "begin\n"); in ceph_statfs()
68 if (fsc->mdsc->mdsmap->m_num_data_pg_pools == 1) { in ceph_statfs()
69 data_pool = fsc->mdsc->mdsmap->m_data_pg_pools[0]; in ceph_statfs()
[all …]
H A Dcache.c18 struct ceph_fs_client *fsc = ceph_inode_to_fs_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->fscache) : -EOPNOTSUPP; in ceph_fscache_register_fs()
103 fsc->fscache = NULL; in ceph_fscache_register_fs()
[all …]
H A Daddr.c215 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in finish_netfs_read() local
216 struct ceph_client *cl = fsc->client; in finish_netfs_read()
223 ceph_update_read_metrics(&fsc->mdsc->metric, req->r_start_latency, in finish_netfs_read()
235 fsc->blocklisted = true; in finish_netfs_read()
266 ceph_subvolume_metrics_record_io(fsc->mdsc, ceph_inode(inode), in finish_netfs_read()
277 ceph_dec_osd_stopping_blocker(fsc->mdsc); in finish_netfs_read()
347 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_netfs_prepare_read() local
354 rreq->io_streams[0].sreq_max_len = umin(xlen, fsc->mount_options->rsize); in ceph_netfs_prepare_read()
363 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_netfs_issue_read() local
364 struct ceph_client *cl = fsc->client; in ceph_netfs_issue_read()
[all …]
H A Dmds_client.c461 struct ceph_client *cl = req->r_mdsc->fsc->client; in parse_reply_info_readdir()
624 struct ceph_client *cl = s->s_mdsc->fsc->client; in ceph_insert_deleg_ino()
650 struct ceph_client *cl = s->s_mdsc->fsc->client; in ceph_parse_deleg_inos()
847 struct ceph_client *cl = s->s_mdsc->fsc->client; in parse_reply_info()
935 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_wait_on_conflict_unlink() local
936 struct ceph_client *cl = fsc->client; in ceph_wait_on_conflict_unlink()
948 hash_for_each_possible_rcu(fsc->async_unlink_conflict, di, in ceph_wait_on_conflict_unlink()
1063 struct ceph_client *cl = mdsc->fsc->client; in register_session()
1066 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_FENCE_IO) in register_session()
1100 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session()
[all …]
H A Ddir.c112 static int note_last_dentry(struct ceph_fs_client *fsc, in note_last_dentry() argument
125 doutc(fsc->client, "'%s'\n", dfi->last_name); in note_last_dentry()
192 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(dir); in __dcache_readdir() local
292 ret = note_last_dentry(fsc, dfi, last->d_name.name, in __dcache_readdir()
322 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_readdir() local
323 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_readdir()
324 struct ceph_client *cl = fsc->client; in ceph_readdir()
368 if (ceph_test_mount_opt(fsc, DCACHE) && in ceph_readdir()
369 !ceph_test_mount_opt(fsc, NOASYNCREADDIR) && in ceph_readdir()
510 err = note_last_dentry(fsc, dfi, rde->name, in ceph_readdir()
[all …]
H 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);
60 static inline int ceph_fscache_register_fs(struct ceph_fs_client* fsc, in ceph_fscache_register_fs() argument
66 static inline void ceph_fscache_unregister_fs(struct ceph_fs_client* fsc) in ceph_fscache_unregister_fs() argument
H A Dquota.c44 struct super_block *sb = mdsc->fsc->sb; in ceph_handle_quota()
46 struct ceph_client *cl = mdsc->fsc->client; in ceph_handle_quota()
89 struct ceph_client *cl = mdsc->fsc->client; in find_quotarealm_inode()
134 struct ceph_client *cl = mdsc->fsc->client; in lookup_quotarealm_inode()
218 struct ceph_client *cl = mdsc->fsc->client; in get_quota_realm()
337 struct ceph_client *cl = mdsc->fsc->client; in check_quota_exceeded()
504 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument
506 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs()
513 if (!ceph_has_realms_with_quotas(d_inode(fsc->sb->s_root))) in ceph_quota_update_statfs()
517 get_quota_realm(mdsc, d_inode(fsc->sb->s_root), QUOTA_GET_MAX_BYTES, in ceph_quota_update_statfs()
H A Dexport.c216 struct ceph_client *cl = mdsc->fsc->client; in __snapfh_to_dentry()
305 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); in ceph_fh_to_dentry() local
319 doutc(fsc->client, "%llx\n", fh->ino); in ceph_fh_to_dentry()
424 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); in ceph_fh_to_parent() local
438 doutc(fsc->client, "%llx\n", cfh->parent_ino); in ceph_fh_to_parent()
460 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in __get_snap_name() local
475 strscpy(name, fsc->mount_options->snapdir_name, in __get_snap_name()
489 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, in __get_snap_name()
514 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); in __get_snap_name()
552 doutc(fsc->client, "child dentry %p %p %llx.%llx err=%d\n", child, in __get_snap_name()
[all …]
H A Dfile.c44 struct ceph_client *cl = mdsc->fsc->client; in ceph_flags_sys2wire()
322 struct ceph_client *cl = mdsc->fsc->client; in ceph_renew_caps()
382 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); in ceph_open() local
383 struct ceph_client *cl = fsc->client; in ceph_open()
384 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open()
619 struct ceph_client *cl = mdsc->fsc->client; in ceph_async_create_cb()
688 struct ceph_client *cl = mdsc->fsc->client; in ceph_finish_async_create()
799 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_atomic_open() local
800 struct ceph_client *cl = fsc->client; in ceph_atomic_open()
801 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open()
[all …]
H A Dsnap.c141 doutc(mdsc->fsc->client, "%llx %p\n", realm->ino, realm); in ceph_create_snap_realm()
153 struct ceph_client *cl = mdsc->fsc->client; in __lookup_snap_realm()
192 struct ceph_client *cl = mdsc->fsc->client; in __destroy_snap_realm()
295 struct ceph_client *cl = mdsc->fsc->client; in adjust_snap_realm_parent()
340 struct ceph_client *cl = mdsc->fsc->client; in build_snap_context()
437 struct ceph_client *cl = mdsc->fsc->client; in rebuild_snap_realms()
667 struct ceph_client *cl = mdsc->fsc->client; in __ceph_finish_cap_snap()
725 struct ceph_client *cl = mdsc->fsc->client; in queue_realm_cap_snaps()
783 struct ceph_client *cl = mdsc->fsc->client; in ceph_update_snap_trace()
790 struct ceph_client *client = mdsc->fsc->client; in ceph_update_snap_trace()
[all …]
H A Dcaps.c191 doutc(mdsc->fsc->client, in __ceph_unreserve_caps()
207 struct ceph_client *cl = mdsc->fsc->client; in ceph_reserve_caps()
313 struct ceph_client *cl = mdsc->fsc->client; in ceph_unreserve_caps()
335 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_cap()
390 struct ceph_client *cl = mdsc->fsc->client; in ceph_put_cap()
415 void ceph_reservation_status(struct ceph_fs_client *fsc, in ceph_reservation_status() argument
419 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_reservation_status()
502 struct ceph_mount_options *opt = mdsc->fsc->mount_options; in __cap_set_timeouts()
506 doutc(mdsc->fsc->client, "%p %llx.%llx %lu\n", inode, in __cap_set_timeouts()
523 doutc(mdsc->fsc->client, "%p %llx.%llx flags 0x%lx at %lu\n", in __cap_delay_requeue()
[all …]
H A Dxattr.c60 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_layout() local
61 struct ceph_client *cl = fsc->client; in ceph_vxattrcb_layout()
62 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout()
165 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_layout_pool() local
166 struct ceph_osd_client *osdc = &fsc->client->osdc; in ceph_vxattrcb_layout_pool()
315 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_cluster_fsid() local
317 return ceph_fmt_xattr(val, size, "%pU", &fsc->client->fsid); in ceph_vxattrcb_cluster_fsid()
323 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); in ceph_vxattrcb_client_id() local
326 ceph_client_gid(fsc->client)); in ceph_vxattrcb_client_id()
1110 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); in ceph_sync_setxattr() local
[all …]
H A Dsuper.h55 #define ceph_set_mount_opt(fsc, opt) \ argument
56 (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt
57 #define ceph_clear_mount_opt(fsc, opt) \ argument
58 (fsc)->mount_options->flags &= ~CEPH_MOUNT_OPT_##opt
59 #define ceph_test_mount_opt(fsc, opt) \ argument
60 (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
1188 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_inode_is_shutdown() local
1189 int state = READ_ONCE(fsc->mount_state); in ceph_inode_is_shutdown()
1513 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
H A Dcrypto.h95 void ceph_fscrypt_free_dummy_policy(struct ceph_fs_client *fsc);
171 static inline void ceph_fscrypt_free_dummy_policy(struct ceph_fs_client *fsc) in ceph_fscrypt_free_dummy_policy() argument
H A Dinode.c181 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_inode()
614 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); in ceph_alloc_inode() local
622 doutc(fsc->client, "%p\n", &ci->netfs.inode); in ceph_alloc_inode()
980 struct ceph_client *cl = mdsc->fsc->client; in decode_encrypted_symlink()
1020 struct ceph_client *cl = mdsc->fsc->client; in ceph_fill_inode()
1599 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); in ceph_fill_trace() local
1600 struct ceph_client *cl = fsc->client; in ceph_fill_trace()
1744 fsc->mount_options->snapdir_name, in ceph_fill_trace()
1909 struct ceph_client *cl = session->s_mdsc->fsc->client; in readdir_prepopulate_inodes_only()
2008 struct ceph_client *cl = session->s_mdsc->fsc->client; in ceph_readdir_prepopulate()
[all …]
H A Dioctl.c254 struct ceph_client *cl = mdsc->fsc->client; in ceph_ioctl_lazyio()
375 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_ioctl() local
378 doutc(fsc->client, "file %p %p %llx.%llx cmd %s arg %lu\n", file, in ceph_ioctl()
/linux/include/trace/events/
H A Dceph.h242 __entry->client_id = mdsc->fsc->client->monc.auth ?
243 mdsc->fsc->client->monc.auth->global_id : 0;
258 __entry->client_id = mdsc->fsc->client->monc.auth ?
259 mdsc->fsc->client->monc.auth->global_id : 0;
273 __entry->client_id = mdsc->fsc->client->monc.auth ?
274 mdsc->fsc->client->monc.auth->global_id : 0;
289 __entry->client_id = mdsc->fsc->client->monc.auth ?
290 mdsc->fsc->client->monc.auth->global_id : 0;
/linux/tools/testing/selftests/kvm/arm64/
H A Dat.c28 u64 par, fsc; \
38 fsc = FIELD_GET(SYS_PAR_EL1_FST, par); \
44 __GUEST_ASSERT(fsc == ESR_ELx_FSC_ACCESS_L(3), \
/linux/drivers/iio/dac/
H A Dad9739a.c203 unsigned int i = 0, lock, fsc; in ad9739a_init() local
274 ret = device_property_read_u32(dev, "adi,full-scale-microamp", &fsc); in ad9739a_init()
279 if (!in_range(fsc, AD9739A_FSC_MIN, AD9739A_FSC_RANGE)) in ad9739a_init()
282 fsc, AD9739A_FSC_MIN, AD9739A_FSC_MAX); in ad9739a_init()
289 fsc_raw = DIV_ROUND_CLOSEST(fsc * 10 - 85800, 226); in ad9739a_init()
/linux/arch/arm64/kvm/hyp/include/hyp/
H A Dfault.h17 u64 fsc = esr & ESR_ELx_FSC; in __fault_safe_to_translate() local
22 return !(fsc == ESR_ELx_FSC_EXTABT && (esr & ESR_ELx_FnV)); in __fault_safe_to_translate()
/linux/arch/arm64/kvm/
H A Dinject_fault.c109 u64 esr = 0, fsc; in inject_abt64() local
129 fsc = ESR_ELx_FSC_SEA_TTW(level); in inject_abt64()
131 fsc = ESR_ELx_FSC_EXTABT; in inject_abt64()
158 esr |= fsc; in inject_abt64()
/linux/net/sched/
H 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()
930 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_change_class() local
949 fsc = nla_data(tb[TCA_HFSC_FSC]); in hfsc_change_class()
950 if (fsc->m1 == 0 && fsc->m2 == 0) in hfsc_change_class()
951 fsc = NULL; in hfsc_change_class()
988 if (fsc != NULL) in hfsc_change_class()
989 hfsc_change_fsc(cl, fsc); in hfsc_change_class()
1034 if (rsc == NULL && fsc == NULL) in hfsc_change_class()
1061 if (fsc != NULL) in hfsc_change_class()
[all …]
/linux/drivers/scsi/esas2r/
H 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()

12