• Home
  • Raw
  • Download

Lines Matching refs:resp

93 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp)  in __nlm4svc_proc_test()  argument
101 resp->cookie = argp->cookie; in __nlm4svc_proc_test()
104 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test()
105 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_test()
108 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test()
109 if (resp->status == nlm_drop_reply) in __nlm4svc_proc_test()
112 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in __nlm4svc_proc_test()
127 __nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_lock() argument
136 resp->cookie = argp->cookie; in __nlm4svc_proc_lock()
139 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_lock()
140 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_lock()
150 resp->status = nlm_lck_denied_nolocks; in __nlm4svc_proc_lock()
155 resp->status = nlmsvc_lock(rqstp, file, host, &argp->lock, in __nlm4svc_proc_lock()
158 if (resp->status == nlm_drop_reply) in __nlm4svc_proc_lock()
161 dprintk("lockd: LOCK status %d\n", ntohl(resp->status)); in __nlm4svc_proc_lock()
176 __nlm4svc_proc_cancel(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_cancel() argument
184 resp->cookie = argp->cookie; in __nlm4svc_proc_cancel()
188 resp->status = nlm_lck_denied_grace_period; in __nlm4svc_proc_cancel()
193 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_cancel()
194 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_cancel()
197 resp->status = nlmsvc_cancel_blocked(SVC_NET(rqstp), file, &argp->lock); in __nlm4svc_proc_cancel()
199 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status)); in __nlm4svc_proc_cancel()
216 __nlm4svc_proc_unlock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_unlock() argument
224 resp->cookie = argp->cookie; in __nlm4svc_proc_unlock()
228 resp->status = nlm_lck_denied_grace_period; in __nlm4svc_proc_unlock()
233 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_unlock()
234 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_unlock()
237 resp->status = nlmsvc_unlock(SVC_NET(rqstp), file, &argp->lock); in __nlm4svc_proc_unlock()
239 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status)); in __nlm4svc_proc_unlock()
257 __nlm4svc_proc_granted(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_granted() argument
261 resp->cookie = argp->cookie; in __nlm4svc_proc_granted()
264 resp->status = nlmclnt_grant(svc_addr(rqstp), &argp->lock); in __nlm4svc_proc_granted()
265 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status)); in __nlm4svc_proc_granted()
367 struct nlm_res *resp = rqstp->rq_resp; in nlm4svc_proc_share() local
373 resp->cookie = argp->cookie; in nlm4svc_proc_share()
377 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_share()
382 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_share()
383 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlm4svc_proc_share()
386 resp->status = nlmsvc_share_file(host, file, argp); in nlm4svc_proc_share()
388 dprintk("lockd: SHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_share()
402 struct nlm_res *resp = rqstp->rq_resp; in nlm4svc_proc_unshare() local
408 resp->cookie = argp->cookie; in nlm4svc_proc_unshare()
412 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_unshare()
417 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_unshare()
418 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlm4svc_proc_unshare()
421 resp->status = nlmsvc_unshare_file(host, file, argp); in nlm4svc_proc_unshare()
423 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_unshare()