Lines Matching refs:resp
110 nlmsvc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp) in nlmsvc_proc_null() argument
121 struct nlm_res *resp) in nlmsvc_proc_test() argument
127 resp->cookie = argp->cookie; in nlmsvc_proc_test()
131 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_test()
136 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_test()
140 resp->status = cast_status(nlmsvc_testlock(file, &argp->lock, &resp->lock)); in nlmsvc_proc_test()
143 ntohl(resp->status), rqstp->rq_vers); in nlmsvc_proc_test()
151 struct nlm_res *resp) in nlmsvc_proc_lock() argument
158 resp->cookie = argp->cookie; in nlmsvc_proc_lock()
162 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_lock()
167 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_lock()
178 resp->status = nlm_lck_denied_nolocks; in nlmsvc_proc_lock()
183 resp->status = cast_status(nlmsvc_lock(rqstp, file, &argp->lock, in nlmsvc_proc_lock()
186 dprintk("lockd: LOCK status %d\n", ntohl(resp->status)); in nlmsvc_proc_lock()
194 struct nlm_res *resp) in nlmsvc_proc_cancel() argument
201 resp->cookie = argp->cookie; in nlmsvc_proc_cancel()
205 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_cancel()
210 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_cancel()
214 resp->status = cast_status(nlmsvc_cancel_blocked(file, &argp->lock)); in nlmsvc_proc_cancel()
216 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status)); in nlmsvc_proc_cancel()
227 struct nlm_res *resp) in nlmsvc_proc_unlock() argument
234 resp->cookie = argp->cookie; in nlmsvc_proc_unlock()
238 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_unlock()
243 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_unlock()
247 resp->status = cast_status(nlmsvc_unlock(file, &argp->lock)); in nlmsvc_proc_unlock()
249 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status)); in nlmsvc_proc_unlock()
261 struct nlm_res *resp) in nlmsvc_proc_granted() argument
263 resp->cookie = argp->cookie; in nlmsvc_proc_granted()
266 resp->status = nlmclnt_grant(&argp->lock); in nlmsvc_proc_granted()
267 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status)); in nlmsvc_proc_granted()
278 void *resp) in nlmsvc_proc_test_msg() argument
294 void *resp) in nlmsvc_proc_lock_msg() argument
308 void *resp) in nlmsvc_proc_cancel_msg() argument
322 void *resp) in nlmsvc_proc_unlock_msg() argument
336 void *resp) in nlmsvc_proc_granted_msg() argument
353 struct nlm_res *resp) in nlmsvc_proc_share() argument
360 resp->cookie = argp->cookie; in nlmsvc_proc_share()
364 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_share()
369 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_share()
373 resp->status = cast_status(nlmsvc_share_file(host, file, argp)); in nlmsvc_proc_share()
375 dprintk("lockd: SHARE status %d\n", ntohl(resp->status)); in nlmsvc_proc_share()
386 struct nlm_res *resp) in nlmsvc_proc_unshare() argument
393 resp->cookie = argp->cookie; in nlmsvc_proc_unshare()
397 resp->status = nlm_lck_denied_grace_period; in nlmsvc_proc_unshare()
402 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file))) in nlmsvc_proc_unshare()
406 resp->status = cast_status(nlmsvc_unshare_file(host, file, argp)); in nlmsvc_proc_unshare()
408 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status)); in nlmsvc_proc_unshare()
419 struct nlm_res *resp) in nlmsvc_proc_nm_lock() argument
424 return nlmsvc_proc_lock(rqstp, argp, resp); in nlmsvc_proc_nm_lock()
432 void *resp) in nlmsvc_proc_free_all() argument
450 void *resp) in nlmsvc_proc_sm_notify() argument
495 void *resp) in nlmsvc_proc_granted_res() argument
510 nlmsvc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_res *resp) in nlmsvc_callback() argument
527 memcpy(&call->a_args, resp, sizeof(*resp)); in nlmsvc_callback()