Lines Matching refs: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()
677 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_evict_inode() local
683 percpu_counter_dec(&mdsc->metric.total_inodes); in ceph_evict_inode()
708 ceph_put_snapid_map(mdsc, ci->i_snapid_map); in ceph_evict_inode()
920 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_fill_inode() local
937 lockdep_assert_held(&mdsc->snap_rwsem); in ceph_fill_inode()
966 new_cap = ceph_get_cap(mdsc, caps_reservation); in ceph_fill_inode()
988 ci->i_snapid_map = ceph_get_snapid_map(mdsc, ceph_snap(inode)); in ceph_fill_inode()
1270 __ceph_touch_fmode(ci, mdsc, cap_fmode); in ceph_fill_inode()
1299 ceph_put_cap(mdsc, new_cap); in ceph_fill_inode()
2430 struct ceph_mds_client *mdsc = ceph_sb_to_client(inode->i_sb)->mdsc; in __ceph_setattr() local
2447 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETATTR, in __ceph_setattr()
2461 if (!down_read_trylock(&mdsc->snap_rwsem)) { in __ceph_setattr()
2463 down_read(&mdsc->snap_rwsem); in __ceph_setattr()
2687 up_read(&mdsc->snap_rwsem); in __ceph_setattr()
2714 err = ceph_mdsc_do_request(mdsc, NULL, req); in __ceph_setattr()
2814 struct ceph_mds_client *mdsc = fsc->mdsc; in __ceph_do_getattr() local
2830 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_GETATTR, mode); in __ceph_do_getattr()
2838 err = ceph_mdsc_do_request(mdsc, NULL, req); in __ceph_do_getattr()
2860 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_do_getvxattr() local
2867 req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_GETVXATTR, mode); in ceph_do_getvxattr()
2882 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_do_getvxattr()