Lines Matching refs:resp
83 nlm4svc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlm4svc_proc_null() argument
94 struct nlm_res *resp) in nlm4svc_proc_test() argument
100 resp->cookie = argp->cookie; in nlm4svc_proc_test()
104 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_test()
109 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_test()
113 resp->status = nlmsvc_testlock(file, &argp->lock, &resp->lock); in nlm4svc_proc_test()
115 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in nlm4svc_proc_test()
123 struct nlm_res *resp) in nlm4svc_proc_lock() argument
130 resp->cookie = argp->cookie; in nlm4svc_proc_lock()
134 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_lock()
139 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_lock()
150 resp->status = nlm_lck_denied_nolocks; in nlm4svc_proc_lock()
155 resp->status = nlmsvc_lock(rqstp, file, &argp->lock, in nlm4svc_proc_lock()
158 dprintk("lockd: LOCK status %d\n", ntohl(resp->status)); in nlm4svc_proc_lock()
166 struct nlm_res *resp) in nlm4svc_proc_cancel() argument
173 resp->cookie = argp->cookie; in nlm4svc_proc_cancel()
177 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_cancel()
182 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_cancel()
186 resp->status = nlmsvc_cancel_blocked(file, &argp->lock); in nlm4svc_proc_cancel()
188 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status)); in nlm4svc_proc_cancel()
199 struct nlm_res *resp) in nlm4svc_proc_unlock() argument
206 resp->cookie = argp->cookie; in nlm4svc_proc_unlock()
210 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_unlock()
215 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_unlock()
219 resp->status = nlmsvc_unlock(file, &argp->lock); in nlm4svc_proc_unlock()
221 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status)); in nlm4svc_proc_unlock()
233 struct nlm_res *resp) in nlm4svc_proc_granted() argument
235 resp->cookie = argp->cookie; in nlm4svc_proc_granted()
238 resp->status = nlmclnt_grant(&argp->lock); in nlm4svc_proc_granted()
239 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status)); in nlm4svc_proc_granted()
250 void *resp) in nlm4svc_proc_test_msg() argument
266 void *resp) in nlm4svc_proc_lock_msg() argument
280 void *resp) in nlm4svc_proc_cancel_msg() argument
294 void *resp) in nlm4svc_proc_unlock_msg() argument
308 void *resp) in nlm4svc_proc_granted_msg() argument
325 struct nlm_res *resp) in nlm4svc_proc_share() argument
332 resp->cookie = argp->cookie; in nlm4svc_proc_share()
336 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_share()
341 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_share()
345 resp->status = nlmsvc_share_file(host, file, argp); in nlm4svc_proc_share()
347 dprintk("lockd: SHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_share()
358 struct nlm_res *resp) in nlm4svc_proc_unshare() argument
365 resp->cookie = argp->cookie; in nlm4svc_proc_unshare()
369 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_unshare()
374 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_unshare()
378 resp->status = nlmsvc_unshare_file(host, file, argp); in nlm4svc_proc_unshare()
380 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_unshare()
391 struct nlm_res *resp) in nlm4svc_proc_nm_lock() argument
396 return nlm4svc_proc_lock(rqstp, argp, resp); in nlm4svc_proc_nm_lock()
404 void *resp) in nlm4svc_proc_free_all() argument
422 void *resp) in nlm4svc_proc_sm_notify() argument
467 void *resp) in nlm4svc_proc_granted_res() argument
484 nlm4svc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_res *resp) in nlm4svc_callback() argument
501 memcpy(&call->a_args, resp, sizeof(*resp)); in nlm4svc_callback()