| /linux/fs/xfs/scrub/ |
| H A D | fscounters.c | 155 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 D | debugfs.c | 60 struct ceph_fs_client *fsc = s->private; in mdsmap_show() local 63 if (!fsc->mdsc || !fsc->mdsc->mdsmap) in mdsmap_show() 65 mdsmap = fsc->mdsc->mdsmap; in mdsmap_show() 86 struct ceph_fs_client *fsc = s->private; in mdsc_show() local 87 struct ceph_mds_client *mdsc = fsc->mdsc; in mdsc_show() 181 struct ceph_fs_client *fsc = s->private; in metrics_file_show() local 182 struct ceph_client_metric *m = &fsc->mdsc->metric; in metrics_file_show() 205 struct ceph_fs_client *fsc = s->private; in metrics_latency_show() local 206 struct ceph_client_metric *cm = &fsc->mdsc->metric; in metrics_latency_show() 231 struct ceph_fs_client *fsc = s->private; in metrics_size_show() local [all …]
|
| H A D | super.c | 51 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 D | cache.c | 18 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 D | addr.c | 215 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() 263 ceph_subvolume_metrics_record_io(fsc->mdsc, ceph_inode(inode), in finish_netfs_read() 274 ceph_dec_osd_stopping_blocker(fsc->mdsc); in finish_netfs_read() 344 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_netfs_prepare_read() local 351 rreq->io_streams[0].sreq_max_len = umin(xlen, fsc->mount_options->rsize); in ceph_netfs_prepare_read() 360 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_netfs_issue_read() local 361 struct ceph_client *cl = fsc->client; in ceph_netfs_issue_read() [all …]
|
| H A D | mds_client.c | 458 struct ceph_client *cl = req->r_mdsc->fsc->client; in parse_reply_info_readdir() 618 struct ceph_client *cl = s->s_mdsc->fsc->client; in ceph_parse_deleg_inos() 795 struct ceph_client *cl = s->s_mdsc->fsc->client; in parse_reply_info() 883 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dentry->d_sb); in ceph_wait_on_conflict_unlink() local 884 struct ceph_client *cl = fsc->client; in ceph_wait_on_conflict_unlink() 896 hash_for_each_possible_rcu(fsc->async_unlink_conflict, di, in ceph_wait_on_conflict_unlink() 1011 struct ceph_client *cl = mdsc->fsc->client; in register_session() 1014 if (READ_ONCE(mdsc->fsc->mount_state) == CEPH_MOUNT_FENCE_IO) in register_session() 1048 ceph_con_init(&s->s_con, s, &mds_con_ops, &mdsc->fsc->client->msgr); in register_session() 1085 doutc(mdsc->fsc->client, "mds%d %p\n", s->s_mds, s); in __unregister_session() [all …]
|
| H A D | dir.c | 112 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 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, 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 D | quota.c | 44 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() 330 struct ceph_client *cl = mdsc->fsc->client; in check_quota_exceeded() 490 bool ceph_quota_update_statfs(struct ceph_fs_client *fsc, struct kstatfs *buf) in ceph_quota_update_statfs() argument 492 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_quota_update_statfs() 500 get_quota_realm(mdsc, d_inode(fsc->sb->s_root), QUOTA_GET_MAX_BYTES, in ceph_quota_update_statfs()
|
| H A D | export.c | 216 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() 450 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in __get_snap_name() local 465 strscpy(name, fsc->mount_options->snapdir_name, in __get_snap_name() 479 req = ceph_mdsc_create_request(fsc->mdsc, CEPH_MDS_OP_LSSNAP, in __get_snap_name() 504 err = ceph_mdsc_do_request(fsc->mdsc, NULL, req); in __get_snap_name() 543 doutc(fsc->client, "child dentry %p %p %llx.%llx err=%d\n", child, in __get_snap_name() [all …]
|
| H A D | snap.c | 141 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 D | file.c | 44 struct ceph_client *cl = mdsc->fsc->client; in ceph_flags_sys2wire() 322 struct ceph_client *cl = mdsc->fsc->client; in ceph_renew_caps() 381 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); in ceph_open() local 382 struct ceph_client *cl = fsc->client; in ceph_open() 383 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() 618 struct ceph_client *cl = mdsc->fsc->client; in ceph_async_create_cb() 687 struct ceph_client *cl = mdsc->fsc->client; in ceph_finish_async_create() 797 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(dir->i_sb); in ceph_atomic_open() local 798 struct ceph_client *cl = fsc->client; in ceph_atomic_open() 799 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() [all …]
|
| H A D | caps.c | 191 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 D | xattr.c | 60 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() 1109 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(inode->i_sb); in ceph_sync_setxattr() local [all …]
|
| H A D | super.h | 54 #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)) 1153 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_inode_is_shutdown() local 1154 int state = READ_ONCE(fsc->mount_state); in ceph_inode_is_shutdown() 1464 extern bool ceph_quota_update_statfs(struct ceph_fs_client *fsc,
|
| H A D | inode.c | 181 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() 979 struct ceph_client *cl = mdsc->fsc->client; in decode_encrypted_symlink() 1019 struct ceph_client *cl = mdsc->fsc->client; in ceph_fill_inode() 1598 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(sb); in ceph_fill_trace() local 1599 struct ceph_client *cl = fsc->client; in ceph_fill_trace() 1743 fsc->mount_options->snapdir_name, in ceph_fill_trace() 1907 struct ceph_client *cl = session->s_mdsc->fsc->client; in readdir_prepopulate_inodes_only() 2006 struct ceph_client *cl = session->s_mdsc->fsc->client; in ceph_readdir_prepopulate() [all …]
|
| H A D | crypto.h | 95 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 D | ioctl.c | 248 struct ceph_client *cl = mdsc->fsc->client; in ceph_ioctl_lazyio() 369 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_ioctl() local 372 doutc(fsc->client, "file %p %p %llx.%llx cmd %s arg %lu\n", file, in ceph_ioctl()
|
| H A D | mds_client.h | 447 struct ceph_fs_client *fsc; member 579 extern int ceph_mdsc_init(struct ceph_fs_client *fsc); 582 extern void ceph_mdsc_destroy(struct ceph_fs_client *fsc);
|
| /linux/fs/fuse/ |
| H A D | inode.c | 201 static int fuse_reconfigure(struct fs_context *fsc) in fuse_reconfigure() argument 203 struct super_block *sb = fsc->root->d_sb; in fuse_reconfigure() 206 if (fsc->sb_flags & SB_MANDLOCK) in fuse_reconfigure() 806 static int fuse_opt_fd(struct fs_context *fsc, struct file *file) in fuse_opt_fd() argument 808 struct fuse_fs_context *ctx = fsc->fs_private; in fuse_opt_fd() 811 return invalfc(fsc, "fd is not a fuse device"); in fuse_opt_fd() 816 if (file->f_cred->user_ns != fsc->user_ns) in fuse_opt_fd() 817 return invalfc(fsc, "wrong user namespace for fuse device"); in fuse_opt_fd() 825 static int fuse_parse_param(struct fs_context *fsc, struct fs_parameter *param) in fuse_parse_param() argument 828 struct fuse_fs_context *ctx = fsc->fs_private; in fuse_parse_param() [all …]
|
| /linux/tools/testing/selftests/kvm/arm64/ |
| H A D | at.c | 28 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 D | ad9739a.c | 204 unsigned int i = 0, lock, fsc; in ad9739a_init() local 275 ret = device_property_read_u32(dev, "adi,full-scale-microamp", &fsc); in ad9739a_init() 280 if (!in_range(fsc, AD9739A_FSC_MIN, AD9739A_FSC_RANGE)) in ad9739a_init() 283 fsc, AD9739A_FSC_MIN, AD9739A_FSC_MAX); in ad9739a_init() 290 fsc_raw = DIV_ROUND_CLOSEST(fsc * 10 - 85800, 226); in ad9739a_init()
|
| /linux/arch/arm64/kvm/hyp/include/hyp/ |
| H A D | fault.h | 17 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/net/sched/ |
| H A D | sch_hfsc.c | 881 hfsc_change_fsc(struct hfsc_class *cl, struct tc_service_curve *fsc) in hfsc_change_fsc() argument 883 sc2isc(fsc, &cl->cl_fsc); in hfsc_change_fsc() 921 struct tc_service_curve *rsc = NULL, *fsc = NULL, *usc = NULL; in hfsc_change_class() local 940 fsc = nla_data(tb[TCA_HFSC_FSC]); in hfsc_change_class() 941 if (fsc->m1 == 0 && fsc->m2 == 0) in hfsc_change_class() 942 fsc = NULL; in hfsc_change_class() 979 if (fsc != NULL) in hfsc_change_class() 980 hfsc_change_fsc(cl, fsc); in hfsc_change_class() 1025 if (rsc == NULL && fsc == NULL) in hfsc_change_class() 1052 if (fsc != NULL) in hfsc_change_class() [all …]
|
| /linux/drivers/scsi/esas2r/ |
| H A D | esas2r_flash.c | 851 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()
|