• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/lockd/

Lines Matching defs:rqstp

28 nlm4svc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp,
41 if (!(host = nlmsvc_lookup_host(rqstp, lock->caller, lock->len))
48 if ((error = nlm_lookup_file(rqstp, &file, &lock->fh)) != 0)
72 nlm4svc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)
82 nlm4svc_proc_test(struct svc_rqst *rqstp, struct nlm_args *argp,
98 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
102 resp->status = nlmsvc_testlock(rqstp, file, &argp->lock, &resp->lock, &resp->cookie);
113 nlm4svc_proc_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
130 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
135 resp->status = nlmsvc_lock(rqstp, file, &argp->lock,
147 nlm4svc_proc_cancel(struct svc_rqst *rqstp, struct nlm_args *argp,
164 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
180 nlm4svc_proc_unlock(struct svc_rqst *rqstp, struct nlm_args *argp,
197 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
214 nlm4svc_proc_granted(struct svc_rqst *rqstp, struct nlm_args *argp,
220 resp->status = nlmclnt_grant(svc_addr_in(rqstp), &argp->lock);
249 static __be32 nlm4svc_callback(struct svc_rqst *rqstp, u32 proc, struct nlm_args *argp,
256 host = nlmsvc_lookup_host(rqstp,
266 stat = func(rqstp, argp, &call->a_res);
278 static __be32 nlm4svc_proc_test_msg(struct svc_rqst *rqstp, struct nlm_args *argp,
282 return nlm4svc_callback(rqstp, NLMPROC_TEST_RES, argp, nlm4svc_proc_test);
285 static __be32 nlm4svc_proc_lock_msg(struct svc_rqst *rqstp, struct nlm_args *argp,
289 return nlm4svc_callback(rqstp, NLMPROC_LOCK_RES, argp, nlm4svc_proc_lock);
292 static __be32 nlm4svc_proc_cancel_msg(struct svc_rqst *rqstp, struct nlm_args *argp,
296 return nlm4svc_callback(rqstp, NLMPROC_CANCEL_RES, argp, nlm4svc_proc_cancel);
299 static __be32 nlm4svc_proc_unlock_msg(struct svc_rqst *rqstp, struct nlm_args *argp,
303 return nlm4svc_callback(rqstp, NLMPROC_UNLOCK_RES, argp, nlm4svc_proc_unlock);
306 static __be32 nlm4svc_proc_granted_msg(struct svc_rqst *rqstp, struct nlm_args *argp,
310 return nlm4svc_callback(rqstp, NLMPROC_GRANTED_RES, argp, nlm4svc_proc_granted);
317 nlm4svc_proc_share(struct svc_rqst *rqstp, struct nlm_args *argp,
334 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
350 nlm4svc_proc_unshare(struct svc_rqst *rqstp, struct nlm_args *argp,
367 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
383 nlm4svc_proc_nm_lock(struct svc_rqst *rqstp, struct nlm_args *argp,
389 return nlm4svc_proc_lock(rqstp, argp, resp);
396 nlm4svc_proc_free_all(struct svc_rqst *rqstp, struct nlm_args *argp,
402 if (nlm4svc_retrieve_args(rqstp, argp, &host, NULL))
414 nlm4svc_proc_sm_notify(struct svc_rqst *rqstp, struct nlm_reboot *argp,
419 memcpy(&saddr, svc_addr_in(rqstp), sizeof(saddr));
426 svc_print_addr(rqstp, buf, sizeof(buf)));
444 nlm4svc_proc_granted_res(struct svc_rqst *rqstp, struct nlm_res *argp,