Lines Matching refs:resp
188 nlm4_encode_testres(u32 *p, struct nlm_res *resp) in nlm4_encode_testres() argument
192 dprintk("xdr: before encode_testres (p %p resp %p)\n", p, resp); in nlm4_encode_testres()
193 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4_encode_testres()
195 *p++ = resp->status; in nlm4_encode_testres()
197 if (resp->status == nlm_lck_denied) { in nlm4_encode_testres()
198 struct file_lock *fl = &resp->lock.fl; in nlm4_encode_testres()
204 if (!(p = xdr_encode_netobj(p, &resp->lock.oh))) in nlm4_encode_testres()
216 resp->status, fl->fl_pid, fl->fl_type, in nlm4_encode_testres()
220 dprintk("xdr: after encode_testres (p %p resp %p)\n", p, resp); in nlm4_encode_testres()
266 nlm4svc_encode_testres(struct svc_rqst *rqstp, u32 *p, struct nlm_res *resp) in nlm4svc_encode_testres() argument
268 if (!(p = nlm4_encode_testres(p, resp))) in nlm4svc_encode_testres()
340 nlm4svc_encode_shareres(struct svc_rqst *rqstp, u32 *p, struct nlm_res *resp) in nlm4svc_encode_shareres() argument
342 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4svc_encode_shareres()
344 *p++ = resp->status; in nlm4svc_encode_shareres()
350 nlm4svc_encode_res(struct svc_rqst *rqstp, u32 *p, struct nlm_res *resp) in nlm4svc_encode_res() argument
352 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4svc_encode_res()
354 *p++ = resp->status; in nlm4svc_encode_res()
382 nlm4svc_decode_res(struct svc_rqst *rqstp, u32 *p, struct nlm_res *resp) in nlm4svc_decode_res() argument
384 if (!(p = nlm4_decode_cookie(p, &resp->cookie))) in nlm4svc_decode_res()
386 resp->status = ntohl(*p++); in nlm4svc_decode_res()
433 nlm4clt_decode_testres(struct rpc_rqst *req, u32 *p, struct nlm_res *resp) in nlm4clt_decode_testres() argument
435 if (!(p = nlm4_decode_cookie(p, &resp->cookie))) in nlm4clt_decode_testres()
437 resp->status = ntohl(*p++); in nlm4clt_decode_testres()
438 if (resp->status == NLM_LCK_DENIED) { in nlm4clt_decode_testres()
439 struct file_lock *fl = &resp->lock.fl; in nlm4clt_decode_testres()
443 memset(&resp->lock, 0, sizeof(resp->lock)); in nlm4clt_decode_testres()
447 if (!(p = nlm4_decode_oh(p, &resp->lock.oh))) in nlm4clt_decode_testres()
512 nlm4clt_encode_res(struct rpc_rqst *req, u32 *p, struct nlm_res *resp) in nlm4clt_encode_res() argument
514 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4clt_encode_res()
516 *p++ = resp->status; in nlm4clt_encode_res()
522 nlm4clt_encode_testres(struct rpc_rqst *req, u32 *p, struct nlm_res *resp) in nlm4clt_encode_testres() argument
524 if (!(p = nlm4_encode_testres(p, resp))) in nlm4clt_encode_testres()
531 nlm4clt_decode_res(struct rpc_rqst *req, u32 *p, struct nlm_res *resp) in nlm4clt_decode_res() argument
533 if (!(p = nlm4_decode_cookie(p, &resp->cookie))) in nlm4clt_decode_res()
535 resp->status = ntohl(*p++); in nlm4clt_decode_res()