• Home
  • Raw
  • Download

Lines Matching full:resp

76 __nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_res *resp)  in __nlm4svc_proc_test()  argument
84 resp->cookie = argp->cookie; in __nlm4svc_proc_test()
87 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_test()
88 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_test()
91 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in __nlm4svc_proc_test()
92 if (resp->status == nlm_drop_reply) in __nlm4svc_proc_test()
95 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status)); in __nlm4svc_proc_test()
109 __nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_lock() argument
118 resp->cookie = argp->cookie; in __nlm4svc_proc_lock()
121 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_lock()
122 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_lock()
132 resp->status = nlm_lck_denied_nolocks; in __nlm4svc_proc_lock()
137 resp->status = nlmsvc_lock(rqstp, file, host, &argp->lock, in __nlm4svc_proc_lock()
140 if (resp->status == nlm_drop_reply) in __nlm4svc_proc_lock()
143 dprintk("lockd: LOCK status %d\n", ntohl(resp->status)); in __nlm4svc_proc_lock()
157 __nlm4svc_proc_cancel(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_cancel() argument
165 resp->cookie = argp->cookie; in __nlm4svc_proc_cancel()
169 resp->status = nlm_lck_denied_grace_period; in __nlm4svc_proc_cancel()
174 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_cancel()
175 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_cancel()
178 resp->status = nlmsvc_cancel_blocked(SVC_NET(rqstp), file, &argp->lock); in __nlm4svc_proc_cancel()
180 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status)); in __nlm4svc_proc_cancel()
196 __nlm4svc_proc_unlock(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_unlock() argument
204 resp->cookie = argp->cookie; in __nlm4svc_proc_unlock()
208 resp->status = nlm_lck_denied_grace_period; in __nlm4svc_proc_unlock()
213 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in __nlm4svc_proc_unlock()
214 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in __nlm4svc_proc_unlock()
217 resp->status = nlmsvc_unlock(SVC_NET(rqstp), file, &argp->lock); in __nlm4svc_proc_unlock()
219 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status)); in __nlm4svc_proc_unlock()
236 __nlm4svc_proc_granted(struct svc_rqst *rqstp, struct nlm_res *resp) in __nlm4svc_proc_granted() argument
240 resp->cookie = argp->cookie; in __nlm4svc_proc_granted()
243 resp->status = nlmclnt_grant(svc_addr(rqstp), &argp->lock); in __nlm4svc_proc_granted()
244 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status)); in __nlm4svc_proc_granted()
346 struct nlm_res *resp = rqstp->rq_resp; in nlm4svc_proc_share() local
352 resp->cookie = argp->cookie; in nlm4svc_proc_share()
356 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_share()
361 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_share()
362 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlm4svc_proc_share()
365 resp->status = nlmsvc_share_file(host, file, argp); in nlm4svc_proc_share()
367 dprintk("lockd: SHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_share()
380 struct nlm_res *resp = rqstp->rq_resp; in nlm4svc_proc_unshare() local
386 resp->cookie = argp->cookie; in nlm4svc_proc_unshare()
390 resp->status = nlm_lck_denied_grace_period; in nlm4svc_proc_unshare()
395 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file))) in nlm4svc_proc_unshare()
396 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlm4svc_proc_unshare()
399 resp->status = nlmsvc_unshare_file(host, file, argp); in nlm4svc_proc_unshare()
401 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status)); in nlm4svc_proc_unshare()