Lines Matching defs:mdsc

48 	struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb);
53 percpu_counter_inc(&mdsc->metric.total_inodes);
134 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb);
135 struct ceph_client *cl = mdsc->fsc->client;
689 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb);
696 percpu_counter_dec(&mdsc->metric.total_inodes);
721 ceph_put_snapid_map(mdsc, ci->i_snapid_map);
901 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc,
905 struct ceph_client *cl = mdsc->fsc->client;
926 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc,
944 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb);
945 struct ceph_client *cl = mdsc->fsc->client;
962 lockdep_assert_held(&mdsc->snap_rwsem);
992 new_cap = ceph_get_cap(mdsc, caps_reservation);
1014 ci->i_snapid_map = ceph_get_snapid_map(mdsc, ceph_snap(inode));
1201 err = decode_encrypted_symlink(mdsc, iinfo->symlink,
1302 __ceph_touch_fmode(ci, mdsc, cap_fmode);
1331 ceph_put_cap(mdsc, new_cap);
2471 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc;
2489 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETATTR,
2503 if (!down_read_trylock(&mdsc->snap_rwsem)) {
2505 down_read(&mdsc->snap_rwsem);
2744 up_read(&mdsc->snap_rwsem);
2771 err = ceph_mdsc_do_request(mdsc, NULL, req);
2873 struct ceph_mds_client *mdsc = fsc->mdsc;
2890 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_GETATTR, mode);
2898 err = ceph_mdsc_do_request(mdsc, NULL, req);
2921 struct ceph_mds_client *mdsc = fsc->mdsc;
2928 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_GETVXATTR, mode);
2943 err = ceph_mdsc_do_request(mdsc, NULL, req);