• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/lockd/

Lines Matching refs:resp

72 nlm4svc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)
83 struct nlm_res *resp)
89 resp->cookie = argp->cookie;
93 resp->status = nlm_lck_denied_grace_period;
98 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
99 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
102 resp->status = nlmsvc_testlock(rqstp, file, &argp->lock, &resp->lock, &resp->cookie);
103 if (resp->status == nlm_drop_reply)
106 dprintk("lockd: TEST4 status %d\n", ntohl(resp->status));
114 struct nlm_res *resp)
121 resp->cookie = argp->cookie;
125 resp->status = nlm_lck_denied_grace_period;
130 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
131 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
135 resp->status = nlmsvc_lock(rqstp, file, &argp->lock,
137 if (resp->status == nlm_drop_reply)
140 dprintk("lockd: LOCK status %d\n", ntohl(resp->status));
148 struct nlm_res *resp)
155 resp->cookie = argp->cookie;
159 resp->status = nlm_lck_denied_grace_period;
164 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
165 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
168 resp->status = nlmsvc_cancel_blocked(file, &argp->lock);
170 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status));
181 struct nlm_res *resp)
188 resp->cookie = argp->cookie;
192 resp->status = nlm_lck_denied_grace_period;
197 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
198 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
201 resp->status = nlmsvc_unlock(file, &argp->lock);
203 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status));
215 struct nlm_res *resp)
217 resp->cookie = argp->cookie;
220 resp->status = nlmclnt_grant(svc_addr_in(rqstp), &argp->lock);
221 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status));
279 void *resp)
286 void *resp)
293 void *resp)
300 void *resp)
307 void *resp)
318 struct nlm_res *resp)
325 resp->cookie = argp->cookie;
329 resp->status = nlm_lck_denied_grace_period;
334 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
335 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
338 resp->status = nlmsvc_share_file(host, file, argp);
340 dprintk("lockd: SHARE status %d\n", ntohl(resp->status));
351 struct nlm_res *resp)
358 resp->cookie = argp->cookie;
362 resp->status = nlm_lck_denied_grace_period;
367 if ((resp->status = nlm4svc_retrieve_args(rqstp, argp, &host, &file)))
368 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
371 resp->status = nlmsvc_unshare_file(host, file, argp);
373 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status));
384 struct nlm_res *resp)
389 return nlm4svc_proc_lock(rqstp, argp, resp);
397 void *resp)
415 void *resp)
445 void *resp)