Lines Matching full:mdsc

48 	struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb);  in ceph_set_ino_cb()  local
53 percpu_counter_inc(&mdsc->metric.total_inodes); in ceph_set_ino_cb()
180 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in ceph_get_inode() local
181 struct ceph_client *cl = mdsc->fsc->client; in ceph_get_inode()
736 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_evict_inode() local
743 percpu_counter_dec(&mdsc->metric.total_inodes); in ceph_evict_inode()
769 ceph_put_snapid_map(mdsc, ci->i_snapid_map); in ceph_evict_inode()
938 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, in decode_encrypted_symlink() argument
942 struct ceph_client *cl = mdsc->fsc->client; in decode_encrypted_symlink()
963 static int decode_encrypted_symlink(struct ceph_mds_client *mdsc, in decode_encrypted_symlink() argument
981 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_fill_inode() local
982 struct ceph_client *cl = mdsc->fsc->client; in ceph_fill_inode()
999 lockdep_assert_held(&mdsc->snap_rwsem); in ceph_fill_inode()
1029 new_cap = ceph_get_cap(mdsc, caps_reservation); in ceph_fill_inode()
1051 ci->i_snapid_map = ceph_get_snapid_map(mdsc, ceph_snap(inode)); in ceph_fill_inode()
1238 err = decode_encrypted_symlink(mdsc, iinfo->symlink, in ceph_fill_inode()
1339 __ceph_touch_fmode(ci, mdsc, cap_fmode); in ceph_fill_inode()
1368 ceph_put_cap(mdsc, new_cap); in ceph_fill_inode()
2534 struct ceph_mds_client *mdsc = ceph_sb_to_fs_client(inode->i_sb)->mdsc; in __ceph_setattr() local
2555 path = ceph_mdsc_build_path(mdsc, dentry, &path_info, 0); in __ceph_setattr()
2560 err = ceph_mds_check_access(mdsc, path, MAY_WRITE); in __ceph_setattr()
2579 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETATTR, in __ceph_setattr()
2593 if (!down_read_trylock(&mdsc->snap_rwsem)) { in __ceph_setattr()
2595 down_read(&mdsc->snap_rwsem); in __ceph_setattr()
2828 up_read(&mdsc->snap_rwsem); in __ceph_setattr()
2855 err = ceph_mdsc_do_request(mdsc, NULL, req); in __ceph_setattr()
2957 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr() local
2974 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_GETATTR, mode); in __ceph_do_getattr()
2982 err = ceph_mdsc_do_request(mdsc, NULL, req); in __ceph_do_getattr()
3005 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_do_getvxattr() local
3012 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_GETVXATTR, mode); in ceph_do_getvxattr()
3027 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_do_getvxattr()