Lines Matching refs:mdsc

23 static __le32 ceph_flags_sys2wire(struct ceph_mds_client *mdsc, u32 flags)  in ceph_flags_sys2wire()  argument
25 struct ceph_client *cl = mdsc->fsc->client; in ceph_flags_sys2wire()
182 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb); in prepare_open_request() local
190 req = ceph_mdsc_create_request(mdsc, op, want_auth); in prepare_open_request()
194 req->r_args.open.flags = ceph_flags_sys2wire(mdsc, flags); in prepare_open_request()
302 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb); in ceph_renew_caps() local
303 struct ceph_client *cl = mdsc->fsc->client; in ceph_renew_caps()
309 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_renew_caps()
345 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_renew_caps()
364 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_open() local
402 path = ceph_mdsc_build_path(mdsc, dentry, &pathlen, &pathbase, 0); in ceph_open()
407 err = ceph_mds_check_access(mdsc, path, mask); in ceph_open()
444 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
456 __ceph_touch_fmode(ci, mdsc, fmode); in ceph_open()
473 err = ceph_mdsc_do_request(mdsc, NULL, req); in ceph_open()
598 static void ceph_async_create_cb(struct ceph_mds_client *mdsc, in ceph_async_create_cb() argument
601 struct ceph_client *cl = mdsc->fsc->client; in ceph_async_create_cb()
619 char *path = ceph_mdsc_build_path(mdsc, req->r_dentry, &pathlen, in ceph_async_create_cb()
671 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb); in ceph_finish_async_create() local
672 struct ceph_client *cl = mdsc->fsc->client; in ceph_finish_async_create()
730 down_read(&mdsc->snap_rwsem); in ceph_finish_async_create()
733 up_read(&mdsc->snap_rwsem); in ceph_finish_async_create()
785 struct ceph_mds_client *mdsc = fsc->mdsc; in ceph_atomic_open() local
817 path = ceph_mdsc_build_path(mdsc, dn, &pathlen, &pathbase, 0); in ceph_atomic_open()
827 err = ceph_mds_check_access(mdsc, path, mask); in ceph_atomic_open()
916 err = ceph_mdsc_submit_request(mdsc, dir, req); in ceph_atomic_open()
942 err = ceph_mdsc_do_request(mdsc, (flags & O_CREAT) ? dir : NULL, req); in ceph_atomic_open()
1145 ceph_update_read_metrics(&fsc->mdsc->metric, in __ceph_sync_read()
1489 struct ceph_client_metric *metric = &fsc->mdsc->metric; in ceph_direct_read_write()
1877 ceph_update_read_metrics(&fsc->mdsc->metric, in ceph_sync_write()
2043 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency, in ceph_sync_write()
2922 ceph_update_copyfrom_metrics(&fsc->mdsc->metric, in ceph_do_objects_copy()