Lines Matching refs:mdsc
185 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in prepare_open_request() local
193 req = ceph_mdsc_create_request(mdsc, op, want_auth); in prepare_open_request()
284 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_renew_caps() local
290 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
325 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_renew_caps()
342 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() local
386 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
398 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
415 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_open()
515 static void ceph_async_create_cb(struct ceph_mds_client *mdsc, in ceph_async_create_cb() argument
581 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_finish_async_create() local
643 down_read(&mdsc->snap_rwsem); in ceph_finish_async_create()
646 up_read(&mdsc->snap_rwsem); in ceph_finish_async_create()
691 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() local
760 err = ceph_mdsc_submit_request(mdsc, dir, req); in ceph_atomic_open()
778 err = ceph_mdsc_do_request(mdsc, (flags & O_CREAT) ? dir : NULL, req); in ceph_atomic_open()
932 ceph_update_read_latency(&fsc->mdsc->metric, in ceph_sync_read()
1212 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write()
1507 ceph_update_write_latency(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()