Lines Matching refs:resp

95 nlmsvc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)  in nlmsvc_proc_null()  argument
106 struct nlm_res *resp) in nlmsvc_proc_test() argument
113 resp->cookie = argp->cookie; in nlmsvc_proc_test()
116 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_test()
117 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlmsvc_proc_test()
120resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->coo… in nlmsvc_proc_test()
121 if (resp->status == nlm_drop_reply) in nlmsvc_proc_test()
125 ntohl(resp->status), rqstp->rq_vers); in nlmsvc_proc_test()
134 struct nlm_res *resp) in nlmsvc_proc_lock() argument
142 resp->cookie = argp->cookie; in nlmsvc_proc_lock()
145 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_lock()
146 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlmsvc_proc_lock()
156 resp->status = nlm_lck_denied_nolocks; in nlmsvc_proc_lock()
161 resp->status = cast_status(nlmsvc_lock(rqstp, file, host, &argp->lock, in nlmsvc_proc_lock()
164 if (resp->status == nlm_drop_reply) in nlmsvc_proc_lock()
167 dprintk("lockd: LOCK status %d\n", ntohl(resp->status)); in nlmsvc_proc_lock()
176 struct nlm_res *resp) in nlmsvc_proc_cancel() argument
184 resp->cookie = argp->cookie; in nlmsvc_proc_cancel()
188 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_cancel()
193 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_cancel()
194 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlmsvc_proc_cancel()
197 resp->status = cast_status(nlmsvc_cancel_blocked(net, file, &argp->lock)); in nlmsvc_proc_cancel()
199 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status)); in nlmsvc_proc_cancel()
210 struct nlm_res *resp) in nlmsvc_proc_unlock() argument
218 resp->cookie = argp->cookie; in nlmsvc_proc_unlock()
222 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_unlock()
227 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_unlock()
228 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlmsvc_proc_unlock()
231 resp->status = cast_status(nlmsvc_unlock(net, file, &argp->lock)); in nlmsvc_proc_unlock()
233 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status)); in nlmsvc_proc_unlock()
245 struct nlm_res *resp) in nlmsvc_proc_granted() argument
247 resp->cookie = argp->cookie; in nlmsvc_proc_granted()
250 resp->status = nlmclnt_grant(svc_addr(rqstp), &argp->lock); in nlmsvc_proc_granted()
251 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status)); in nlmsvc_proc_granted()
318 void *resp) in nlmsvc_proc_test_msg() argument
325 void *resp) in nlmsvc_proc_lock_msg() argument
332 void *resp) in nlmsvc_proc_cancel_msg() argument
340 void *resp) in nlmsvc_proc_unlock_msg() argument
348 void *resp) in nlmsvc_proc_granted_msg() argument
359 struct nlm_res *resp) in nlmsvc_proc_share() argument
366 resp->cookie = argp->cookie; in nlmsvc_proc_share()
370 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_share()
375 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_share()
376 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlmsvc_proc_share()
379 resp->status = cast_status(nlmsvc_share_file(host, file, argp)); in nlmsvc_proc_share()
381 dprintk("lockd: SHARE status %d\n", ntohl(resp->status)); in nlmsvc_proc_share()
392 struct nlm_res *resp) in nlmsvc_proc_unshare() argument
399 resp->cookie = argp->cookie; in nlmsvc_proc_unshare()
403 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_unshare()
408 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_unshare()
409 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success; in nlmsvc_proc_unshare()
412 resp->status = cast_status(nlmsvc_unshare_file(host, file, argp)); in nlmsvc_proc_unshare()
414 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status)); in nlmsvc_proc_unshare()
425 struct nlm_res *resp) in nlmsvc_proc_nm_lock() argument
430 return nlmsvc_proc_lock(rqstp, argp, resp); in nlmsvc_proc_nm_lock()
438 void *resp) in nlmsvc_proc_free_all() argument
456 void *resp) in nlmsvc_proc_sm_notify() argument
476 void *resp) in nlmsvc_proc_granted_res() argument