• 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

101 nlmsvc_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)
112 struct nlm_res *resp)
118 resp->cookie = argp->cookie;
122 resp->status = nlm_lck_denied_grace_period;
127 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
128 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
131 resp->status = cast_status(nlmsvc_testlock(rqstp, file, &argp->lock, &resp->lock, &resp->cookie));
132 if (resp->status == nlm_drop_reply)
136 ntohl(resp->status), rqstp->rq_vers);
144 struct nlm_res *resp)
151 resp->cookie = argp->cookie;
155 resp->status = nlm_lck_denied_grace_period;
160 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
161 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
165 resp->status = cast_status(nlmsvc_lock(rqstp, file, &argp->lock,
167 if (resp->status == nlm_drop_reply)
170 dprintk("lockd: LOCK status %d\n", ntohl(resp->status));
178 struct nlm_res *resp)
185 resp->cookie = argp->cookie;
189 resp->status = nlm_lck_denied_grace_period;
194 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
195 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
198 resp->status = cast_status(nlmsvc_cancel_blocked(file, &argp->lock));
200 dprintk("lockd: CANCEL status %d\n", ntohl(resp->status));
211 struct nlm_res *resp)
218 resp->cookie = argp->cookie;
222 resp->status = nlm_lck_denied_grace_period;
227 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
228 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
231 resp->status = cast_status(nlmsvc_unlock(file, &argp->lock));
233 dprintk("lockd: UNLOCK status %d\n", ntohl(resp->status));
245 struct nlm_res *resp)
247 resp->cookie = argp->cookie;
250 resp->status = nlmclnt_grant(svc_addr_in(rqstp), &argp->lock);
251 dprintk("lockd: GRANTED status %d\n", ntohl(resp->status));
309 void *resp)
316 void *resp)
323 void *resp)
331 void *resp)
339 void *resp)
350 struct nlm_res *resp)
357 resp->cookie = argp->cookie;
361 resp->status = nlm_lck_denied_grace_period;
366 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
367 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
370 resp->status = cast_status(nlmsvc_share_file(host, file, argp));
372 dprintk("lockd: SHARE status %d\n", ntohl(resp->status));
383 struct nlm_res *resp)
390 resp->cookie = argp->cookie;
394 resp->status = nlm_lck_denied_grace_period;
399 if ((resp->status = nlmsvc_retrieve_args(rqstp, argp, &host, &file)))
400 return resp->status == nlm_drop_reply ? rpc_drop_reply :rpc_success;
403 resp->status = cast_status(nlmsvc_unshare_file(host, file, argp));
405 dprintk("lockd: UNSHARE status %d\n", ntohl(resp->status));
416 struct nlm_res *resp)
421 return nlmsvc_proc_lock(rqstp, argp, resp);
429 void *resp)
447 void *resp)
477 void *resp)