Lines Matching defs:mdsc
23 static __le32 ceph_flags_sys2wire(struct ceph_mds_client *mdsc, u32 flags)
25 struct ceph_client *cl = mdsc->fsc->client;
182 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(sb);
190 req = ceph_mdsc_create_request(mdsc, op, want_auth);
194 req->r_args.open.flags = ceph_flags_sys2wire(mdsc, flags);
302 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb);
303 struct ceph_client *cl = mdsc->fsc->client;
309 __ceph_touch_fmode(ci, mdsc, fmode);
345 err = ceph_mdsc_do_request(mdsc, NULL, req);
364 struct ceph_mds_client *mdsc = fsc->mdsc;
413 __ceph_touch_fmode(ci, mdsc, fmode);
425 __ceph_touch_fmode(ci, mdsc, fmode);
442 err = ceph_mdsc_do_request(mdsc, NULL, req);
567 static void ceph_async_create_cb(struct ceph_mds_client *mdsc,
570 struct ceph_client *cl = mdsc->fsc->client;
588 char *path = ceph_mdsc_build_path(mdsc, req->r_dentry, &pathlen,
640 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(dir->i_sb);
641 struct ceph_client *cl = mdsc->fsc->client;
699 down_read(&mdsc->snap_rwsem);
702 up_read(&mdsc->snap_rwsem);
754 struct ceph_mds_client *mdsc = fsc->mdsc;
854 err = ceph_mdsc_submit_request(mdsc, dir, req);
880 err = ceph_mdsc_do_request(mdsc, (flags & O_CREAT) ? dir : NULL, req);
1083 ceph_update_read_metrics(&fsc->mdsc->metric,
1429 struct ceph_client_metric *metric = &fsc->mdsc->metric;
1816 ceph_update_read_metrics(&fsc->mdsc->metric,
1983 ceph_update_write_metrics(&fsc->mdsc->metric, req->r_start_latency,
2862 ceph_update_copyfrom_metrics(&fsc->mdsc->metric,