Lines Matching refs: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); in ceph_lock_message() local
80 struct ceph_client *cl = mdsc->fsc->client; in ceph_lock_message()
100 req = ceph_mdsc_create_request(mdsc, operation, USE_AUTH_MDS); in ceph_lock_message()
129 err = ceph_mdsc_submit_request(mdsc, inode, req); in ceph_lock_message()
131 err = ceph_mdsc_wait_request(mdsc, req, wait ? in ceph_lock_message()
159 static int ceph_lock_wait_for_completion(struct ceph_mds_client *mdsc, in ceph_lock_wait_for_completion() argument
162 struct ceph_client *cl = mdsc->fsc->client; in ceph_lock_wait_for_completion()
182 mutex_lock(&mdsc->mutex); in ceph_lock_wait_for_completion()
201 mutex_unlock(&mdsc->mutex); in ceph_lock_wait_for_completion()
205 intr_req = ceph_mdsc_create_request(mdsc, CEPH_MDS_OP_SETFILELOCK, in ceph_lock_wait_for_completion()
218 err = ceph_mdsc_do_request(mdsc, inode, intr_req); in ceph_lock_wait_for_completion()