Lines Matching defs:mdsc
14 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc,
79 struct ceph_mds_client *mdsc = ceph_sb_to_mdsc(inode->i_sb);
99 req = ceph_mdsc_create_request(mdsc, operation, USE_AUTH_MDS);
127 err = ceph_mdsc_submit_request(mdsc, inode, req);
129 err = ceph_mdsc_wait_request(mdsc, req, wait ?
157 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc,
180 mutex_lock(&mdsc->mutex);
199 mutex_unlock(&mdsc->mutex);
203 intr_req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETFILELOCK,
216 err = ceph_mdsc_do_request(mdsc, inode, intr_req);